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.

有帮助吗?

解决方案

Yes this is very much possible. Have a look at this link which shows you how to use the HDFS API

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top