[ https://issues.apache.org/jira/browse/OOZIE-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14364435#comment-14364435 ]
Hadoop QA commented on OOZIE-2171: ---------------------------------- Testing JIRA OOZIE-2171 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 3 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: 1611 . Tests failed: 2 . Tests errors: 0 . The patch failed the following testcases: . testCoordRerunDateNeg(org.apache.oozie.command.coord.TestCoordRerunXCommand) . testMessage_withMixedStatus(org.apache.oozie.command.coord.TestAbandonedCoordChecker) {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/2256/ > Some error code messages are not parsed correctly due to unescaped single > quote > ------------------------------------------------------------------------------- > > Key: OOZIE-2171 > URL: https://issues.apache.org/jira/browse/OOZIE-2171 > Project: Oozie > Issue Type: Bug > Affects Versions: trunk > Reporter: Robert Kanter > Assignee: Robert Kanter > Attachments: OOZIE-2171.patch, OOZIE-2171.patch > > > We noticed that the improved whitelist error messages added by OOZIE-2072 > weren't being printed properly: > e.g. > {code} > Error: E0901 : E0901: NameNode [localhost:8020] not allowed, not in > Oozies whitelist. Allowed values are: {1} > {code} > Turns out that {{MessageFormat}} requires that single quotes are escaped by > another single quote; otherwise, it: > - doesn't render the single quote > - doesn't parse the \{#\} tokens after the single quote. > For example, > {code} > foo("{0} don't have {1}", "I", "a problem") > {code} > would render as > {code} > "I dont have {1}" > {code} > We have to replace {{'}} with {{''}} to escape it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)