I have a simple standard Java application that copies file from local file system to remote HDFS.
I was able to run the application successfully using yarn command. For e.g:
yarn jar test.jar copyFileApp
However, above command requires Hadoop to be installed locally, which I don't want. Is there any way I could run the app using native java. e.g:
java -cp test.jar copyFileApp
When I tried with native Java it's complaining that native Hadoop libraries are not found.
e.g.
14/09/23 16:36:11 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Is this possible?