ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thibaut de Broca (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-9421) truncate path string after '=' in flume.conf when sync from ambari server
Date Fri, 05 Feb 2016 21:24:39 GMT

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

Thibaut de Broca commented on AMBARI-9421:
------------------------------------------

Previous hack didn't work for "reload conf" functionnality.

Hopefully It's fixed now in 2.2
The patch is easy, one line to change:
https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/flume.py#L247

> truncate path string after '=' in flume.conf when sync from ambari server
> -------------------------------------------------------------------------
>
>                 Key: AMBARI-9421
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9421
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: 1.7.0
>         Environment: centos 6.5
>            Reporter: xiao_cao
>            Priority: Critical
>
> if I change the property of flume config in ambari-admin:
> collector.sinks.sink_hdfs.hdfs.path=/user/flume/%{category}/dt=%Y%m%d/hour=%H
> after save and restart flume in ambari-admin, the flume conf that sync from master in
agent:
> collector.sinks.sink_hdfs.hdfs.path=/user/flume/%{category}/dt



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

Mime
View raw message