Many thanks, Wei-Chiu.

----- Mail original -----
De: "Wei-Chiu Chuang" <weic...@cloudera.com>
À: phi...@free.fr
Cc: user@hadoop.apache.org
Envoyé: Mercredi 15 Février 2023 16:50:44
Objet: Re: Monitoring HDFS filesystem changes


Use the inotify api 


https://dev-listener.medium.com/watch-for-changes-in-hdfs-800c6fb5481f 

https://github.com/onefoursix/hdfs-inotify-example/blob/master/src/main/java/com/onefoursix/HdfsINotifyExample.java
 





On Wed, Feb 15, 2023 at 1:12 AM < phi...@free.fr > wrote: 


Hello, 
is there an efficient way to monitoring the HDFS Filesystem for owner-right 
changes? 
For instance, let's say the /a/b/c/d HDFS Directory's owner is called user1. 
However, overnight, the owner changed for some unknown reason. 
How can I monitor the /a/b/c/d directory and determine what caused the owner to 
change? 
Many thanks. 
Best regards, 
Philippe 


--------------------------------------------------------------------- 
To unsubscribe, e-mail: user-unsubscr...@hadoop.apache.org 
For additional commands, e-mail: user-h...@hadoop.apache.org 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@hadoop.apache.org
For additional commands, e-mail: user-h...@hadoop.apache.org

Reply via email to