<?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 Agent not working in AWS in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Flume-Agent-not-working-in-AWS/m-p/41517#M50511</link>
    <description>Your configuration is written for an agent named "tier1" but your agent is&lt;BR /&gt;instead starting with name "agent". Thereby it does not pick up any configs&lt;BR /&gt;cause the configs are for another agent.&lt;BR /&gt;&lt;BR /&gt;Are you using CM to manager Flume agents? You can specify per-agent names&lt;BR /&gt;in its CM -&amp;gt; Flume -&amp;gt; Configuration page if so, or alter the config of the&lt;BR /&gt;agent to use "agent" in place of "tier1".&lt;BR /&gt;&lt;BR /&gt;If you're not using CM, then please read:&lt;BR /&gt;&lt;A href="http://www.cloudera.com/documentation/enterprise/latest/topics/cdh_ig_flume_files.html#topic_12_8," target="_blank"&gt;http://www.cloudera.com/documentation/enterprise/latest/topics/cdh_ig_flume_files.html#topic_12_8,&lt;/A&gt;&lt;BR /&gt;i.e. edit the file /etc/default/flume-ng-agent to change the agent's name&lt;BR /&gt;(currently "agent") to match the config "tier1", or conversely edit the&lt;BR /&gt;configuration under /etc/flume-ng/conf/flume.conf to use the agent's name&lt;BR /&gt;"agent" in place of "tier1".&lt;BR /&gt;</description>
    <pubDate>Wed, 01 Jun 2016 09:31:19 GMT</pubDate>
    <dc:creator>Harsh J</dc:creator>
    <dc:date>2016-06-01T09:31:19Z</dc:date>
    <item>
      <title>Flume Agent not working in AWS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Flume-Agent-not-working-in-AWS/m-p/41516#M50510</link>
      <description>&lt;P&gt;Hi, Guys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm Trying to run flume in AWS, Because i want to populate log files in s3 Bucket so i config flume in AWS but while running it througing some error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="KL"&gt;&lt;DIV class="PD IF"&gt;&lt;DIV class="JL"&gt;&lt;DIV class="Mu SP"&gt;&lt;SPAN class="tL8wMe EMoHub"&gt;2016-06-01 14:23:58,675 (main) [DEBUG - org.apache.flume.conf.FlumeConfiguration.validateConfiguration(FlumeConfiguration.java:136)] Channels:channel1&lt;BR /&gt;2016-06-01 14:23:58,675 (main) [DEBUG - org.apache.flume.conf.FlumeConfiguration.validateConfiguration(FlumeConfiguration.java:137)] Sinks sink1&lt;BR /&gt;2016-06-01 14:23:58,675 (main) [DEBUG - org.apache.flume.conf.FlumeConfiguration.validateConfiguration(FlumeConfiguration.java:138)] Sources source1&lt;BR /&gt;2016-06-01 14:23:58,675 (main) [INFO - org.apache.flume.conf.FlumeConfiguration.validateConfiguration(FlumeConfiguration.java:141)] Post-validation flume configuration contains configuration for agents: [tier1]&lt;BR /&gt;2016-06-01 14:23:58,677 (main) [WARN - org.apache.flume.node.AbstractConfigurationProvider.getConfiguration(AbstractConfigurationProvider.java:133)] No configuration found for this host:agent&lt;BR /&gt;2016-06-01 14:23:58,677 (main) [INFO - org.apache.flume.node.Application.startAllComponents(Application.java:138)] Starting new configuration:{ sourceRunners:{} sinkRunners:{} channels:{} }&lt;BR /&gt;2016-06-01 14:23:58,697 (agent-shutdown-hook) [INFO - org.apache.flume.lifecycle.LifecycleSupervisor.stop(LifecycleSupervisor.java:79)] Stopping lifecycle supervisor 10&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="ci"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="fkp8p"&gt;&amp;nbsp;If any one familiar of this Please Help&lt;/DIV&gt;&lt;DIV class="fkp8p"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="fkp8p"&gt;Thanks in advance&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:22:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Flume-Agent-not-working-in-AWS/m-p/41516#M50510</guid>
      <dc:creator>Tejaponnaluru</dc:creator>
      <dc:date>2022-09-16T10:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Flume Agent not working in AWS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Flume-Agent-not-working-in-AWS/m-p/41517#M50511</link>
      <description>Your configuration is written for an agent named "tier1" but your agent is&lt;BR /&gt;instead starting with name "agent". Thereby it does not pick up any configs&lt;BR /&gt;cause the configs are for another agent.&lt;BR /&gt;&lt;BR /&gt;Are you using CM to manager Flume agents? You can specify per-agent names&lt;BR /&gt;in its CM -&amp;gt; Flume -&amp;gt; Configuration page if so, or alter the config of the&lt;BR /&gt;agent to use "agent" in place of "tier1".&lt;BR /&gt;&lt;BR /&gt;If you're not using CM, then please read:&lt;BR /&gt;&lt;A href="http://www.cloudera.com/documentation/enterprise/latest/topics/cdh_ig_flume_files.html#topic_12_8," target="_blank"&gt;http://www.cloudera.com/documentation/enterprise/latest/topics/cdh_ig_flume_files.html#topic_12_8,&lt;/A&gt;&lt;BR /&gt;i.e. edit the file /etc/default/flume-ng-agent to change the agent's name&lt;BR /&gt;(currently "agent") to match the config "tier1", or conversely edit the&lt;BR /&gt;configuration under /etc/flume-ng/conf/flume.conf to use the agent's name&lt;BR /&gt;"agent" in place of "tier1".&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Jun 2016 09:31:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Flume-Agent-not-working-in-AWS/m-p/41517#M50511</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2016-06-01T09:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Flume Agent not working in AWS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Flume-Agent-not-working-in-AWS/m-p/41519#M50512</link>
      <description>Hi, Harsh&lt;BR /&gt;&lt;BR /&gt;Its working fine but i forgot to update. As per you said agent name is the problem in starting command now i changed it to tier1 so its working good.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for your reply.</description>
      <pubDate>Wed, 01 Jun 2016 10:55:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Flume-Agent-not-working-in-AWS/m-p/41519#M50512</guid>
      <dc:creator>Tejaponnaluru</dc:creator>
      <dc:date>2016-06-01T10:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Flume Agent not working in AWS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Flume-Agent-not-working-in-AWS/m-p/41572#M50513</link>
      <description>Hi, Harsh&lt;BR /&gt;&lt;BR /&gt;I configured flume on AWS to write in s3 bucket, while running flume agent it throwing some error&lt;BR /&gt;&lt;BR /&gt;My flume sink config:&lt;BR /&gt;&lt;BR /&gt;tier1.sinks.sink1.type = hdfs&lt;BR /&gt;tier1.sinks.sink1.channel = channel1&lt;BR /&gt;tier1.sinks.sink1.hdfs.path = s3n://ACCESS_KEY_ID:SECRET_ACCESS_KEY@bucketname/&lt;BR /&gt;tier1.sinks.sink1.hdfs.filePrefix = Flumedata&lt;BR /&gt;tier1.sinks.sink1.hdfs.fileType = DataStream&lt;BR /&gt;tier1.sinks.sink1.hdfs.writeFormat= Text&lt;BR /&gt;tier1.sinks.sink1.hdfs.batchSize = 100&lt;BR /&gt;tier1.sinks.sink1.hdfs.rollCount = 0&lt;BR /&gt;tier1.sinks.sink1.hdfs.rollSize = 73060835&lt;BR /&gt;tier1.sinks.sink1.hdfs.rollInterval = 0&lt;BR /&gt;#tier1.sinks.sink1.hdfs.idleTimeout = 180&lt;BR /&gt;#tier1.sinks.sink1.hdfs.closeTries = 0&lt;BR /&gt;&lt;BR /&gt;and error:&lt;BR /&gt;2016-06-01 18:17:53,737 (SinkRunner-PollingRunner-DefaultSinkProcessor) [ERROR - org.apache.flume.sink.hdfs.HDFSEventSink.process(HDFSEventSink.java:459)] process failed&lt;BR /&gt;java.lang.NoSuchMethodError: org.apache.http.impl.client.DefaultHttpClient.execute(Lorg/apache/http/client/methods/HttpUriRequest;)Lorg/apache/http/client/methods/CloseableHttpResponse;&lt;BR /&gt;at amazon.emr.metrics.ClientUtil.getInstanceId(ClientUtil.java:115)&lt;BR /&gt;at amazon.emr.metrics.MetricsConfig.getInstanceId(MetricsConfig.java:294)&lt;BR /&gt;at amazon.emr.metrics.MetricsConfig.&amp;lt;init&amp;gt;(MetricsConfig.java:195)&lt;BR /&gt;at amazon.emr.metrics.MetricsConfig.&amp;lt;init&amp;gt;(MetricsConfig.java:182)&lt;BR /&gt;at amazon.emr.metrics.MetricsConfig.&amp;lt;init&amp;gt;(MetricsConfig.java:177)&lt;BR /&gt;at amazon.emr.metrics.MetricsSaver.ensureSingleton(MetricsSaver.java:652)&lt;BR /&gt;at amazon.emr.metrics.MetricsSaver.addInternal(MetricsSaver.java:332)&lt;BR /&gt;at amazon.emr.metrics.MetricsSaver.addValue(MetricsSaver.java:178)&lt;BR /&gt;at org.apache.hadoop.hdfs.DFSOutputStream.newStreamForCreate(DFSOutputStream.java:1667)&lt;BR /&gt;at org.apache.hadoop.hdfs.DFSClient.create(DFSClient.java:1692)&lt;BR /&gt;at org.apache.hadoop.hdfs.DFSClient.create(DFSClient.java:1627)&lt;BR /&gt;at org.apache.hadoop.hdfs.DistributedFileSystem$7.doCall(DistributedFileSystem.java:448)&lt;BR /&gt;at org.apache.hadoop.hdfs.DistributedFileSystem$7.doCall(DistributedFileSystem.java:444)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)&lt;BR /&gt;at org.apache.hadoop.hdfs.DistributedFileSystem.create(DistributedFileSystem.java:444)&lt;BR /&gt;at org.apache.hadoop.hdfs.DistributedFileSystem.create(DistributedFileSystem.java:387)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:913)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:894)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:791)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:780)&lt;BR /&gt;at org.apache.flume.sink.hdfs.HDFSDataStream.doOpen(HDFSDataStream.java:86)&lt;BR /&gt;at org.apache.flume.sink.hdfs.HDFSDataStream.open(HDFSDataStream.java:113)&lt;BR /&gt;at org.apache.flume.sink.hdfs.BucketWriter$1.call(BucketWriter.java:246)&lt;BR /&gt;at org.apache.flume.sink.hdfs.BucketWriter$1.call(BucketWriter.java:235)&lt;BR /&gt;at org.apache.flume.sink.hdfs.BucketWriter$9$1.run(BucketWriter.java:679)&lt;BR /&gt;at org.apache.flume.auth.SimpleAuthenticator.execute(SimpleAuthenticator.java:50)&lt;BR /&gt;at org.apache.flume.sink.hdfs.BucketWriter$9.call(BucketWriter.java:676)&lt;BR /&gt;at java.util.concurrent.FutureTask.run(FutureTask.java:262)&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;BR /&gt;Exception in thread "SinkRunner-PollingRunner-DefaultSinkProcessor" java.lang.NoSuchMethodError: org.apache.http.impl.client.DefaultHttpClient.execute(Lorg/apache/http/client/methods/HttpUriRequest;)Lorg/apache/http/client/methods/CloseableHttpResponse;&lt;BR /&gt;at amazon.emr.metrics.ClientUtil.getInstanceId(ClientUtil.java:115)&lt;BR /&gt;at amazon.emr.metrics.MetricsConfig.getInstanceId(MetricsConfig.java:294)&lt;BR /&gt;at amazon.emr.metrics.MetricsConfig.&amp;lt;init&amp;gt;(MetricsConfig.java:195)&lt;BR /&gt;at amazon.emr.metrics.MetricsConfig.&amp;lt;init&amp;gt;(MetricsConfig.java:182)&lt;BR /&gt;at amazon.emr.metrics.MetricsConfig.&amp;lt;init&amp;gt;(MetricsConfig.java:177)&lt;BR /&gt;at amazon.emr.metrics.MetricsSaver.ensureSingleton(MetricsSaver.java:652)&lt;BR /&gt;at amazon.emr.metrics.MetricsSaver.addInternal(MetricsSaver.java:332)&lt;BR /&gt;at amazon.emr.metrics.MetricsSaver.addValue(MetricsSaver.java:178)&lt;BR /&gt;at org.apache.hadoop.hdfs.DFSOutputStream.newStreamForCreate(DFSOutputStream.java:1667)&lt;BR /&gt;at org.apache.hadoop.hdfs.DFSClient.create(DFSClient.java:1692)&lt;BR /&gt;at org.apache.hadoop.hdfs.DFSClient.create(DFSClient.java:1627)&lt;BR /&gt;at org.apache.hadoop.hdfs.DistributedFileSystem$7.doCall(DistributedFileSystem.java:448)&lt;BR /&gt;at org.apache.hadoop.hdfs.DistributedFileSystem$7.doCall(DistributedFileSystem.java:444)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)&lt;BR /&gt;at org.apache.hadoop.hdfs.DistributedFileSystem.create(DistributedFileSystem.java:444)&lt;BR /&gt;at org.apache.hadoop.hdfs.DistributedFileSystem.create(DistributedFileSystem.java:387)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:913)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:894)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:791)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:780)&lt;BR /&gt;at org.apache.flume.sink.hdfs.HDFSDataStream.doOpen(HDFSDataStream.java:86)&lt;BR /&gt;at org.apache.flume.sink.hdfs.HDFSDataStream.open(HDFSDataStream.java:113)&lt;BR /&gt;at org.apache.flume.sink.hdfs.BucketWriter$1.call(BucketWriter.java:246)&lt;BR /&gt;at org.apache.flume.sink.hdfs.BucketWriter$1.call(BucketWriter.java:235)&lt;BR /&gt;at org.apache.flume.sink.hdfs.BucketWriter$9$1.run(BucketWriter.java:679)&lt;BR /&gt;at org.apache.flume.auth.SimpleAuthenticator.execute(SimpleAuthenticator.java:50)&lt;BR /&gt;at org.apache.flume.sink.hdfs.BucketWriter$9.call(BucketWriter.java:676)&lt;BR /&gt;at java.util.concurrent.FutureTask.run(FutureTask.java:262)&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;BR /&gt;&lt;BR /&gt;please help if you are familiar with this.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance</description>
      <pubDate>Thu, 02 Jun 2016 06:01:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Flume-Agent-not-working-in-AWS/m-p/41572#M50513</guid>
      <dc:creator>Tejaponnaluru</dc:creator>
      <dc:date>2016-06-02T06:01:24Z</dc:date>
    </item>
  </channel>
</rss>

