Twiter4j in proxy not working

flume

#1

I m trying to use this flume command to ingest data from twitter but its not working it just hangs , doesn’t do anything or throw any errors . If I don’t use the proxy qualifiers then I get "connect timed out "
I even tried putting the proxy parameters in the twitter4j.properties file but no luck.

flume-ng agent --conf-file twitter-to-hdfs.properties --name agent1 --conf $FLUME_HOME/conf -Dflume.root.logger=WARN,console -Dtwitter4j.http.proxyHost=dotatofwproxy.tolls.dot.state.fl.us -Dtwitter4j.http.proxyPort=8080

I found this post on web but its also giving me new errors
http://stackoverflow.com/questions/26704206/how-to-fed-twitterdata-via-flume-to-hdfs-over-proxy

Exception in thread “Twitter4J Async Dispatcher[0]” java.lang.NoSuchMethodError: twitter4j.Status.getRetweetCount()J
at org.apache.flume.source.twitter.TwitterSource.extractRecord(TwitterSource.java:248)
at org.apache.flume.source.twitter.TwitterSource.onStatus(TwitterSource.java:157)
at twitter4j.StatusStreamImpl.onStatus(StatusStreamImpl.java:75)
at twitter4j.StatusStreamBase$1.run(StatusStreamBase.java:114)