ambari-issues mailing list archives

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

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

Hadoop QA commented on AMBARI-17118:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12808926/AMBARI-17118.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified
tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:red}-1 core tests{color}.  The test build failed in ambari-server 

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/7253//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/7253//console

This message is automatically generated.

> 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.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