You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by xeonmailinglist <xe...@gmail.com> on 2015/09/22 19:52:43 UTC
Passing system properties to hadoop jar command
Hi,
Is there a way to pass system properties to hadoop jar command?
My example is not working. |System.getProperty("file.path")| gives me
|null|:
|$ hadoop jar medusa-java.jar mywordcount
-Dfile.path=/home/xubuntu/Programs/medusa-2.0/temp/1442932326/job.attributes
/input1 /output1 |