You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Thibaut de Broca (JIRA)" <ji...@apache.org> on 2016/02/05 22:24:39 UTC

[jira] [Commented] (AMBARI-9421) truncate path string after '=' in flume.conf when sync from ambari server

    [ 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)