You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Surendra Singh Lilhore (JIRA)" <ji...@apache.org> on 2015/07/08 12:45:11 UTC

[jira] [Created] (HDFS-8735) Inotify : All events classes should implement toString() API.

Surendra Singh Lilhore created HDFS-8735:
--------------------------------------------

             Summary: 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: Bug
          Components: hdfs-client
    Affects Versions: 2.7.0
            Reporter: Surendra Singh Lilhore
            Assignee: Surendra Singh Lilhore


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)