Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8735

Inotify : All events classes should implement toString() API.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.0
    • 2.8.0, 3.0.0-alpha1
    • hdfs-client
    • None
    • Reviewed

    Description

      Event classes is used by client, it’s good to implement toString() API.

      for(Event event : events){
      	System.out.println(event.toString());
      }
      

      This will give output like this

      org.apache.hadoop.hdfs.inotify.Event$CreateEvent@6916d97d
      

      Attachments

        1. HDFS-8735.patch
          7 kB
          Surendra Singh Lilhore
        2. HDFS-8735.01.patch
          7 kB
          Surendra Singh Lilhore
        3. HDFS-8735-002.patch
          13 kB
          Surendra Singh Lilhore
        4. HDFS-8735-003.patch
          13 kB
          Surendra Singh Lilhore
        5. HDFS-8735-004.patch
          13 kB
          Surendra Singh Lilhore

        Issue Links

          Activity

            People

              surendralilhore Surendra Singh Lilhore
              surendralilhore Surendra Singh Lilhore
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: