[jira] [Commented] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13506498#comment-13506498 ] thomastechs commented on HADOOP-8615: - Hi, Please treat this as a gentle reminder on further procedures. Thanks, Thomas. EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615.patch, HADOOP-8615-release-0.20.2.patch, HADOOP-8615-ver2.patch, HADOOP-8615-ver3.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Commented] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13499380#comment-13499380 ] thomastechs commented on HADOOP-8615: - Please let me know for any updates EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615.patch, HADOOP-8615-release-0.20.2.patch, HADOOP-8615-ver2.patch, HADOOP-8615-ver3.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Commented] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13494098#comment-13494098 ] thomastechs commented on HADOOP-8615: - Thanks Andy for the review. I am incorporating your review comments and attching the new patch. EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615.patch, HADOOP-8615-release-0.20.2.patch, HADOOP-8615-ver2.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Updated] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] thomastechs updated HADOOP-8615: Attachment: HADOOP-8615-ver3.patch New patch incorporated with Andy's fix EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615.patch, HADOOP-8615-release-0.20.2.patch, HADOOP-8615-ver2.patch, HADOOP-8615-ver3.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Updated] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] thomastechs updated HADOOP-8615: Resolved coding standard issues mentioned in the Andy's review EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615.patch, HADOOP-8615-release-0.20.2.patch, HADOOP-8615-ver2.patch, HADOOP-8615-ver3.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Commented] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13491202#comment-13491202 ] thomastechs commented on HADOOP-8615: - Thanks Andy for the review. To incorporate these fixes, should I take the latest from the trunk again, since it is 1 week past now.? Or shall I edit these space fixes in the patch itself.? I am new to this JIRA process.So, please let me know any thoughts. Thanks, Thomas. EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615.patch, HADOOP-8615-release-0.20.2.patch, HADOOP-8615-ver2.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Commented] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13487514#comment-13487514 ] thomastechs commented on HADOOP-8615: - Hi, Please let me know for any feedback. Requesting for further action. Thanks, Thomas. EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615.patch, HADOOP-8615-release-0.20.2.patch, HADOOP-8615-ver2.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Commented] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13485367#comment-13485367 ] thomastechs commented on HADOOP-8615: - Thanks Andy for the comments.I have incorporated your comments and attaching a new patch.Please let me know any comments, EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615.patch, HADOOP-8615-release-0.20.2.patch, HADOOP-8615-ver2.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Updated] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] thomastechs updated HADOOP-8615: Attachment: HADOOP-8615-ver2.patch Attaching the patch named HADOOP-8615-ver2.patch, incorporating Andy's comments.Please review and let me know. EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615.patch, HADOOP-8615-release-0.20.2.patch, HADOOP-8615-ver2.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Updated] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] thomastechs updated HADOOP-8615: New patch with the review comments, named HADOOP-8615-ver2.patch EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615.patch, HADOOP-8615-release-0.20.2.patch, HADOOP-8615-ver2.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Updated] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] thomastechs updated HADOOP-8615: Attachment: (was: HADOOP-8615.patch) EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615-release-0.20.2.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Commented] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13485088#comment-13485088 ] thomastechs commented on HADOOP-8615: - Thanks Suresh for taking a look. Your inputs helped me. EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615.patch, HADOOP-8615-release-0.20.2.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Updated] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] thomastechs updated HADOOP-8615: Attachment: HADOOP-8615.patch Attaching the latest patch HADOOP-8615.Please review the same.This needs to be applied at the trunk EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615.patch, HADOOP-8615-release-0.20.2.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Updated] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] thomastechs updated HADOOP-8615: Release Note: This is patch is for trunk.Please do a code review (was: This is patch is for trunk.Please doa code review) submitting the new patch EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615.patch, HADOOP-8615-release-0.20.2.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Commented] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13481497#comment-13481497 ] thomastechs commented on HADOOP-8615: - Hi, Could anyone help me out, by reviewing what exactly is the reason for the build failure for my patch,named: HADOOP-8615.patch It is not producing any compile errors in my local. Thanks, Thomas. EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615.patch, HADOOP-8615-release-0.20.2.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Updated] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] thomastechs updated HADOOP-8615: Attachment: HADOOP-8615.patch latest patch for trunk EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615.patch, HADOOP-8615-release-0.20.2.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Updated] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] thomastechs updated HADOOP-8615: Labels: patch (was: ) Target Version/s: 2.0.0-alpha Release Note: This is patch is for trunk.Please doa code review Status: Patch Available (was: Open) Given the target version as 2.0.0 EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615.patch, HADOOP-8615-release-0.20.2.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Commented] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13481016#comment-13481016 ] thomastechs commented on HADOOP-8615: - Please consider the HADOOP-8615 patch to be tested against the trunk. EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615.patch, HADOOP-8615-release-0.20.2.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Commented] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13457584#comment-13457584 ] thomastechs commented on HADOOP-8615: - Thanks Andy for your valuable comments. I will work on the patch in the trunk too.Also on the test case. The methods having default values were already existing. I used the same methods and overloaded with an added parameter of fileName.This will not affect existing functionalities or the people who already used the existing methods without a fileName.The new methods with fileName , helps the user to use it, if the user faces the issue addressed in this bug. Please let me know your comments. EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615-release-0.20.2.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Updated] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] thomastechs updated HADOOP-8615: Attachment: (was: HADOOP-8615.patch) EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Updated] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] thomastechs updated HADOOP-8615: Attachment: HADOOP-8615-release-0.20.2.patch Please do a code review EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615-release-0.20.2.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Updated] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] thomastechs updated HADOOP-8615: Target Version/s: 0.20.2 (was: 0.20.2, 2.0.0-alpha) EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615-release-0.20.2.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Commented] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13456484#comment-13456484 ] thomastechs commented on HADOOP-8615: - Hi, I have attached a new patch named:HADOOP-8615-release-0.20.2.patch This is to be tested against only release 0.20.2, not in trunk. The rest of the versions this may be incompatible. EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615-release-0.20.2.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Updated] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] thomastechs updated HADOOP-8615: Release Note: (was: This patch contains the fix as follows.As per the bug says, the EOFExceptions thrown in the DecompressorStream does not provide any information about the file at which the decompression fails. I have added overloaded constructor and necessary methods, which will have the file name also added as parameter. When the user uses this method and pass the filename, it would be printed in the EOF exception thrown, if any.So I believe the test cases may not be necessary. I was able to test it locally by forcefully creating an EOF Exception and verifying the new message as java.io.EOFException: Unexpected end of input stream in the file = filename ) EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615-release-0.20.2.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Commented] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13456488#comment-13456488 ] thomastechs commented on HADOOP-8615: - The Hudson project again tests the patch against trunk. Please let me know if there is any procedure for making this tested only on hadoop common release 0.20.2 EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615-release-0.20.2.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Updated] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] thomastechs updated HADOOP-8615: Attachment: HADOOP-8615.patch Please perform the code review EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Attachments: HADOOP-8615.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Updated] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] thomastechs updated HADOOP-8615: Labels: patch (was: ) Target Version/s: 2.0.0-alpha, 0.20.2 Release Note: This patch contains the fix as follows.As per the bug says, the EOFExceptions thrown in the DecompressorStream does not provide any information about the file at which the decompression fails. I have added overloaded constructor and necessary methods, which will have the file name also added as parameter. When the user uses this method and pass the filename, it would be printed in the EOF exception thrown, if any.So I believe the test cases may not be necessary. I was able to test it locally by forcefully creating an EOF Exception and verifying the new message as java.io.EOFException: Unexpected end of input stream in the file = filename Status: Patch Available (was: Open) Created the patch based out of the latest code from git://git.apache.org/hadoop-common.git EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Commented] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13447020#comment-13447020 ] thomastechs commented on HADOOP-8615: - This patch contains the fix as follows.As per the bug says, the EOFExceptions thrown in the DecompressorStream does not provide any information about the file at which the decompression fails. I have added overloaded constructor and necessary methods, which will have the file name also added as parameter. When the user uses this method and pass the filename, it would be printed in the EOF exception thrown, if any.So I believe the test cases may not be necessary. I was able to test it locally by forcefully creating an EOF Exception and verifying the new message as java.io.EOFException: Unexpected end of input stream in the file = filename EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord Labels: patch Attachments: HADOOP-8615.patch In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- 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
[jira] [Commented] (HADOOP-8615) EOFException in DecompressorStream.java needs to be more verbose
[ https://issues.apache.org/jira/browse/HADOOP-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13427337#comment-13427337 ] thomastechs commented on HADOOP-8615: - Thanks Tim for your comments. I am going ahead creating the patch for my suggestion. EOFException in DecompressorStream.java needs to be more verbose Key: HADOOP-8615 URL: https://issues.apache.org/jira/browse/HADOOP-8615 Project: Hadoop Common Issue Type: Bug Components: io Affects Versions: 0.20.2 Reporter: Jeff Lord In ./src/core/org/apache/hadoop/io/compress/DecompressorStream.java The following exception should at least pass back the file that it encounters this error in relation to: protected void getCompressedData() throws IOException { checkStream(); int n = in.read(buffer, 0, buffer.length); if (n == -1) { throw new EOFException(Unexpected end of input stream); } This would help greatly to debug bad/corrupt files. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira