<?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: Send text file into HDFS using Flume in Cloudera in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Send-text-file-into-HDFS-using-Flume-in-Cloudera/m-p/83982#M85548</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/31060"&gt;@AlohaDecember&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yeah, flume-ng, It was some typo I guess on previous comment. Please check if there are any ERROR or suspicious messages&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, could you please check if your source spool directory is getting content to pass to flume&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Dec 2018 05:39:14 GMT</pubDate>
    <dc:creator>satz</dc:creator>
    <dc:date>2018-12-17T05:39:14Z</dc:date>
    <item>
      <title>Send text file into HDFS using Flume in Cloudera</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Send-text-file-into-HDFS-using-Flume-in-Cloudera/m-p/83926#M85545</link>
      <description>&lt;P&gt;Hi, I want to&amp;nbsp;use flume to send text file to hdfs, I changed Configuration File in Flume service in Cloudera Manager&amp;nbsp;as follows:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;# Sources, channels, and sinks are defined per
# agent name, in this case 'tier1'.
tier1.sources&amp;nbsp; = source1
tier1.channels = channel1
tier1.sinks&amp;nbsp;&amp;nbsp;&amp;nbsp; = sink1

# For each source, channel, and sink, set
# standard properties.
# source details
tier1.sources.source1.type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = spooldir
tier1.sources.source1.spoolDir = /data/diem
tier1.sources.source1.fileHeader = false
tier1.sources.source1.basenameHeader = true
tier1.sources.source1.fileSuffix&amp;nbsp; = .COMPLETED
tier1.sources.source1.thread = 4
tier1.sources.source1.interceptors = newint
tier1.sources.source1.interceptors.newint.type = timestamp
tier1.sources.source1.channels = channel1

# channel details
tier1.channels.channel1.type&amp;nbsp;&amp;nbsp; = file
tier1.channels.channel1.capacity = 10000
tier1.channels.channel1.transactionCapacity = 10000
tier1.channels.channel1.write-timeout = 60
tier1.channels.channel1.checkpointDir = /data
tier1.channels.channel1.dataDirs = /data

# sink details
tier1.sinks.sink1.type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = HDFS
tier1.sinks.sink1.fileType = DataStream
tier1.sinks.sink1.channel&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = channel1
tier1.sinks.sink1.hdfs.path = hdfs://localhost:8020/user/cloudera/flume/events
tier1.sinks.sink1.hdfs.writeFormat&amp;nbsp; = Text
tier1.sinks.sink1.hdfs.filePrefix = %{basename}
tier1.sinks.sink1.threadsPoolSize = 4
tier1.sinks.sink1.hdfs.idleTimeout = 60
tier1.sinks.sink1.hdfs.batchSize = 100000&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Then, I don't know how to start Flume in terminal to send file into HDFS, can someone help me? And can someone look at the configuration file and edit it for me if there are errors?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="m_6188190704026698885gmail_signature"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:59:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Send-text-file-into-HDFS-using-Flume-in-Cloudera/m-p/83926#M85545</guid>
      <dc:creator>AlohaDecember</dc:creator>
      <dc:date>2022-09-16T13:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Send text file into HDFS using Flume in Cloudera</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Send-text-file-into-HDFS-using-Flume-in-Cloudera/m-p/83928#M85546</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After saving the changes, you should have seen the icon to refresh cluster. Clicking this icon should do the steps to update the values.&amp;nbsp; The configuration looks good.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check the value of&amp;nbsp;&lt;SPAN&gt;CM &amp;gt; Flume &amp;gt; configuration &amp;gt; Agent&amp;nbsp; , this will tell whihc node the tier1 is configured to run on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can check the logs on that node to confirm if the sink1 got started or not. ( The logs are by default under /var/log/flume-nd). If you do not see the data in HDFS , please see the logs and you should see corresponding error message if ther is&amp;nbsp; any issue in writting to hdfs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Bimal&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 18:59:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Send-text-file-into-HDFS-using-Flume-in-Cloudera/m-p/83928#M85546</guid>
      <dc:creator>Bimalc</dc:creator>
      <dc:date>2018-12-14T18:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: Send text file into HDFS using Flume in Cloudera</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Send-text-file-into-HDFS-using-Flume-in-Cloudera/m-p/83929#M85547</link>
      <description>&lt;P&gt;You mean log in file flume.log in folder flume-ng? Because I don't see the flume-nd&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 19:45:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Send-text-file-into-HDFS-using-Flume-in-Cloudera/m-p/83929#M85547</guid>
      <dc:creator>AlohaDecember</dc:creator>
      <dc:date>2018-12-14T19:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Send text file into HDFS using Flume in Cloudera</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Send-text-file-into-HDFS-using-Flume-in-Cloudera/m-p/83982#M85548</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/31060"&gt;@AlohaDecember&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yeah, flume-ng, It was some typo I guess on previous comment. Please check if there are any ERROR or suspicious messages&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, could you please check if your source spool directory is getting content to pass to flume&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 05:39:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Send-text-file-into-HDFS-using-Flume-in-Cloudera/m-p/83982#M85548</guid>
      <dc:creator>satz</dc:creator>
      <dc:date>2018-12-17T05:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Send text file into HDFS using Flume in Cloudera</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Send-text-file-into-HDFS-using-Flume-in-Cloudera/m-p/84009#M85549</link>
      <description>&lt;P&gt;Thank you very much, I solved my problem&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 15:40:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Send-text-file-into-HDFS-using-Flume-in-Cloudera/m-p/84009#M85549</guid>
      <dc:creator>AlohaDecember</dc:creator>
      <dc:date>2018-12-17T15:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Send text file into HDFS using Flume in Cloudera</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Send-text-file-into-HDFS-using-Flume-in-Cloudera/m-p/84013#M85550</link>
      <description>&lt;P&gt;I'm happy to see you resolved your issue. Please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-12-17 at 12.14.06 PM.png" style="width: 331px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/5105i0E8A5085B9E9BC2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2018-12-17 at 12.14.06 PM.png" alt="Screen Shot 2018-12-17 at 12.14.06 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 17:16:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Send-text-file-into-HDFS-using-Flume-in-Cloudera/m-p/84013#M85550</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2018-12-17T17:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Send text file into HDFS using Flume in Cloudera</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Send-text-file-into-HDFS-using-Flume-in-Cloudera/m-p/84054#M85551</link>
      <description>&lt;P&gt;Yeah, I did, tks &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 08:49:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Send-text-file-into-HDFS-using-Flume-in-Cloudera/m-p/84054#M85551</guid>
      <dc:creator>AlohaDecember</dc:creator>
      <dc:date>2018-12-18T08:49:21Z</dc:date>
    </item>
  </channel>
</rss>

