I'd like to set system property (not hadoop property) when running hadoop jobs. I found that it's not easy to setting system property. Even I set the property in shell
export HADOOP_OPTS="$HADOOP_OPTS:-Dproperty=value"
It's still not working. The "-D" option of hadoop command line is only for Configuration, not system property. So the "-D" option also not working
Anyone has ideas ? thanks
ToolRunner
orGenericOptionsParser
at all? – Mauretania