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

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

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

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

ABORTED: Integrated in Ambari-branch-2.0.0 #46 (See [https://builds.apache.org/job/Ambari-branch-2.0.0/46/])
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=17b28e662c0f98cd1db4259045ed17629cd7da55)
* 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)