Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Alerts on new directory creation.

Alerts on new directory creation.

Explorer

Is it possible to set up alert when a new directory got created in HDFS?

2 REPLIES 2

Re: Alerts on new directory creation.

Master Guru
There are no inbuilt alert mechanisms but HDFS does offer an INotify publish method that you can build your notifier upon. Read up more at https://issues.apache.org/jira/browse/HDFS-6634 and check this test case to see how to use it: https://github.com/cloudera/hadoop-common/blob/cdh5.7.0-release/hadoop-hdfs-project/hadoop-hdfs/src/...

Re: Alerts on new directory creation.

Explorer

Thanks Harsh; i will explore this