Was the upgrade performed through Ambari?  If yes, then it might be an
issue with Ambari. Ambari should preserve the configuration value (in this
case Ranger enabled for Hbase) while doing the upgrade.

On Mon, Jul 27, 2015 at 11:41 AM, Bradman, Dale <[email protected]>
wrote:

>  It was installed using Ambari 2.0 and worked fine. I then upgraded
> Ambari to 2.1 which is when HBase failed to run as the "Enable Ranger for
> HBASE" checkbox was not ticked.
>
>  Cheers,
> Dale
>
>
>
>  Sent from my Samsung device
>
>
> -------- Original message --------
> From: Don Bosco Durai <[email protected]>
> Date: 27/07/2015 17:59 (GMT+00:00)
> To: [email protected]
> Subject: Re: Unable to start HBase
>
>  Dale
>
>  Does RangerAdmin show up in Ambari? Was it installed manually or through
> Ambari?
>
>  Thanks
>
>  Bosco
>
>
>   From: <Bradman>, Dale <[email protected]>
> Reply-To: "[email protected]" <
> [email protected]>
> Date: Monday, July 27, 2015 at 6:39 AM
> To: "[email protected]" <[email protected]>
> Subject: Re: Unable to start HBase
>
>   Thanks, that has worked. How come the "Enable Ranger for HBASE" tick
> box does not appear in the configs in the first place?
>
>  Thank you,
> Dale Bradman
>
>  Sent from my Samsung device
>
>
> -------- Original message --------
> From: Gautam Borad <[email protected]>
> Date: 27/07/2015 13:25 (GMT+00:00)
> To: [email protected]
> Subject: Re: Unable to start HBase
>
>   Hi Dale,
>      Can you try adding 'ranger-hbase-plugin-enabled' property to :
> "HBASE" -> "Advanced" -> "Custom ranger-hbase-plugin-properties" section
> and set the value to yes/no, depending on whether HBase plugin was enabled
> on Ambari 2.0 or not.
>
>  Please restart HBase service after doing the changes.
>
>
>
> On Mon, Jul 27, 2015 at 3:46 PM, Bradman, Dale <[email protected]
> > wrote:
>
>>  Hi, I have recently upgraded from Ambari 2.0 to 2.1 but I am now unable
>> to start up HBase.
>>
>>  I am seeing the following error in Ambari:
>>
>>  ---------
>> Traceback (most recent call last):
>>   File
>> "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_master.py",
>> line 148, in <module>
>>     HbaseMaster().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_master.py",
>> line 87, 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!
>>
>>  ----------
>>
>>  There's a ton of errors in the HBase logs which I can forward if
>> necessary.
>>
>>  Thanks,
>> Dale
>>
>>  Sent from my Samsung device
>>
>> ------------------------------
>>
>> Capgemini is a trading name used by the Capgemini Group of companies
>> which includes Capgemini UK plc, a company registered in England and Wales
>> (number 943935) whose registered office is at No. 1, Forge End, Woking,
>> Surrey, GU21 6DB.
>> This message contains information that may be privileged or confidential
>> and is the property of the Capgemini Group. It is intended only for the
>> person to whom it is addressed. If you are not the intended recipient, you
>> are not authorized to read, print, retain, copy, disseminate, distribute,
>> or use this message or any part thereof. If you receive this message in
>> error, please notify the sender immediately and delete all copies of this
>> message.
>>
>
>
>
> --
> Regards,
> Gautam.
>
> ------------------------------
>
> Capgemini is a trading name used by the Capgemini Group of companies which
> includes Capgemini UK plc, a company registered in England and Wales
> (number 943935) whose registered office is at No. 1, Forge End, Woking,
> Surrey, GU21 6DB.
>
>
> ------------------------------
>
> Capgemini is a trading name used by the Capgemini Group of companies which
> includes Capgemini UK plc, a company registered in England and Wales
> (number 943935) whose registered office is at No. 1, Forge End, Woking,
> Surrey, GU21 6DB.
>

Reply via email to