<?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>topic HadoopConnect: How do I reset the HDFS input? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/HadoopConnect-How-do-I-reset-the-HDFS-input/m-p/89680#M18615</link>
    <description>&lt;P&gt;I have a folder in HDFS that has log files continuously being put into it. I decided to test the HadoopConnect app's import feature and created a test index to store data. Then, I added the folder to the input via the web interface on HadoopConnect. The data imports successfully, and new files are being indexed correctly too. &lt;/P&gt;

&lt;P&gt;I decide that I would like to use the app, and delete the test index and input. Then, I add the same input again. However, it seems that there is some persistency in the HDFS file monitoring because &lt;STRONG&gt;only new files are getting indexed&lt;/STRONG&gt;. The old ones aren't anymore. &lt;/P&gt;

&lt;P&gt;I'd like to know if there is a way to reset this persistent state? I tried deleting &lt;CODE&gt;$SPLUNK_HOME/var/lib/splunk/persistentstorage/fschangemanager_state&lt;/CODE&gt; because it seemed like a good candidate but to no avail. Please advise, thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jul 2013 18:55:19 GMT</pubDate>
    <dc:creator>jonahtang</dc:creator>
    <dc:date>2013-07-09T18:55:19Z</dc:date>
    <item>
      <title>HadoopConnect: How do I reset the HDFS input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/HadoopConnect-How-do-I-reset-the-HDFS-input/m-p/89680#M18615</link>
      <description>&lt;P&gt;I have a folder in HDFS that has log files continuously being put into it. I decided to test the HadoopConnect app's import feature and created a test index to store data. Then, I added the folder to the input via the web interface on HadoopConnect. The data imports successfully, and new files are being indexed correctly too. &lt;/P&gt;

&lt;P&gt;I decide that I would like to use the app, and delete the test index and input. Then, I add the same input again. However, it seems that there is some persistency in the HDFS file monitoring because &lt;STRONG&gt;only new files are getting indexed&lt;/STRONG&gt;. The old ones aren't anymore. &lt;/P&gt;

&lt;P&gt;I'd like to know if there is a way to reset this persistent state? I tried deleting &lt;CODE&gt;$SPLUNK_HOME/var/lib/splunk/persistentstorage/fschangemanager_state&lt;/CODE&gt; because it seemed like a good candidate but to no avail. Please advise, thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2013 18:55:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/HadoopConnect-How-do-I-reset-the-HDFS-input/m-p/89680#M18615</guid>
      <dc:creator>jonahtang</dc:creator>
      <dc:date>2013-07-09T18:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: HadoopConnect: How do I reset the HDFS input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/HadoopConnect-How-do-I-reset-the-HDFS-input/m-p/89681#M18616</link>
      <description>&lt;P&gt;Found it: The state data is in &lt;CODE&gt;$SPLUNK_HOME/var/lib/splunk/modinputs/hdfs&lt;/CODE&gt;. Deleting the file(s) in this seems to make splunk index everything again.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2013 21:22:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/HadoopConnect-How-do-I-reset-the-HDFS-input/m-p/89681#M18616</guid>
      <dc:creator>jonahtang</dc:creator>
      <dc:date>2013-07-09T21:22:43Z</dc:date>
    </item>
  </channel>
</rss>

