<?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: What does UNLINK event mean in hdfs  inotify api? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-UNLINK-event-mean-in-hdfs-inotify-api/m-p/178224#M58393</link>
    <description>&lt;P&gt;Finally got it, the delete op in hdfs should correspond to the rename event, coz hdfs would move the removed files/dirs to the trash file first&lt;/P&gt;</description>
    <pubDate>Wed, 29 Mar 2017 13:19:21 GMT</pubDate>
    <dc:creator>xiaqinglinv5</dc:creator>
    <dc:date>2017-03-29T13:19:21Z</dc:date>
    <item>
      <title>What does UNLINK event mean in hdfs  inotify api?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-UNLINK-event-mean-in-hdfs-inotify-api/m-p/178221#M58390</link>
      <description>&lt;P&gt;Hi guys, I am working on writing a hdfs hook, yet I am not quite understand what does unlink event do, I found on this &lt;A href="https://www.slideshare.net/Hadoop_Summit/keep-me-in-the-loop-inotify-in-hdfs"&gt;presentation&lt;/A&gt; that the delete log would be captured as a unlink event, but when I run a &lt;/P&gt;&lt;PRE&gt;hadoop fs -rm /h.txt &lt;/PRE&gt;&lt;P&gt;command, the unlink event is not captured? So what kind of hdfs commands would capture this unlink event ? &lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 09:49:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-UNLINK-event-mean-in-hdfs-inotify-api/m-p/178221#M58390</guid>
      <dc:creator>xiaqinglinv5</dc:creator>
      <dc:date>2017-03-29T09:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: What does UNLINK event mean in hdfs  inotify api?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-UNLINK-event-mean-in-hdfs-inotify-api/m-p/178222#M58391</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13737/xiaqinglinv5.html" nodeid="13737"&gt;@Qinglin Xia&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You might be interested in the Nifi GetHDFSEvents processor. &lt;/P&gt;&lt;P&gt; &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.hadoop.inotify.GetHDFSEvents/" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.hadoop.inotify.GetHDFSEvents/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;. &lt;/P&gt;&lt;P&gt;I personally did not check the UNLINK event though but i see a good example to validate the same.  I try it you also might want to check the same in parallel: &lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/onefoursix/hdfs-inotify-example/blob/master/src/main/java/com/onefoursix/HdfsINotifyExample.java" target="_blank"&gt;https://github.com/onefoursix/hdfs-inotify-example/blob/master/src/main/java/com/onefoursix/HdfsINotifyExample.java&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 09:56:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-UNLINK-event-mean-in-hdfs-inotify-api/m-p/178222#M58391</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-03-29T09:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: What does UNLINK event mean in hdfs  inotify api?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-UNLINK-event-mean-in-hdfs-inotify-api/m-p/178223#M58392</link>
      <description>&lt;P&gt;Thanks I found those examples and run them already, but still not quite understand what unlink event do, also how the inotify works? Do you know any documentations explaining the inotify api? &lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 13:06:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-UNLINK-event-mean-in-hdfs-inotify-api/m-p/178223#M58392</guid>
      <dc:creator>xiaqinglinv5</dc:creator>
      <dc:date>2017-03-29T13:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: What does UNLINK event mean in hdfs  inotify api?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-UNLINK-event-mean-in-hdfs-inotify-api/m-p/178224#M58393</link>
      <description>&lt;P&gt;Finally got it, the delete op in hdfs should correspond to the rename event, coz hdfs would move the removed files/dirs to the trash file first&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 13:19:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-UNLINK-event-mean-in-hdfs-inotify-api/m-p/178224#M58393</guid>
      <dc:creator>xiaqinglinv5</dc:creator>
      <dc:date>2017-03-29T13:19:21Z</dc:date>
    </item>
  </channel>
</rss>

