I want to tail an hdfs file programmatically using the org.apache.hadoop.fs.FileSystem API.
Is there a way to tail the file using the API in a way which is equivalent to hadoop fs -tail -f command?
I want to tail an hdfs file programmatically using the org.apache.hadoop.fs.FileSystem API. Is there
Share
Maybe I misunderstand the question.
hadoop fs -tail -fis implemented using the API isn’t it?From
org.apache.hadoop.fs.FsShell.tail(String[], int)