ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doroszlai, Attila (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (AMBARI-21191) Custom log4j.properties of Flume
Date Tue, 20 Jun 2017 10:32:00 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-21191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Doroszlai, Attila reopened AMBARI-21191:
----------------------------------------

[~wangjianfei], could you please fix the following unit test error?

{noformat:title=https://builds.apache.org/job/Ambari-trunk-Commit/7652/}
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.394 sec <<< FAILURE!
- in org.apache.ambari.server.state.ServicePropertiesTest
validatePropertySchemaOfServiceXMLs(org.apache.ambari.server.state.ServicePropertiesTest)
 Time elapsed: 0.387 sec  <<< ERROR!
org.apache.ambari.server.AmbariException: File /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/target/test-classes/TestAmbaryServer.samples/../../../src/main/resources/common-services/FLUME/1.4.0.2.0/configuration/flume-log4j.xml
didn't pass the validation. Error message is : cvc-complex-type.2.4.b: The content of element
'property' is not complete. One of '{filename, deleted, final, on-ambari-upgrade, on-stack-upgrade,
property-type, value-attributes, depends-on, property_depended_by, used-by}' is expected.
	at org.apache.ambari.server.state.ServicePropertiesTest.validatePropertySchemaOfServiceXMLs(ServicePropertiesTest.java:49)
{noformat}

CC [~afernandez]

> Custom log4j.properties of Flume
> --------------------------------
>
>                 Key: AMBARI-21191
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21191
>             Project: Ambari
>          Issue Type: Improvement
>    Affects Versions: trunk
>            Reporter: wangjianfei
>            Assignee: wangjianfei
>             Fix For: trunk
>
>         Attachments: AMBARI-21191.patch
>
>
> Currently,if you want to config log4j.properties of Flume,you must change the 
> log4j.properties.j2 in the host installed flume agent.
> So,we make it configurable by adding  log4j.properties.template.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message