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

Hadoop QA commented on HADOOP-6842:
-----------------------------------

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | pre-patch |  14m 30s | Pre-patch trunk compilation is 
healthy. |
| {color:green}+1{color} | @author |   0m  0s | The patch does not contain any 
@author tags. |
| {color:red}-1{color} | tests included |   0m  0s | The patch doesn't appear 
to include any new or modified tests.  Please justify why no new tests are 
needed for this patch. Also please list what manual steps were performed to 
verify this patch. |
| {color:red}-1{color} | javac |   0m 34s | The patch appears to cause the 
build to fail. |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | 
http://issues.apache.org/jira/secure/attachment/12593076/HADOOP-6842.patch |
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | trunk / f1a152c |
| Console output | 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6396/console |


This message was automatically generated.

> "hadoop fs -text" does not give a useful text representation of MapWritable 
> objects
> -----------------------------------------------------------------------------------
>
>                 Key: HADOOP-6842
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6842
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: io
>    Affects Versions: 0.20.0
>            Reporter: Steven Wong
>         Attachments: HADOOP-6842.patch
>
>
> If a sequence file contains MapWritable objects, running "hadoop fs -text" on 
> the file prints the following for each MapWritable:
> org.apache.hadoop.io.MapWritable@4f8235ed
> To be more useful, it should print out the contents of the map instead. This 
> can be done by adding a toString method to MapWritable, i.e. something like:
> public String toString() {
>     return (new TreeMap<Writable, Writable>(instance)).toString();
> }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to