hadoop - Is there any possibility to get a notification when a certain file/ directory is deleted in HDFS? -
i want notification when file/ directory has been deleted in hdfs. possible generate kind of log file timestamp, affected file/ directory , on. need due traceability requirements.
is there script, software et cetera cover kind of task?
use hdfsadmin.getinotifyeventstream(...) open dfsinotifyeventinputstream. monitor events in stream event of type event.unlinkevent.
Comments
Post a Comment