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/08/07 21:24:46 UTC

[jira] [Commented] (AMBARI-12674) ranger-hbase-plugin-enabled missing from Hbase config after upgrade from 2.0.1 to 2.1.0

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

Hudson commented on AMBARI-12674:
---------------------------------

FAILURE: Integrated in Ambari-branch-2.1 #347 (See [https://builds.apache.org/job/Ambari-branch-2.1/347/])
AMBARI-12674. ranger-hbase-plugin-enabled missing from Hbase config after upgrade from 2.0.1 to 2.1.0 (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=bbc8f4b6ccc67e83560160183993fca30091480f)
* ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog210.java


> ranger-hbase-plugin-enabled missing from Hbase config after upgrade from 2.0.1 to 2.1.0
> ---------------------------------------------------------------------------------------
>
>                 Key: AMBARI-12674
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12674
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.1.1
>
>
> After upgrading Ambari 2.0.1 to Ambari 2.1.0 on a cluster where Hbase and
> Ranger are installed, the following error is encountered when restarting Hbase
> after the upgrade completes
>     
>     
>     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 156, in <module>
>         HbaseRegionServer().execute()
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 218, in execute
>         method(env)
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 450, in restart
>         self.stop(env)
>       File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_regionserver.py", line 92, in stop
>         import params
>       File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/params.py", line 26, in <module>
>         from params_linux import *
>       File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py", line 230, in <module>
>         enable_ranger_hbase = (config['configurations']['ranger-hbase-plugin-properties']['ranger-hbase-plugin-enabled'].lower() == 'yes')
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py", line 81, in __getattr__
>         raise Fail("Configuration parameter '" + self.name + "' was not found in configurations dictionary!")
>     resource_management.core.exceptions.Fail: Configuration parameter 'ranger-hbase-plugin-enabled' was not found in configurations dictionary!
>     
> After manually adding `ranger-hbase-plugin-properties/ranger-hbase-plugin-
> enabled` = `no`, HBase will successfully restart
> **Steps to Reproduce**
>   1. Install Ambari 2.0.1 with HDFS, Yarn/Mapreduce, Hbase, Zookeeper
>   2. Add Ranger to cluster
>   3. Upgrade to Ambari 2.1.0
>   4. Restart HBase (as indicated by the UI)



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