You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Chen He (JIRA)" <ji...@apache.org> on 2016/03/17 00:59:33 UTC

[jira] [Created] (AMBARI-15451) Exception handling is needed when format namenode in hdfs_namenode.py

Chen He created AMBARI-15451:
--------------------------------

             Summary: Exception handling is needed when format namenode in hdfs_namenode.py
                 Key: AMBARI-15451
                 URL: https://issues.apache.org/jira/browse/AMBARI-15451
             Project: Ambari
          Issue Type: Bug
          Components: ambari-agent
            Reporter: Chen He


Using ambari to start service. Actually Ambari is using following python scripts to do the namenode format:
/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py

Only has: 
INFO 2016-03-17 00:42:16,207 PythonExecutor.py:114 - Command ['/usr/bin/python2.6',
 '/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py',
 'START',
 '/var/lib/ambari-agent/data/command-70.json',
 '/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package',
 '/var/lib/ambari-agent/data/structured-out-70.json',
 'INFO',
 '/var/lib/ambari-agent/tmp'] failed with exitcode=1

Dig deep figure out is is para.dfs_ha_enabled is not in good format. It should provide a little bit more information than just a "exitcode=1"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)