ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-10011) Restarting HBase with Ranger Enabled Does Not Log Proper Exception
Date Tue, 10 Mar 2015 22:43:40 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-10011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14355870#comment-14355870
] 

Hudson commented on AMBARI-10011:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #1998 (See [https://builds.apache.org/job/Ambari-trunk-Commit/1998/])
AMBARI-10011 - Restarting HBase with Ranger Enabled Does Not Log Proper Exception (jonathanhurley)
(jhurley: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7d8b92234a3b578aacfcedf468569b2fc062772d)
* ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions.py


> 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)

Mime
View raw message