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

Improve the balancer error message when process exits abnormally.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.1, 3.4.0, 3.2.3
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The HDFS balancer exits abnormally. The content of the pid file is not cleaned up, and the new balancer cannot be started.

      Start the balancer (start-balancer.sh threshold 5)
      Kill the balancer process (kill -9 <Balancer PID>)
      Re-execute the balancer, there will be an error message.
      – Balancer is running as process xxxx. Stop it first.
      (But process already stopped, error message can be more detailed)

        Attachments

        1. HDFS-15932.001.patch
          1 kB
          Renukaprasad C

          Activity

            People

            • Assignee:
              prasad-acit Renukaprasad C
              Reporter:
              prasad-acit Renukaprasad C
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: