[jira] [Commented] (OOZIE-2447) Illegal character 0x0 oozie client
[ https://issues.apache.org/jira/browse/OOZIE-2447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15375776#comment-15375776 ] Robert Kanter commented on OOZIE-2447: -- [~puru], [~satishsaley], this breaks the build on Java 6 because it adds imports on {{java.nio.file}}, which was added in Java 7. We should either reimplement this without {{java.nio.file}} or go forward with OOZIE-2036. fyi [~abhishekbafna] > Illegal character 0x0 oozie client > -- > > Key: OOZIE-2447 > URL: https://issues.apache.org/jira/browse/OOZIE-2447 > Project: Oozie > Issue Type: Bug >Reporter: Satish Subhashrao Saley >Assignee: Satish Subhashrao Saley >Priority: Minor > Fix For: trunk > > Attachments: OOZIE-2447-1.patch, OOZIE-2447-2.patch, > OOZIE-2447-3.patch > > > Sometimes oozie client query fails with below message: > Error: HTTP error code: 400 : Illegal character 0x0. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OOZIE-2447) Illegal character 0x0 oozie client
[ https://issues.apache.org/jira/browse/OOZIE-2447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15313071#comment-15313071 ] Purshotam Shah commented on OOZIE-2447: --- Thanks Satish for patch. Committed to trunk. > Illegal character 0x0 oozie client > -- > > Key: OOZIE-2447 > URL: https://issues.apache.org/jira/browse/OOZIE-2447 > Project: Oozie > Issue Type: Bug >Reporter: Satish Subhashrao Saley >Assignee: Satish Subhashrao Saley >Priority: Minor > Fix For: trunk > > Attachments: OOZIE-2447-1.patch, OOZIE-2447-2.patch, > OOZIE-2447-3.patch > > > Sometimes oozie client query fails with below message: > Error: HTTP error code: 400 : Illegal character 0x0. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OOZIE-2447) Illegal character 0x0 oozie client
[ https://issues.apache.org/jira/browse/OOZIE-2447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15310649#comment-15310649 ] Hadoop QA commented on OOZIE-2447: -- Testing JIRA OOZIE-2447 Cleaning local git workspace > Illegal character 0x0 oozie client > -- > > Key: OOZIE-2447 > URL: https://issues.apache.org/jira/browse/OOZIE-2447 > Project: Oozie > Issue Type: Bug >Reporter: Satish Subhashrao Saley >Assignee: Satish Subhashrao Saley >Priority: Minor > Attachments: OOZIE-2447-1.patch, OOZIE-2447-2.patch, > OOZIE-2447-3.patch > > > Sometimes oozie client query fails with below message: > Error: HTTP error code: 400 : Illegal character 0x0. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OOZIE-2447) Illegal character 0x0 oozie client
[ https://issues.apache.org/jira/browse/OOZIE-2447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15303130#comment-15303130 ] Satish Subhashrao Saley commented on OOZIE-2447: Thank you [~puru] for review. I have updated the patch. > Illegal character 0x0 oozie client > -- > > Key: OOZIE-2447 > URL: https://issues.apache.org/jira/browse/OOZIE-2447 > Project: Oozie > Issue Type: Bug >Reporter: Satish Subhashrao Saley >Assignee: Satish Subhashrao Saley >Priority: Minor > Attachments: OOZIE-2447-1.patch, OOZIE-2447-2.patch, > OOZIE-2447-3.patch > > > Sometimes oozie client query fails with below message: > Error: HTTP error code: 400 : Illegal character 0x0. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OOZIE-2447) Illegal character 0x0 oozie client
[ https://issues.apache.org/jira/browse/OOZIE-2447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15155917#comment-15155917 ] Hadoop QA commented on OOZIE-2447: -- Testing JIRA OOZIE-2447 Cleaning local git workspace {color:green}+1 PATCH_APPLIES{color} {color:green}+1 CLEAN{color} {color:red}-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:red}-1{color} the patch does not add/modify any testcase {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: 1762 .Tests failed: 3 .Tests errors: 0 .The patch failed the following testcases: . testForNoDuplicates(org.apache.oozie.event.TestEventGeneration) . testSamplers(org.apache.oozie.util.TestMetricsInstrumentation) . 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/2752/ > Illegal character 0x0 oozie client > -- > > Key: OOZIE-2447 > URL: https://issues.apache.org/jira/browse/OOZIE-2447 > Project: Oozie > Issue Type: Bug >Reporter: Satish Subhashrao Saley >Assignee: Satish Subhashrao Saley >Priority: Minor > Attachments: OOZIE-2447-1.patch, OOZIE-2447-2.patch > > > Sometimes oozie client query fails with below message: > Error: HTTP error code: 400 : Illegal character 0x0. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OOZIE-2447) Illegal character 0x0 oozie client
[ https://issues.apache.org/jira/browse/OOZIE-2447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15143763#comment-15143763 ] Satish Subhashrao Saley commented on OOZIE-2447: Hi [~puru], as we discussed, there can be readers at the time when some writer is tries to move the temporary file to .oozie-auth-token. > Illegal character 0x0 oozie client > -- > > Key: OOZIE-2447 > URL: https://issues.apache.org/jira/browse/OOZIE-2447 > Project: Oozie > Issue Type: Bug >Reporter: Satish Subhashrao Saley >Assignee: Satish Subhashrao Saley >Priority: Minor > Attachments: OOZIE-2447-1.patch > > > Sometimes oozie client query fails with below message: > Error: HTTP error code: 400 : Illegal character 0x0. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OOZIE-2447) Illegal character 0x0 oozie client
[ https://issues.apache.org/jira/browse/OOZIE-2447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15143900#comment-15143900 ] Hadoop QA commented on OOZIE-2447: -- Testing JIRA OOZIE-2447 Cleaning local git workspace {color:green}+1 PATCH_APPLIES{color} {color:green}+1 CLEAN{color} {color:red}-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:red}-1{color} the patch does not add/modify any testcase {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: 1761 .Tests failed: 3 .Tests errors: 0 .The patch failed the following testcases: . testBundleStatusTransitWithLock(org.apache.oozie.service.TestStatusTransitService) . testForNoDuplicates(org.apache.oozie.event.TestEventGeneration) . testSamplers(org.apache.oozie.util.TestMetricsInstrumentation) {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/2743/ > Illegal character 0x0 oozie client > -- > > Key: OOZIE-2447 > URL: https://issues.apache.org/jira/browse/OOZIE-2447 > Project: Oozie > Issue Type: Bug >Reporter: Satish Subhashrao Saley >Assignee: Satish Subhashrao Saley >Priority: Minor > Attachments: OOZIE-2447-1.patch > > > Sometimes oozie client query fails with below message: > Error: HTTP error code: 400 : Illegal character 0x0. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OOZIE-2447) Illegal character 0x0 oozie client
[ https://issues.apache.org/jira/browse/OOZIE-2447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15129397#comment-15129397 ] Purshotam Shah commented on OOZIE-2447: --- I think an easy and simple fix is to write it to a temporary file and issue move command at end. > Illegal character 0x0 oozie client > -- > > Key: OOZIE-2447 > URL: https://issues.apache.org/jira/browse/OOZIE-2447 > Project: Oozie > Issue Type: Bug >Reporter: Satish Subhashrao Saley >Assignee: Satish Subhashrao Saley >Priority: Minor > Attachments: OOZIE-2447-1.patch > > > Sometimes oozie client query fails with below message: > Error: HTTP error code: 400 : Illegal character 0x0. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OOZIE-2447) Illegal character 0x0 oozie client
[ https://issues.apache.org/jira/browse/OOZIE-2447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15127204#comment-15127204 ] Satish Subhashrao Saley commented on OOZIE-2447: In AuthOozieClient.java, we write authentication token into .oozie-auth-token. But this file is not protected by any lock. For the first time when this file is created and written, if two or more oozie clients are trying to write into this file, the data might get corrupted. We need to protect this file using file lock to enforce mutual exclusion. > Illegal character 0x0 oozie client > -- > > Key: OOZIE-2447 > URL: https://issues.apache.org/jira/browse/OOZIE-2447 > Project: Oozie > Issue Type: Bug >Reporter: Satish Subhashrao Saley >Assignee: Satish Subhashrao Saley >Priority: Minor > > Sometimes oozie client query fails with below message: > Error: HTTP error code: 400 : Illegal character 0x0. -- This message was sent by Atlassian JIRA (v6.3.4#6332)