Hadoop Common
  1. Hadoop Common
  2. HADOOP-8055

Distribution tar.gz does not contain etc/hadoop/core-site.xml

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.1
    • Component/s: build
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      A dist built from trunk (0.24.0-SNAPSHOT) does not contain a core-site.xml in $HADOOP_HOME/etc/hadoop/ folder.

      $HADOOP_HOME/sbin/start-dfs.sh without that folder gives an exception
      Exception in thread "main" java.lang.IllegalArgumentException: URI has an authority component
      at java.io.File.<init>(File.java:368)
      at org.apache.hadoop.hdfs.server.namenode.NNStorage.getStorageDirectory(NNStorage.java:310)
      at org.apache.hadoop.hdfs.server.namenode.FSEditLog.init(FSEditLog.java:178)
      ...

      Manually creating $HADOOP_HOME/etc/hadoop/core-site.xml solves this problem and hadoop starts fine.

      1. HADOOP-8055.patch
        1 kB
        Harsh J
      2. HADOOP-8055.patch
        1 kB
        Eric Charles

        Activity

        Allen Wittenauer made changes -
        Fix Version/s 0.24.0 [ 12317652 ]
        Allen Wittenauer made changes -
        Affects Version/s 0.24.0 [ 12317652 ]
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mahadev konar made changes -
        Fix Version/s 0.23.1 [ 12318884 ]
        Fix Version/s 0.23.2 [ 12319855 ]
        Suresh Srinivas made changes -
        Target Version/s 0.23.1 [ 12318884 ]
        Harsh J made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Target Version/s 0.23.2, 0.24.0 [ 12319855, 12317652 ]
        Fix Version/s 0.24.0 [ 12317652 ]
        Fix Version/s 0.23.2 [ 12319855 ]
        Resolution Fixed [ 1 ]
        Harsh J made changes -
        Hadoop Flags Reviewed [ 10343 ]
        Target Version/s 0.23.2, 0.24.0 [ 12319855, 12317652 ] 0.24.0, 0.23.2 [ 12317652, 12319855 ]
        Harsh J made changes -
        Assignee Harsh J [ qwertymaniac ]
        Harsh J made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Target Version/s 0.23.2, 0.24.0 [ 12319855, 12317652 ] 0.24.0, 0.23.2 [ 12317652, 12319855 ]
        Harsh J made changes -
        Attachment HADOOP-8055.patch [ 12514109 ]
        Harsh J made changes -
        Target Version/s 0.24.0, 0.23.2 [ 12317652, 12319855 ]
        Eric Charles made changes -
        Field Original Value New Value
        Attachment HADOOP-8055.patch [ 12514101 ]
        Eric Charles created issue -

          People

          • Assignee:
            Harsh J
            Reporter:
            Eric Charles
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development