[
https://issues.apache.org/jira/browse/OOZIE-1691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13899956#comment-13899956
]
Hadoop QA commented on OOZIE-1691:
----------------------------------
Testing JIRA OOZIE-1691
Cleaning local git workspace
----------------------------
{color:green}+1 PATCH_APPLIES{color}
{color:green}+1 CLEAN{color}
{color:green}+1 RAW_PATCH_ANALYSIS{color}
. {color:green}+1{color} the patch does not introduce any @author tags
. {color:green}+1{color} the patch does not introduce any tabs
. {color:green}+1{color} the patch does not introduce any trailing spaces
. {color:green}+1{color} the patch does not introduce any line longer than
132
. {color:green}+1{color} the patch does adds/modifies 1 testcase(s)
{color:green}+1 RAT{color}
. {color:green}+1{color} the patch does not seem to introduce new RAT
warnings
{color:green}+1 JAVADOC{color}
. {color:green}+1{color} the patch does not seem to introduce new Javadoc
warnings
{color:green}+1 COMPILE{color}
. {color:green}+1{color} HEAD compiles
. {color:green}+1{color} patch compiles
. {color:green}+1{color} the patch does not seem to introduce new javac
warnings
{color:green}+1 BACKWARDS_COMPATIBILITY{color}
. {color:green}+1{color} the patch does not change any JPA
Entity/Colum/Basic/Lob/Transient annotations
. {color:green}+1{color} the patch does not modify JPA files
{color:red}-1 TESTS{color}
. Tests run: 1389
. Tests failed: 0
. Tests errors: 1
. The patch failed the following testcases:
.
{color:green}+1 DISTRO{color}
. {color:green}+1{color} distro tarball builds with the patch
----------------------------
{color:red}*-1 Overall result, please check the reported -1(s)*{color}
The full output of the test-patch run is available at
. https://builds.apache.org/job/oozie-trunk-precommit-build/1055/
> StackOverflowError in TimestampedMessageParser.parseNextLine()
> --------------------------------------------------------------
>
> Key: OOZIE-1691
> URL: https://issues.apache.org/jira/browse/OOZIE-1691
> Project: Oozie
> Issue Type: Bug
> Reporter: purshotam shah
> Assignee: purshotam shah
> Attachments: OOZIE-1691.patch, OOZIE-1691.patch
>
>
> Below function will throws StackOverflowError if no matching line is found
> for a few consecutive lines.
> This will be a common scenario in HA where bundle/coord/WF got executed in
> other host. For log aggregation we have to search logs in all host and may
> lead to StackOverflowError.
> {code:java}
> protected String parseNextLine() throws IOException {
> String line = reader.readLine();
> if (line != null) {
> ArrayList<String> logParts = filter.splitLogMessage(line);
> if (logParts != null) {
> patternMatched = filter.matches(logParts);
> }
> if (!patternMatched) {
> line = parseNextLine();
> }
> }
> return line;
> }
> {code}
> Exception
> Caused by: java.lang.StackOverflowError
> at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615)
> at java.util.regex.Pattern$Curly.match0(Pattern.java:4170)
> ...........................................
> at
> java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3715)
> at
> java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3715)
> at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556)
> at java.util.regex.Matcher.match(Matcher.java:1221)
> at java.util.regex.Matcher.matches(Matcher.java:559)
> at
> org.apache.oozie.util.XLogStreamer$Filter.splitLogMessage(XLogStreamer.java:138)
> at
> org.apache.oozie.util.TimestampedMessageParser.parseNextLine(TimestampedMessageParser.java:138)
> at
> org.apache.oozie.util.TimestampedMessageParser.parseNextLine(TimestampedMessageParser.java:143)
> at
> org.apache.oozie.util.TimestampedMessageParser.parseNextLine(TimestampedMessageParser.java:143)
> at
> org.apache.oozie.util.TimestampedMessageParser.parseNextLine(TimestampedMessageParser.java:143)
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)