[
https://issues.apache.org/jira/browse/AMBARI-16296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jaimin D Jetly updated AMBARI-16296:
------------------------------------
Status: Patch Available (was: Open)
> Ambari agent changes to push llap metrics to AMS
> ------------------------------------------------
>
> Key: AMBARI-16296
> URL: https://issues.apache.org/jira/browse/AMBARI-16296
> Project: Ambari
> Issue Type: Task
> Components: ambari-agent
> Affects Versions: 2.4.0
> Reporter: Jaimin D Jetly
> Assignee: Jaimin D Jetly
> Fix For: 2.4.0
>
> Attachments: AMBARI-16296.2.patch, AMBARI-16296.3.patch,
> AMBARI-16296.patch
>
>
> This patch makes start of HiveServer2 Interactive create
> /usr/hdp/current/hive-server2-hive2/conf/conf.server/hadoop-metrics2-llapdaemon.properties
> and
> /usr/hdp/current/hive-server2-hive2/conf/conf.server/hadoop-metrics2-llaptaskscheduler.properties
> with following example content:
> {code:title=hadoop-metrics2-llapdaemon.properties}
> # Licensed to the Apache Software Foundation (ASF) under one or more
> # contributor license agreements. See the NOTICE file distributed with
> # this work for additional information regarding copyright ownership.
> # The ASF licenses this file to You under the Apache License, Version 2.0
> # (the "License"); you may not use this file except in compliance with
> # the License. You may obtain a copy of the License at
> #
> # http://www.apache.org/licenses/LICENSE-2.0
> #
> # Unless required by applicable law or agreed to in writing, software
> # distributed under the License is distributed on an "AS IS" BASIS,
> # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> # See the License for the specific language governing permissions and
> # limitations under the License.
> # syntax: [prefix].[source|sink|jmx].[instance].[options]
> # See package.html for org.apache.hadoop.metrics2 for details
> *.period=10
>
> *.sink.timeline.plugin.urls=file:///usr/lib/ambari-metrics-hadoop-sink/ambari-metrics-hadoop-sink.jar
>
> *.sink.timeline.class=org.apache.hadoop.metrics2.sink.timeline.HadoopTimelineMetricsSink
> *.sink.timeline.period=10
> *.sink.timeline.sendInterval=60000
> # HTTPS properties
> *.sink.timeline.truststore.path = /etc/security/clientKeys/all.jks
> *.sink.timeline.truststore.type = jks
> *.sink.timeline.truststore.password = bigdata
> llapdaemon.sink.timeline.collector=http://c6402.ambari.apache.org:6188
> {code}
> {code:title=hadoop-metrics2-llaptaskscheduler.properties}
> # Licensed to the Apache Software Foundation (ASF) under one or more
> # contributor license agreements. See the NOTICE file distributed with
> # this work for additional information regarding copyright ownership.
> # The ASF licenses this file to You under the Apache License, Version 2.0
> # (the "License"); you may not use this file except in compliance with
> # the License. You may obtain a copy of the License at
> #
> # http://www.apache.org/licenses/LICENSE-2.0
> #
> # Unless required by applicable law or agreed to in writing, software
> # distributed under the License is distributed on an "AS IS" BASIS,
> # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> # See the License for the specific language governing permissions and
> # limitations under the License.
> # syntax: [prefix].[source|sink|jmx].[instance].[options]
> # See package.html for org.apache.hadoop.metrics2 for details
> *.period=10
>
> *.sink.timeline.plugin.urls=file:///usr/lib/ambari-metrics-hadoop-sink/ambari-metrics-hadoop-sink.jar
>
> *.sink.timeline.class=org.apache.hadoop.metrics2.sink.timeline.HadoopTimelineMetricsSink
> *.sink.timeline.period=10
> *.sink.timeline.sendInterval=60000
> # HTTPS properties
> *.sink.timeline.truststore.path = /etc/security/clientKeys/all.jks
> *.sink.timeline.truststore.type = jks
> *.sink.timeline.truststore.password = bigdata
>
> llaptaskscheduler.sink.timeline.collector=http://c6402.ambari.apache.org:6188
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)