[jira] [Commented] (HADOOP-8531) SequenceFile Writer can throw out a better error if a serializer or deserializer isn't available

2012-07-16 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-8531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13415096#comment-13415096
 ] 

Hudson commented on HADOOP-8531:


Integrated in Hadoop-Mapreduce-trunk #1138 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1138/])
HADOOP-8531. SequenceFile Writer can throw out a better error if a 
serializer or deserializer isn't available. Contributed by Madhukara Phatak. 
(harsh) (Revision 1361933)

 Result = FAILURE
harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1361933
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/SequenceFile.java
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestSequenceFile.java


> SequenceFile Writer can throw out a better error if a serializer or 
> deserializer isn't available
> 
>
> Key: HADOOP-8531
> URL: https://issues.apache.org/jira/browse/HADOOP-8531
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: io
>Affects Versions: 2.0.0-alpha
>Reporter: Harsh J
>Assignee: madhukara phatak
>Priority: Trivial
>  Labels: newbie
> Fix For: 2.1.0-alpha
>
> Attachments: HADOOP-8531-1.patch, HADOOP-8531-2.patch, 
> HADOOP-8531-2.patch, HADOOP-8531.patch
>
>
> Currently, if the provided Key/Value class lacks a proper serializer in the 
> loaded config for the SequenceFile.Writer, we get an NPE as the null return 
> goes unchecked.
> Hence we get:
> {code}
> java.lang.NullPointerException
>   at org.apache.hadoop.io.SequenceFile$Writer.init(SequenceFile.java:1163)
>   at 
> org.apache.hadoop.io.SequenceFile$Writer.(SequenceFile.java:1079)
>   at 
> org.apache.hadoop.io.SequenceFile$RecordCompressWriter.(SequenceFile.java:1331)
>   at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:271)
> {code}
> We can provide a better message + exception in such cases. This is slightly 
> related to MAPREDUCE-2584.

--
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




[jira] [Commented] (HADOOP-8531) SequenceFile Writer can throw out a better error if a serializer or deserializer isn't available

2012-07-16 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-8531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13415025#comment-13415025
 ] 

Hudson commented on HADOOP-8531:


Integrated in Hadoop-Hdfs-trunk #1105 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1105/])
HADOOP-8531. SequenceFile Writer can throw out a better error if a 
serializer or deserializer isn't available. Contributed by Madhukara Phatak. 
(harsh) (Revision 1361933)

 Result = FAILURE
harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1361933
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/SequenceFile.java
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestSequenceFile.java


> SequenceFile Writer can throw out a better error if a serializer or 
> deserializer isn't available
> 
>
> Key: HADOOP-8531
> URL: https://issues.apache.org/jira/browse/HADOOP-8531
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: io
>Affects Versions: 2.0.0-alpha
>Reporter: Harsh J
>Assignee: madhukara phatak
>Priority: Trivial
>  Labels: newbie
> Fix For: 2.1.0-alpha
>
> Attachments: HADOOP-8531-1.patch, HADOOP-8531-2.patch, 
> HADOOP-8531-2.patch, HADOOP-8531.patch
>
>
> Currently, if the provided Key/Value class lacks a proper serializer in the 
> loaded config for the SequenceFile.Writer, we get an NPE as the null return 
> goes unchecked.
> Hence we get:
> {code}
> java.lang.NullPointerException
>   at org.apache.hadoop.io.SequenceFile$Writer.init(SequenceFile.java:1163)
>   at 
> org.apache.hadoop.io.SequenceFile$Writer.(SequenceFile.java:1079)
>   at 
> org.apache.hadoop.io.SequenceFile$RecordCompressWriter.(SequenceFile.java:1331)
>   at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:271)
> {code}
> We can provide a better message + exception in such cases. This is slightly 
> related to MAPREDUCE-2584.

--
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




[jira] [Commented] (HADOOP-8531) SequenceFile Writer can throw out a better error if a serializer or deserializer isn't available

2012-07-16 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-8531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13414934#comment-13414934
 ] 

Hudson commented on HADOOP-8531:


Integrated in Hadoop-Mapreduce-trunk-Commit #2497 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2497/])
HADOOP-8531. SequenceFile Writer can throw out a better error if a 
serializer or deserializer isn't available. Contributed by Madhukara Phatak. 
(harsh) (Revision 1361933)

 Result = FAILURE
harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1361933
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/SequenceFile.java
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestSequenceFile.java


> SequenceFile Writer can throw out a better error if a serializer or 
> deserializer isn't available
> 
>
> Key: HADOOP-8531
> URL: https://issues.apache.org/jira/browse/HADOOP-8531
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: io
>Affects Versions: 2.0.0-alpha
>Reporter: Harsh J
>Assignee: madhukara phatak
>Priority: Trivial
>  Labels: newbie
> Attachments: HADOOP-8531-1.patch, HADOOP-8531-2.patch, 
> HADOOP-8531-2.patch, HADOOP-8531.patch
>
>
> Currently, if the provided Key/Value class lacks a proper serializer in the 
> loaded config for the SequenceFile.Writer, we get an NPE as the null return 
> goes unchecked.
> Hence we get:
> {code}
> java.lang.NullPointerException
>   at org.apache.hadoop.io.SequenceFile$Writer.init(SequenceFile.java:1163)
>   at 
> org.apache.hadoop.io.SequenceFile$Writer.(SequenceFile.java:1079)
>   at 
> org.apache.hadoop.io.SequenceFile$RecordCompressWriter.(SequenceFile.java:1331)
>   at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:271)
> {code}
> We can provide a better message + exception in such cases. This is slightly 
> related to MAPREDUCE-2584.

--
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




[jira] [Commented] (HADOOP-8531) SequenceFile Writer can throw out a better error if a serializer or deserializer isn't available

2012-07-16 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-8531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13414932#comment-13414932
 ] 

Hudson commented on HADOOP-8531:


Integrated in Hadoop-Hdfs-trunk-Commit #2542 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2542/])
HADOOP-8531. SequenceFile Writer can throw out a better error if a 
serializer or deserializer isn't available. Contributed by Madhukara Phatak. 
(harsh) (Revision 1361933)

 Result = SUCCESS
harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1361933
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/SequenceFile.java
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestSequenceFile.java


> SequenceFile Writer can throw out a better error if a serializer or 
> deserializer isn't available
> 
>
> Key: HADOOP-8531
> URL: https://issues.apache.org/jira/browse/HADOOP-8531
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: io
>Affects Versions: 2.0.0-alpha
>Reporter: Harsh J
>Assignee: madhukara phatak
>Priority: Trivial
>  Labels: newbie
> Attachments: HADOOP-8531-1.patch, HADOOP-8531-2.patch, 
> HADOOP-8531-2.patch, HADOOP-8531.patch
>
>
> Currently, if the provided Key/Value class lacks a proper serializer in the 
> loaded config for the SequenceFile.Writer, we get an NPE as the null return 
> goes unchecked.
> Hence we get:
> {code}
> java.lang.NullPointerException
>   at org.apache.hadoop.io.SequenceFile$Writer.init(SequenceFile.java:1163)
>   at 
> org.apache.hadoop.io.SequenceFile$Writer.(SequenceFile.java:1079)
>   at 
> org.apache.hadoop.io.SequenceFile$RecordCompressWriter.(SequenceFile.java:1331)
>   at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:271)
> {code}
> We can provide a better message + exception in such cases. This is slightly 
> related to MAPREDUCE-2584.

--
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




[jira] [Commented] (HADOOP-8531) SequenceFile Writer can throw out a better error if a serializer or deserializer isn't available

2012-07-16 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-8531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13414931#comment-13414931
 ] 

Hudson commented on HADOOP-8531:


Integrated in Hadoop-Common-trunk-Commit #2477 (See 
[https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2477/])
HADOOP-8531. SequenceFile Writer can throw out a better error if a 
serializer or deserializer isn't available. Contributed by Madhukara Phatak. 
(harsh) (Revision 1361933)

 Result = SUCCESS
harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1361933
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/SequenceFile.java
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestSequenceFile.java


> SequenceFile Writer can throw out a better error if a serializer or 
> deserializer isn't available
> 
>
> Key: HADOOP-8531
> URL: https://issues.apache.org/jira/browse/HADOOP-8531
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: io
>Affects Versions: 2.0.0-alpha
>Reporter: Harsh J
>Assignee: madhukara phatak
>Priority: Trivial
>  Labels: newbie
> Attachments: HADOOP-8531-1.patch, HADOOP-8531-2.patch, 
> HADOOP-8531-2.patch, HADOOP-8531.patch
>
>
> Currently, if the provided Key/Value class lacks a proper serializer in the 
> loaded config for the SequenceFile.Writer, we get an NPE as the null return 
> goes unchecked.
> Hence we get:
> {code}
> java.lang.NullPointerException
>   at org.apache.hadoop.io.SequenceFile$Writer.init(SequenceFile.java:1163)
>   at 
> org.apache.hadoop.io.SequenceFile$Writer.(SequenceFile.java:1079)
>   at 
> org.apache.hadoop.io.SequenceFile$RecordCompressWriter.(SequenceFile.java:1331)
>   at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:271)
> {code}
> We can provide a better message + exception in such cases. This is slightly 
> related to MAPREDUCE-2584.

--
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