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

Hudson commented on HDFS-8735:
------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #8216 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/8216/])
HDFS-8735. Inotify: All events classes should implement toString() API. 
Contributed by Surendra Singh Lilhore. (aajisaka: rev 
f8f60918230dd466ae8dda1fbc28878e19273232)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSInotifyEventInputStream.java
* 
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/inotify/Event.java


> Inotify : All events classes should implement toString() API.
> -------------------------------------------------------------
>
>                 Key: HDFS-8735
>                 URL: https://issues.apache.org/jira/browse/HDFS-8735
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs-client
>    Affects Versions: 2.7.0
>            Reporter: Surendra Singh Lilhore
>            Assignee: Surendra Singh Lilhore
>             Fix For: 2.8.0
>
>         Attachments: HDFS-8735-002.patch, HDFS-8735-003.patch, 
> HDFS-8735-004.patch, HDFS-8735.01.patch, HDFS-8735.patch
>
>
> Event classes is used by client, it’s good to implement toString() API.
> {code}
> for(Event event : events){
>       System.out.println(event.toString());
> }
> {code}
> This will give output like this
> {code}
> org.apache.hadoop.hdfs.inotify.Event$CreateEvent@6916d97d
> {code}



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

Reply via email to