Uploaded image for project: 'CDH (READ-ONLY)'
  1. CDH (READ-ONLY)
  2. DISTRO-906

HDFS datanode won't start after reboot (missing /var/run/hadoop-hdfs)

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: CDH 6.0.0
    • Fix Version/s: None
    • Component/s: Hadoop Common, Packaging
    • Labels:
      None
    • Environment:
      The bug in the startup script is on all platforms. The problem after reboot noticed in Ubuntu 18.04.

      Description

      hadoop-hdfs-datanode won't start after machine reboot because of missing /var/run/hadoop-hdfs directory.

      There is simple bug in the hadoop-hdfs-datanode startup script:

      install -d -m 0755 -o hdfs -g hdfs 1>/dev/null 2>&1 || :

      The line should be:

      install -d -m 0755 -o hdfs g hdfs /var/run/hadoop-hdfs 1>/dev/null 2>&1 || :

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              valtri František Dvořák
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: