ambari-dev 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-12128) Falcon Server Web UI alert fails when Kerberos is enabled
Date Wed, 24 Jun 2015 18:03:04 GMT

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

Hadoop QA commented on AMBARI-12128:
------------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12741650/AMBARI-12128_01.patch
  against trunk revision .

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

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified
test files.

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

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

This message is automatically generated.

> Falcon Server Web UI alert fails when Kerberos is enabled
> ---------------------------------------------------------
>
>                 Key: AMBARI-12128
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12128
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent, ambari-server
>    Affects Versions: 2.1.0
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>            Priority: Blocker
>              Labels: alerts, kerberos
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-12128_01.patch
>
>
> Falcon Server Web UI alert fails when Kerberos is enabled.  The error message is 
> {noformat}
> agent/data/tmp/web_alert_cc_2144dc375b8556f5a0c2629adedd2a99 -kt {{falcon-startup.properties/*.falcon.http.authentication.kerberos.keytab}}
{{falcon-startup.properties/*.falcon.http.authentication.kerberos.principal}} > /dev/null'
returned 1. kinit: Client not found in Kerberos database while getting initial credentials)
> {noformat}
> *Cause*
> This issue was introduced when the patch for AMBARI-11656 was applied.  
> The issue is related to this line:
> {code:title=ambari_agent/alerts/base_alert.py:217}
>       replacement_match_regex = r"{{(%s)}}" % placeholder_key
> {code}
> When the relative falcon properties are applied, the generated regular expression becomes

> {noformat}
> {{(falcon-startup.properties/*.falcon.http.authentication.kerberos.keytab)}}
> {noformat}
> Which wants to match on values like:
> * falcon-startup.properties.falcon.http.authentication.kerberos.keytab
> * falcon-startup.properties/.falcon.http.authentication.kerberos.keytab
> * falcon-startup.properties/////////////Rfalcon.http.authentication.kerberos.keytab
> Not the one we really want - falcon-startup.properties/*.falcon.http.authentication.kerberos.keytab
> Either the {{*}} needs to be escaped or the use of regular expressions needs to be changed.
> *Solution*
> Remove the regular expression replacement and use somple string replacement instead.




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

Mime
View raw message