ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-13097) On non-hdfs clusters namenode fails to start
Date Tue, 15 Sep 2015 09:17:45 GMT
Andrew Onischuk created AMBARI-13097:
----------------------------------------

             Summary: On non-hdfs clusters namenode fails to start
                 Key: AMBARI-13097
                 URL: https://issues.apache.org/jira/browse/AMBARI-13097
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 2.1.2



    Traceback (most recent call last):
      File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py",
line 317, in <module>
        NameNode().execute()
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 227, in execute
        method(env)
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 481, in restart
        self.start(env)
      File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py",
line 82, in start
        namenode(action="start", rolling_restart=rolling_restart, env=env)
      File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in
thunk
        return fn(*args, **kwargs)
      File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py",
line 142, in namenode
        create_hdfs_directories(is_active_namenode_cmd)
      File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py",
line 210, in create_hdfs_directories
        only_if=check #skip creation when HA not active
      File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154,
in __init__
        self.env.run()
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line
152, in run
        self.run_action(resource, action)
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line
118, in run_action
        provider_action()
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py",
line 402, in action_execute
        self.get_hdfs_resource_executor().action_execute(self)
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py",
line 119, in action_execute
        logoutput=logoutput,
      File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154,
in __init__
        self.env.run()
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line
152, in run
        self.run_action(resource, action)
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line
118, in run_action
        provider_action()
      File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
line 258, in action_run
        tries=self.resource.tries, try_sleep=self.resource.try_sleep)
      File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70,
in inner
        result = function(command, **kwargs)
      File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92,
in checked_call
        tries=tries, try_sleep=try_sleep)
      File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140,
in _call_wrapper
        result = _call(command, **kwargs_copy)
      File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291,
in _call
        raise Fail(err_msg)
    resource_management.core.exceptions.Fail: Execution of 'hadoop --config /usr/hdp/current/hadoop-client/conf
jar /var/lib/ambari-agent/lib/fast-hdfs-resource.jar /var/lib/ambari-agent/data/hdfs_resources.json'
returned 1. WARNING: Use "yarn jar" to launch YARN applications.
    File /var/lib/ambari-agent/data/hdfs_resources.json doesn't exist.
    Exiting...
    





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

Mime
View raw message