secondary namenode not configured

Bug #1453826 reported by Kevin W Monroe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juju Charms Collection
Fix Released
Undecided
Juju Big Data Development

Bug Description

When restarting a hadoop cluster from the hdfs-master using /usr/lib/hadoop/sbin/[stop|start]-dfs.sh, the systems attempts to stop/start the secondary namenode process on the master. This is because we have no configuration set for the secondary, and it defaults to 0.0.0.0 (effectively localhost). We must set this on the hdfs-master's /etc/hadoop/conf/hdfs-site.xml:

<property>
 <name>dfs.secondary.http.address</name>
 <value>secondary-namenode-0:50090</value>
 <description>Enter your Secondary NameNode hostname.</description>
</property>

With this value set, the system will ssh to the secondary and stop/start the process there. This means we'll also need the hdfs-master to have password-less ssh access to the hdfs user on secondary-namenode-0 -- we already do this for datanodes, so we'll just need something similar for the secondary relation.

Changed in charms:
assignee: nobody → Juju Big Data Development (bigdata-dev)
Cory Johns (johnsca)
Changed in charms:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.