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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 0.23.0
    • None
    • build
    • 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

            Unassigned Unassigned
            eli Eli Collins
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: