Yes this is very much possible. Have a look at this link which shows you how to use the HDFS API
How to run a system command on a file in the HDFS?
Domanda
I have a set of files in my HDFS. I need to run a system command on all these files from java using the API. How do I do it without getting the files into the local filesystem? Is it even possible?
I am very new to Hadoop; Please explain the solutions in simple terms.
Thanks in advance.
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow