Many thanks, Wei-Chiu.

----- Mail original -----
De: "Wei-Chiu Chuang" <[email protected]>
À: [email protected]
Cc: [email protected]
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 < [email protected] > 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: [email protected] 
For additional commands, e-mail: [email protected] 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to