HDFS Java Client API - get INode from path and get path from INode

I am trying to track file movements, so if the file is moved, I see that it is moved. Right now, the only link to the file that I see through the standard API is a path that can change.

Is it possible to get the file INodeID from the java file system API and map the INodeID to the loop and vice versa?

If not, is there another API that allows this kind of access?

+5
source share

Source: https://habr.com/ru/post/1271553/


All Articles