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

HADOOP_LOG_DIR has to be set explicitly when running from the tarball

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 0.23.0
    • Fix Version/s: None
    • Component/s: build
    • Labels:
      None

      Description

      When running bin and sbin commands from the tarball if HADOOP_LOG_DIR is not explicitly set in hadoop-env.sh it doesn't use HADOOP_HOME/logs by default like it used to, instead picks a wrong dir:

      localhost: mkdir: cannot create directory `/eli': Permission denied
      localhost: chown: cannot access `/eli/eli': No such file or directory
      

      We should have it default to HADOOP_HOME/logs or at least fail with a message if the dir doesn't exist, the env var isn't set.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              eli Eli Collins
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: