Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13717

Normalize daemonization behavior of the diskbalancer with balancer and mover

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: None
    • Component/s: scripts
    • Labels:
      None

      Description

      Issue found when working with the HDFS balancer.

      In hadoop_daemon_handler, it calls hadoop_verify_logdir even for the "default" case which calls hadoop_start_daemon. daemon_outfile which specifies the log location isn't even used here, since the command is being started in the foreground.

      I think we can push the hadoop_verify_logdir call down into hadoop_start_daemon_wrapper instead, which does use the outfile.

        Attachments

        1. HADOOP-13717.001.patch
          0.5 kB
          Andrew Wang

          Activity

            People

            • Assignee:
              andrew.wang Andrew Wang
              Reporter:
              andrew.wang Andrew Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: