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-12674) ranger-hbase-plugin-enabled missing from Hbase config after upgrade from 2.0.1 to 2.1.0
Date Fri, 07 Aug 2015 20:22:46 GMT

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

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

SUCCESS: Integrated in Ambari-trunk-Commit #3247 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3247/])
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=c89d427c75d15ca7ce1ad66fa6347987a36068f3)
* 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)

Mime
View raw message