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

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

VotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: hdfs-client
    • Labels:
      None
    • Hadoop Flags:
      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

            • Assignee:
              surendrasingh Surendra Singh Lilhore
              Reporter:
              surendrasingh Surendra Singh Lilhore

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment