In Eclipse, select Window → Preferences → Ant → Runtime → Classpath → Global Entries → Add External JARs and select the JSch JAR.Īdd a file build.xml to the root directory of your project and add: You will need the JAR for JSch JAR saved somewhere that makes you happy. Hdfs dfs -cat output-1/part-* | less Creating and Copying JAR AutomaticallyĮclipse needs to be set up to know how to do a SCP transfer. Yarn jar ~/WordCount.jar ca. wordcount-1 output-1 # with package name The Unix-ish command to do that is something like this (but see the Cluster instructions for more details): scp WordCount.jar then on the cluster login node, run the job as usual: yarn jar ~/WordCount.jar WordCount wordcount-1 output-1 # no package name
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |