Hadoop Common
  1. Hadoop Common
  2. HADOOP-8433

Don't set HADOOP_LOG_DIR in hadoop-env.sh

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: scripts
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      It's better to comment the following in hadoop-env.sh

      1. Where log files are stored. $HADOOP_HOME/logs by default.
        export HADOOP_LOG_DIR=$ {HADOOP_LOG_DIR}

        /$USER

      Because of this logs are placing under root($user) and this getting called two times while starting process.
      hence logs are placing at /root/root/

      1. HADOOP-8433.patch
        1 kB
        Brahma Reddy Battula
      2. Hadoop-8433.patch
        0.7 kB
        Brahma Reddy Battula

        Activity

        Brahma Reddy Battula created issue -
        Brahma Reddy Battula made changes -
        Field Original Value New Value
        Attachment Hadoop-8433.patch [ 12529565 ]
        Brahma Reddy Battula made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Eli Collins made changes -
        Assignee Brahma Reddy Battula [ brahmareddy ]
        Brahma Reddy Battula made changes -
        Attachment HADOOP-8433.patch [ 12529950 ]
        Eli Collins made changes -
        Hadoop Flags Reviewed [ 10343 ]
        Summary Logs are getting misplaced after introducing hadoop-env.sh Don't set HADOOP_LOG_DIR in hadoop-env.sh
        Affects Version/s 3.0.0 [ 12320357 ]
        Target Version/s 2.0.0-alpha, 3.0.0 [ 12320352, 12320357 ] 2.0.1-alpha [ 12321441 ]
        Eli Collins made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Target Version/s 2.0.1-alpha [ 12321441 ]
        Fix Version/s 2.0.1-alpha [ 12321441 ]
        Resolution Fixed [ 1 ]
        Arun C Murthy made changes -
        Affects Version/s 2.0.0-alpha [ 12320352 ]
        Affects Version/s 2.1.0-alpha [ 12321441 ]
        Fix Version/s 2.0.2-alpha [ 12322473 ]
        Fix Version/s 2.1.0-alpha [ 12321441 ]
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Brahma Reddy Battula
            Reporter:
            Brahma Reddy Battula
          • Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development