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

Improve the balancer error message when process exits abnormally.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.1, 3.4.0, 3.2.3
    • 3.3.1, 3.4.0, 3.2.3
    • balancer & mover
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: