You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jonathan Hurley (JIRA)" <ji...@apache.org> on 2015/03/10 19:03:39 UTC

[jira] [Created] (AMBARI-10011) Restarting HBase with Ranger Enabled Does Not Log Proper Exception

Jonathan Hurley created AMBARI-10011:
----------------------------------------

             Summary: Restarting HBase with Ranger Enabled Does Not Log Proper Exception
                 Key: AMBARI-10011
                 URL: https://issues.apache.org/jira/browse/AMBARI-10011
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.0.0
            Reporter: Jonathan Hurley
            Assignee: Jonathan Hurley
            Priority: Critical
             Fix For: 2.0.0


Deployed a cluster with YARN, TEZ, ZOOKEEPER, HBASE, HDFS, AMS, HIVE_HCAT, PIG, MAPREDUCE2 services. A

Added RANGER service. After that Hbase RegionServer was down. Restart failed due to:

{noformat}
"stderr" : "2015-03-10 08:55:39,662 - HTTP Code: 404
Traceback (most recent call last):
  File \"/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_regionserver.py\", line 133, in <module>
    HbaseRegionServer().execute()
  File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\", line 214, in execute
    method(env)
  File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\", line 371, in restart
    self.start(env)
  File \"/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_regionserver.py\", line 60, in start
    setup_ranger_hbase()  
  File \"/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/setup_ranger_hbase.py\", line 81, in setup_ranger_hbase
    response = ranger_adm_obj.create_repository_urllib2(hbase_repo_data, ambari_username_password_for_ranger, params.policy_user)
  File \"/usr/lib/python2.6/site-packages/resource_management/libraries/functions/ranger_functions.py\", line 125, in create_repository_urllib2
    Logger.error(\"HTTP Data: {0}\".foramt(e.read()))
    AttributeError: 'str' object has no attribute 'foramt'",
{noformat}



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