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

Switch to Threaded View
MapReduce >> mail # user >> config ... answer for Visioner Sadak


Copy link to this message
-
config ... answer for Visioner Sadak
Sadak,

Sorry, could not answer your original e-mail as it was blocked.

Are you running SNN on a separate node?

If so, it needs to communicate with NN.

Add this property to your hdfs-site.xml
<property>
     <name>dfs.namenode.http-address</name>
     <value><host-name>:50070</value> <!-change it to 0.0.0.0:50070 if you are running EC2 -->
     <description>
         Needed for running SNN
         The address and the base port on which the dfs NameNode Web UI will listen.
         If the port is 0, the server will start on a free port.
     </description>
  </property>
Also, if you want to overwrite default directory for SNN to /home/hadoop/dfs/namesecondary
Then also add to the hdfs-site.xml of your SNN:
<property>
    <name>dfs.namenode.checkpoint.dir</name>
    <value>/home/hadoop/dfs/namesecondary</value>
</property>

Let us know how it went.

Rgds,
AK47
NOTICE: This e-mail message and any attachments are confidential, subject to copyright and may be privileged. Any unauthorized use, copying or disclosure is prohibited. If you are not the intended recipient, please delete and contact the sender immediately. Please consider the environment before printing this e-mail. AVIS : le présent courriel et toute pièce jointe qui l'accompagne sont confidentiels, protégés par le droit d'auteur et peuvent être couverts par le secret professionnel. Toute utilisation, copie ou divulgation non autorisée est interdite. Si vous n'êtes pas le destinataire prévu de ce courriel, supprimez-le et contactez immédiatement l'expéditeur. Veuillez penser à l'environnement avant d'imprimer le présent courriel