Cloudera Flume Jar to read Twitter stream data in Json format

Hi Team,
I am reading Twitter Stream data using Flume. Currently data is coming in Avro format and i need it in Json format.To get data in json format we need to change
TwitterAgent.sources.Twitter.type = org.apache.flume.source.twitter.TwitterSource
to
TwitterAgent.sources.Twitter.type = com.cloudera.flume.source.TwitterSource

Cloudera provides necessary jar to get data into Json format. We need to register jar.
Refer to below reference link :

Since i don’t have access to register jars. Request you to help me with it.

Refer to below Flume conf:
TwitterAgent.sources = Twitter
TwitterAgent.channels=MemChannel
TwitterAgent.sinks = HDFS

TwitterAgent.sources.Twitter.type = com.cloudera.flume.source.TwitterSource
TwitterAgent.sources.Twitter.consumerKey = XXXXXXX
TwitterAgent.sources.Twitter.consumerSecret = XXXXXXX
TwitterAgent.sources.Twitter.accessToken = XXXXXXX
TwitterAgent.sources.Twitter.accessTokenSecret = XXXXXXX
TwitterAgent.sources.Twitter.keywords = java, bigdata, mapreduce, mahout, hbase, nosql

TwitterAgent.sinks.HDFS.type= hdfs
TwitterAgent.sinks.HDFS.hdfs.path= hdfs://nn01.itversity.com:8020/user/nishikant/TwitterData/
TwitterAgent.sinks.HDFS.hdfs.fileType=DataStream
TwitterAgent.sinks.HDFS.hdfs.writeFormat=Text
TwitterAgent.sinks.HDFS.hdfs.batchSize=100
TwitterAgent.sinks.HDFS.hdfs.rollSize=10000000
TwitterAgent.sinks.HDFS.hdfs.rollCount=0
TwitterAgent.sinks.HDFS.hdfs.rollInterval=0

TwitterAgent.channels.MemChannel.type=memory
TwitterAgent.channels.MemChannel.capacity=1000
TwitterAgent.channels.MemChannel.transactionCapacity=1000

TwitterAgent.sources.Twitter.channels=MemChannel
TwitterAgent.sinks.HDFS.channel=MemChannel

hi Nishikant,

Itversity labs has now installed “flume-sources-1.0-SNAPSHOT.jar” which is at this location /usr/hdp/current/flume-server/lib.

so now you can run flume.conf file with TwitterAgent.sources.Twitter.type = com.cloudera.flume.source.TwitterSource as following.

Use the command as shown below:

flume-ng agent --conf /usr/hdp/current/flume-server/lib/flume-twitter-source-1.5.2.2.6.5.0-292.jar -f (your flume.conf file path) Dflume.root.logger=DEBUG,console -n TwitterAgent