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.