[
https://issues.apache.org/jira/browse/AMBARI-19369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16043361#comment-16043361
]
Robert Levas commented on AMBARI-19369:
---------------------------------------
[~qinliu]
I committed the patch to trunk (for Ambari 3.0.0):
{noformat}
commit 4aaf259e191344076a88391f5853da4bf85b8a80
Author: Qin Liu <[email protected]>
Date: Thu Jun 8 16:23:34 2017 -0400
{noformat}
However, the patch fails to apply to branch-2.5:
{noformat}
error:
ambari-server/src/main/resources/common-services/HBASE/2.0.0.3.0/configuration/hbase-env.xml:
No such file or directory
error:
ambari-server/src/main/resources/common-services/HBASE/2.0.0.3.0/package/templates/hbase_master_jaas.conf.j2:
No such file or directory
error:
ambari-server/src/main/resources/common-services/HBASE/2.0.0.3.0/package/templates/hbase_regionserver_jaas.conf.j2:
No such file or directory
error:
ambari-server/src/main/resources/common-services/HDFS/3.0.0.3.0/package/scripts/hdfs.py:
No such file or directory
error: patch failed:
ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py:192
error:
ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py:
patch does not apply
error:
ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/configuration-mapred/mapred-env.xml:
No such file or directory
error:
ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/configuration/yarn-env.xml:
No such file or directory
error:
ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/package/scripts/params_linux.py:
No such file or directory
error:
ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/package/scripts/yarn.py:
No such file or directory
error:
ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/package/templates/yarn_jaas.conf.j2:
No such file or directory
error:
ambari-server/src/main/resources/stacks/HDP/3.0/services/HDFS/configuration/hadoop-env.xml:
No such file or directory
error:
ambari-server/src/main/resources/stacks/HDP/3.0/services/YARN/configuration-mapred/mapred-env.xml:
No such file or directory
error: patch failed:
ambari-server/src/test/python/stacks/2.0.6/HDFS/test_zkfc.py:381
error: ambari-server/src/test/python/stacks/2.0.6/HDFS/test_zkfc.py: patch does
not apply
{noformat}
Can you update the patch for branch-2.5?
> Add Kerberos HTTP SPNEGO authentication support to Hadoop/hbase/kafka/storm
> sinks
> ---------------------------------------------------------------------------------
>
> Key: AMBARI-19369
> URL: https://issues.apache.org/jira/browse/AMBARI-19369
> Project: Ambari
> Issue Type: Improvement
> Components: ambari-metrics, ambari-server
> Affects Versions: 2.2.0
> Reporter: Qin Liu
> Assignee: Qin Liu
> Fix For: 3.0.0, 2.5.2
>
> Attachments: AMBARI-19369.patch
>
>
> This is a subtask of AMBARI-14384 "Ambari Metrics doesn't use SPNEGO to
> authenticate".
> In a Kerberos enabled cluster with SPNEGO enabled on Hadoop APIs, Ambari
> Metrics Collector web-console will be Kerberos HTTP SPNEGO enabled too. But
> Hadoop/hbase/kafka/storm sinks, clients of Ambari Metrics Collector,
> currently do not support Kerberos HTTP SPNEGO authentication.
> e.g.,
> /var/log/hadoop-yarn/yarn/yarn-yarn-timelineserver-<timelineserver-host>.log:
> 2016-12-16 22:25:29,471 INFO timeline.HadoopTimelineMetricsSink
> (AbstractTimelineMetricsSink.java:emitMetricsJson(169)) - Unable to POST
> metrics to collector, http://metrics-collector:6188/ws/v1/timeline/metrics,
> statusCode = 401
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)