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-18898) Multiple kerberos name rules can not be set up for Ambari Infra Solr
Date Wed, 16 Nov 2016 01:21:58 GMT

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

Hadoop QA commented on AMBARI-18898:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12839063/AMBARI-18898.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:green}+1 core tests{color}.  The patch passed unit tests in ambari-logsearch/ambari-logsearch-assembly
ambari-server.

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

This message is automatically generated.

> Multiple kerberos name rules can not be set up for Ambari Infra Solr
> --------------------------------------------------------------------
>
>                 Key: AMBARI-18898
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18898
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-logsearch
>    Affects Versions: 2.4.0
>            Reporter: Miklos Gergely
>            Assignee: Miklos Gergely
>            Priority: Critical
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-18898.patch
>
>
> If multiple rules are entered into the proprety
> Advanced infra-solr-env / Infra Solr Kerberos name rules
> There are multiple issues here:
> 1. The rules should be escaped, the $ characters in them should be handled, so that the
expressions in the rules like $0, $1 are not replaced with the script directory, and the script
file name. Currently the user must do this in the value entered, which is not even documented.
> 2. The variable SOLR_KERB_NAME_RULES in infra-solr-env.sh should have quotes around it's
value, so that the whole string is assigned to it, not only the first rule.
> 3. SOLR_KERB_NAME_RULES can not be the part of SOLR_AUTHENTICATION_OPTS, because it is
handled incorrectly, if an expression like -Dname="value1 value2" is passed to the jvm from
a bash variable. Therefore /usr/lib/ambari-infra-solr/bin/solr should be updated, and -Dsolr.kerberos.name.rules="$SOLR_KERB_NAME_RULES"
should be added directly into the command script.
> Options



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

Mime
View raw message