Home Forums HDP 2.1 Technical Preview HBase Master can not Start

Tagged: 

This topic contains 0 replies, has 1 voice, and was last updated by  坤霖 李 1 month, 1 week ago.

  • Creator
    Topic
  • #57392

    坤霖 李
    Participant

    I have successful installed HDP 2.1 in Centos 6.5.I can start all service of HDP component but hbase-master.When I try to start the service I am getting the following error

      Traceback (most recent call last):
      File “/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HBASE/package/scripts/hbase_master.py”, line 71, in <module>
      HbaseMaster().execute()
      File “/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py”, line 105, in execute
      method(env)
      File “/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HBASE/package/scripts/hbase_master.py”, line 43, in start
      self.configure(env) # for security
      File “/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HBASE/package/scripts/hbase_master.py”, line 38, in configure
      hbase(name=’master’)
      File “/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HBASE/package/scripts/hbase.py”, line 40, in hbase
      params.HdfsDirectory(None, action=”create”)
      File “/usr/lib/python2.6/site-packages/resource_management/core/base.py”, line 149, in __init__
      self.env.run()
      File “/usr/lib/python2.6/site-packages/resource_management/core/environment.py”, line 150, in run
      self.run_action(resource, action)
      File “/usr/lib/python2.6/site-packages/resource_management/core/environment.py”, line 116, in run_action
      provider_action()
      File “/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_directory.py”, line 105, in action_create
      not_if=format(“su – {hdp_hdfs_user} -c ‘hadoop fs -ls {dir_list_str}’”)
      File “/usr/lib/python2.6/site-packages/resource_management/core/base.py”, line 149, in __init__
      self.env.run()
      File “/usr/lib/python2.6/site-packages/resource_management/core/environment.py”, line 150, in run
      self.run_action(resource, action)
      File “/usr/lib/python2.6/site-packages/resource_management/core/environment.py”, line 116, in run_action
      provider_action()
      File “/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py”, line 236, in action_run
      wait_for_finish=self.resource.wait_for_finish, timeout=self.resource.timeout)
      File “/usr/lib/python2.6/site-packages/resource_management/core/shell.py”, line 36, in checked_call
      return _call(command, logoutput, True, cwd, env, preexec_fn, user, wait_for_finish, timeout)
      File “/usr/lib/python2.6/site-packages/resource_management/core/shell.py”, line 90, in _call
      err_msg = (“Execution of ‘%s’ returned %d. %s”) % (command[-1], code, out)
      UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xe9 in position 133: ordinal not in range(128)

    I tried to add ‘#encoding:utf-8′ in all of ‘xxx.py’.But it is still fail.Does anyone know what’s wrong with hbase-master?

You must be logged in to reply to this topic.