I am new to hadoop and have below question(s) on running hadoop jar command from edgeNode(http://www.dummies.com/programming/big-data/hadoop/edge-nodes-in-hadoop-clusters/).hadoop jar ${JAR_FILE} {CLASS_NAMEWithPackage}
. Have below Question(s)
- After running above command why the jar is extracted in Djava.io.tmpdir dir in edgeNode ? Every time I run this command I get a directory something like hadoop-unjar7637059002474165348 in temp dir,that has extracted jar.Is this expected? I was thinking hadoop jar submits whole jar to yarn but I could not understand why it is extracted in temp folder ?
- After extracting the jar in edge Node,does the program expected to remove the extracted jar directory.In this case hadoop-unjar7637059002474165348 ?
Thanks!