IBM Support

Error enabling Ranger PlugIn for BigSQL

Troubleshooting


Problem

Execute Enable_Ranger_plugin in Ambari Fails

Symptom


Traceback (most recent call last):
 File "/var/lib/ambari-agent/cache/extensions/IBM-Big_SQL/5.0.0.0/services/BIGSQL/package/scripts/bigsql-head.py", line 2066, in <module>
   BigsqlHead().execute()
 File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 329, in execute
   method(env)
 File "/var/lib/ambari-agent/cache/extensions/IBM-Big_SQL/5.0.0.0/services/BIGSQL/package/scripts/bigsql-head.py", line 1779, in enable_ranger_plugin
   self.disable_ranger_plugin(env)
 File "/var/lib/ambari-agent/cache/extensions/IBM-Big_SQL/5.0.0.0/services/BIGSQL/package/scripts/bigsql-head.py", line 1689, in disable_ranger_plugin
   {disable_second_head} '))
 File "/var/lib/ambari-agent/cache/extensions/IBM-Big_SQL/5.0.0.0/services/BIGSQL/package/scripts/bigsql_python_utils.py", line 208, in bigsqlSudo_Execute
   return Execute(sudoCmdString, **kwargs)
 File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
   self.env.run()
 File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
   self.run_action(resource, action)
 File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
   provider_action()
 File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 262, in action_run
   tries=self.resource.tries, try_sleep=self.resource.try_sleep)
 File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 72, in inner
   result = function(command, **kwargs)
 File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 102, in checked_call
   tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
 File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 150, in _call_wrapper
   result = _call(command, **kwargs_copy)
 File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 303, in _call
   raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of 'sudo /var/lib/ambari-agent/cache/extensions/IBM-Big_SQL/5.0.0.0/services/BIGSQL/package/scripts/bigsql-redirect.sh hdp261-1.fyre.ibm.com bigsql                                  /var/lib/ambari-agent/cache/extensions/IBM-Big_SQL/5.0.0.0/services/BIGSQL/package/scripts/bigsql-disable-ranger.sh bigsql                                       hdp261
http://hdp261-1.fyre.ibm.com:6080                                       amb_ranger_admin [PROTECTED]                                       0 ' returned 1. hdp261-1.fyre.ibm.com
Log file of this shell is: /tmp/bigsql/logs/bigsql-disableRanger-2017-10-30_16.04.36.0938.log
{"statusCode":401,"msgDesc":"Authentication Failed"}
Failed

[{"Product":{"code":"SSCRJT","label":"IBM Db2 Big SQL"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"--","Platform":[{"code":"PF016","label":"Linux"}],"Version":"5.0.0;5.0.1","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
08 April 2021

UID

swg22010168