ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-17118) Incorrect formated external url in ranger configuration - causes Namenode startup failure
Date Sat, 11 Jun 2016 01:40:21 GMT

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

Hudson commented on AMBARI-17118:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #5057 (See [https://builds.apache.org/job/Ambari-trunk-Commit/5057/])
AMBARI-17118. Incorrect formated external url in ranger configuration - (sgunturi: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=60a7054dd62764efefde81fc20f1790c443d4c58])
* ambari-common/src/main/python/resource_management/libraries/functions/setup_ranger_plugin.py
* ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/params_linux.py
* ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/params_linux.py
* ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params_linux.py
* ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/kms.py
* ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py
* ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
* ambari-server/src/main/resources/common-services/KAFKA/0.8.1/package/scripts/params.py
* ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py
* ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
* ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/params.py
* ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/params_linux.py
* ambari-server/src/main/resources/stacks/HDP/2.5/services/HDFS/configuration/ranger-hdfs-plugin-properties.xml
* ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions_v2.py
* ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions.py
* ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/params.py
* ambari-common/src/main/python/resource_management/libraries/functions/setup_ranger_plugin_xml.py


> Incorrect formated external url in ranger configuration - causes Namenode startup failure
> -----------------------------------------------------------------------------------------
>
>                 Key: AMBARI-17118
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17118
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.0
>            Reporter: Mugdha Varadkar
>            Assignee: Mugdha Varadkar
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17118.1.patch, AMBARI-17118.patch
>
>
> STR:
> 1. install ambari and HDP with HDFS,YARN,HIVE
> 2. install ranger and configure *External URL* https://c6401.ambari.apache.org:6182/
( means slash at the end of the URL which is allowed without any problem and installation
is done successfully)
> 3. enable ranger plugin in hdfs config and restart it 
> Result: NN startup fails and even after failure , error message in stack trace is confusing

> ERROR:
> ======
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/ranger_functions.py",
line 108, in create_ranger_repository
>     raise Fail('Ambari admin username and password are blank ')
> resource_management.core.exceptions.Fail: Ambari admin username and password are blank
> but actual reason is a slash at the end of the External URL,
> it fails the following point in usr/lib/python2.6/site-packages/resource_management/libraries/functions/ranger_functions.py:
> result = urllib2.urlopen(request)



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

Mime
View raw message