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

hadoop-daemon.sh and yarn-daemon.sh are trying to mkdir and chow log/pid dirs which can fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.23.0
    • 0.23.1
    • scripts
    • None

    Description

      Here's what I see when using Hadoop in Bigtop:

      $ sudo /sbin/service hadoop-hdfs-namenode start
      Starting Hadoop namenode daemon (hadoop-namenode): chown: changing ownership of `/var/log/hadoop': Operation not permitted
      starting namenode, logging to /var/log/hadoop/hadoop-hdfs-namenode-centos5.out
      

      This is a cosmetic issue, but it would be nice to fix it.

      Attachments

        1. HADOOP-8012.patch.txt
          2 kB
          Roman Shaposhnik

        Activity

          People

            rvs Roman Shaposhnik
            rvs Roman Shaposhnik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: