hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xeonmailinglist <xeonmailingl...@gmail.com>
Subject Passing system properties to hadoop jar command
Date Tue, 22 Sep 2015 17:52:43 GMT
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 |

‚Äč

Mime
View raw message