Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> Start NN with dynamic property (option -D)

Copy link to this message
Start NN with dynamic property (option -D)

I'm trying to start a NN using the -Dproperty=value functionality.
I've modified hadoop-env.sh like this :
   export HADOOP_NAMENODE_OPTS= ... -Ddfs.namenode.http-address= ...

and I've launched the daemon with hadoop-hdfs-namenode script.

ps -efHww returns  ".../java -Dproc_namenode ... -Dhadoop.security.logger=INFO,RFAS -Ddfs.namenode.http-address= -Dhdfs.audit.logger=INFO,NullAppender ..."

But the property has always the same value : 50070 (default port).

Is "-D-substitution" working for this use case ?

Thanks, Guillaume