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

Mover should print the exit status/reason on console like balancer tool.

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • balancer & mover
    • None
    • Reviewed

    Description

      Mover should print exit reason on console –

      In cases where there is No blocks to move or unavailable Storages or any other, Mover tool gives No information on exit reason on the console--

      # ./hdfs mover
      ...
      Sep 28, 2015 12:31:25 PM Mover took 10sec
      # echo $?
      0
      
      # ./hdfs mover
      ...
      Sep 28, 2015 12:33:10 PM Mover took 1sec
      # echo $?
      254
      

      Unlike Balancer prints exit reason
      example--
      #./hdfs balancer
      ...
      The cluster is balanced. Exiting...
      Sep 28, 2015 12:18:02 PM Balancing took 1.744 seconds

      Attachments

        1. HDFS-9151.01.patch
          2 kB
          Surendra Singh Lilhore
        2. HDFS-9151.02.patch
          2 kB
          Surendra Singh Lilhore

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            surendralilhore Surendra Singh Lilhore
            archanat Archana T
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment