Robert Kanter created OOZIE-999:
-----------------------------------
Summary: XLogStreamer requires
log4j.appender.oozie.layout.ConversionPattern to contain a "-" (dash) or
streaming logs to web UI and CLI don't work
Key: OOZIE-999
URL: https://issues.apache.org/jira/browse/OOZIE-999
Project: Oozie
Issue Type: Bug
Reporter: Robert Kanter
Assignee: Robert Kanter
Fix For: trunk
XLogStreamer.constructPattern() contains:
{code}
StringBuilder sb = new StringBuilder();
if (noFilter) {
sb.append("(.*)");
}
else {
sb.append("(.* - ");
for (int i = 0; i < parameters.size(); i++) {
sb.append(parameters.get(i) + "\\[");
sb.append(filterParams.get(parameters.get(i)) + "\\] ");
}
sb.append(".*)");
}
filterPattern = Pattern.compile(sb.toString());
{code}
which causes streaming logs to the web UI and CLI to not work if
log4j.appender.oozie.layout.ConversionPattern in log4j.properties contains a
"-" (dash).
We should try to remove this restriction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira