<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Flume Authentication credentials are missing in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Flume-Authentication-credentials-are-missing/m-p/48977#M49646</link>
    <description>TwitterAgent.sources.Twitter.consumerkey = XXX&lt;BR /&gt;&lt;BR /&gt;should be&lt;BR /&gt;&lt;BR /&gt;TwitterAgent.sources.Twitter.consumerKey = XXX&lt;BR /&gt;</description>
    <pubDate>Tue, 03 Jan 2017 06:58:43 GMT</pubDate>
    <dc:creator>mbigelow</dc:creator>
    <dc:date>2017-01-03T06:58:43Z</dc:date>
    <item>
      <title>Flume Authentication credentials are missing</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Flume-Authentication-credentials-are-missing/m-p/48972#M49643</link>
      <description>&lt;P&gt;I am trying to fetch twitter data into Hdfs and &amp;nbsp;i have set all the required credentials and attached is the error log, which i am getting while running flume-agent and attached is the is my conf file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate if someone could be help me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR lifecycle.LifecycleSupervisor: Unable to start EventDrivenSourceRunner: { source:com.cloudera.flume.source.TwitterSource{name:Twitter,state:IDLE} } - Exception follows.&lt;BR /&gt;java.lang.IllegalStateException: Authentication credentials are missing. See &lt;A href="http://twitter4j.org/en/configuration.html" target="_blank"&gt;http://twitter4j.org/en/configuration.html&lt;/A&gt; for details&lt;BR /&gt;at twitter4j.TwitterBaseImpl.ensureAuthorizationEnabled(TwitterBaseImpl.java:215)&lt;BR /&gt;at twitter4j.TwitterStreamImpl.filter(TwitterStreamImpl.java:317)&lt;BR /&gt;at com.cloudera.flume.source.TwitterSource.start(TwitterSource.java:150)&lt;BR /&gt;at org.apache.flume.source.EventDrivenSourceRunner.start(EventDrivenSourceRunner.java:44)&lt;BR /&gt;at org.apache.flume.lifecycle.LifecycleSupervisor$MonitorRunnable.run(LifecycleSupervisor.java:251)&lt;BR /&gt;at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)&lt;BR /&gt;at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)&lt;BR /&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)&lt;BR /&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)&lt;BR /&gt;at java.lang.Thread.run(Thread.java:745)&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Flume.conf" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/2482i677EDBEA39AD4B24/image-size/large?v=v2&amp;amp;px=999" role="button" title="flume.conf.PNG" alt="Flume.conf" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Flume.conf&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:52:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Flume-Authentication-credentials-are-missing/m-p/48972#M49643</guid>
      <dc:creator>PentaReddy</dc:creator>
      <dc:date>2022-09-16T10:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Flume Authentication credentials are missing</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Flume-Authentication-credentials-are-missing/m-p/48973#M49644</link>
      <description>&lt;P&gt;It thinks the credentials are missing. &amp;nbsp;How did you set the OAuth consumer and token settings? &amp;nbsp;Please mask the actual values but share the files and/or method they are provided to Flume.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 06:31:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Flume-Authentication-credentials-are-missing/m-p/48973#M49644</guid>
      <dc:creator>mbigelow</dc:creator>
      <dc:date>2017-01-03T06:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Flume Authentication credentials are missing</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Flume-Authentication-credentials-are-missing/m-p/48975#M49645</link>
      <description>&lt;P&gt;I have logged into the twitter app and registered my app and through that i got the Oauth keys and i have placed them in the config file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below is the conf file and i have removed my keys and replaced it as 'XXX' (masking it).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TwitterAgent.sources = Twitter&lt;BR /&gt;TwitterAgent.sinks = HDFS&lt;BR /&gt;TwitterAgent.channels = MemChannel&lt;BR /&gt;TwitterAgent.sources.Twitter.type = com.cloudera.flume.source.TwitterSource&lt;BR /&gt;TwitterAgent.sources.Twitter.channels = MemChannel&lt;BR /&gt;TwitterAgent.sources.Twitter.consumerkey = XXX&lt;BR /&gt;TwitterAgent.sources.Twitter.consumerSecret = XXX&lt;BR /&gt;TwitterAgent.sources.Twitter.accessToken = XXX&lt;BR /&gt;TwitterAgent.sources.Twitter.accessTokenSecret = XXX&lt;BR /&gt;TwitterAgent.sources.Twitter.keywords = seattle&lt;BR /&gt;TwitterAgent.sinks.HDFS.channel = MemChannel&lt;BR /&gt;TwitterAgent.sinks.HDFS.type = hdfs&lt;BR /&gt;TwitterAgent.sinks.HDFS.hdfs.path = hdfs://localhost:8020/user/cloudera/tweets/&lt;BR /&gt;TwitterAgent.sinks.HDFS.hdfs.filetype = DataStream&lt;BR /&gt;TwitterAgent.sinks.HDFS.hdfs.writeFormat = Text&lt;BR /&gt;TwitterAgent.sinks.HDFS.hdfs.batchsize = 1000&lt;BR /&gt;TwitterAgent.sinks.HDFS.hdfs.rollSize = 0&lt;BR /&gt;TwitterAgent.sinks.HDFS.hdfs.rollCount = 10000&lt;BR /&gt;TwitterAgent.channels.MemChannel.type = memory&lt;BR /&gt;TwitterAgent.channels.MemChannel.capacity = 10000&lt;BR /&gt;TwitterAgent.channels.MemChannel.transactionalCapacity = 100&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 06:41:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Flume-Authentication-credentials-are-missing/m-p/48975#M49645</guid>
      <dc:creator>PentaReddy</dc:creator>
      <dc:date>2017-01-03T06:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Flume Authentication credentials are missing</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Flume-Authentication-credentials-are-missing/m-p/48977#M49646</link>
      <description>TwitterAgent.sources.Twitter.consumerkey = XXX&lt;BR /&gt;&lt;BR /&gt;should be&lt;BR /&gt;&lt;BR /&gt;TwitterAgent.sources.Twitter.consumerKey = XXX&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Jan 2017 06:58:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Flume-Authentication-credentials-are-missing/m-p/48977#M49646</guid>
      <dc:creator>mbigelow</dc:creator>
      <dc:date>2017-01-03T06:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Flume Authentication credentials are missing</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Flume-Authentication-credentials-are-missing/m-p/48978#M49647</link>
      <description>Is there any spelling mistake in it?</description>
      <pubDate>Tue, 03 Jan 2017 07:01:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Flume-Authentication-credentials-are-missing/m-p/48978#M49647</guid>
      <dc:creator>PentaReddy</dc:creator>
      <dc:date>2017-01-03T07:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Flume Authentication credentials are missing</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Flume-Authentication-credentials-are-missing/m-p/48979#M49648</link>
      <description>The 'K' needs to be capitalized.</description>
      <pubDate>Tue, 03 Jan 2017 07:03:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Flume-Authentication-credentials-are-missing/m-p/48979#M49648</guid>
      <dc:creator>mbigelow</dc:creator>
      <dc:date>2017-01-03T07:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Flume Authentication credentials are missing</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Flume-Authentication-credentials-are-missing/m-p/48980#M49649</link>
      <description>Ok let me fix and test it</description>
      <pubDate>Tue, 03 Jan 2017 07:05:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Flume-Authentication-credentials-are-missing/m-p/48980#M49649</guid>
      <dc:creator>PentaReddy</dc:creator>
      <dc:date>2017-01-03T07:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Flume Authentication credentials are missing</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Flume-Authentication-credentials-are-missing/m-p/60512#M49650</link>
      <description>&lt;P&gt;Hi Penta,&lt;/P&gt;&lt;P&gt;Did it work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually Im facing the same issue and this is what I have used:&lt;/P&gt;&lt;P&gt;a1.sources.Twitter.consumerKey=XXX&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;a1.sources.Twitter.consumerSecret=XXX&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;a1.sources.Twitter.accessToken=XXX&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;a1.sources.Twitter.a&lt;/SPAN&gt;ccessTokenSecret=XXX&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to run the flume agent in cloudera VM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advice if you or anyone know the solution.&lt;/P&gt;&lt;P&gt;Appreciate your suggestions/help!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2017 01:58:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Flume-Authentication-credentials-are-missing/m-p/60512#M49650</guid>
      <dc:creator>SandyCT</dc:creator>
      <dc:date>2017-10-03T01:58:11Z</dc:date>
    </item>
  </channel>
</rss>

