You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2015/03/10 03:27:38 UTC
[jira] [Updated] (HADOOP-8055) Distribution tar.gz does not contain
etc/hadoop/core-site.xml
[ https://issues.apache.org/jira/browse/HADOOP-8055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer updated HADOOP-8055:
-------------------------------------
Affects Version/s: (was: 0.24.0)
> Distribution tar.gz does not contain etc/hadoop/core-site.xml
> -------------------------------------------------------------
>
> Key: HADOOP-8055
> URL: https://issues.apache.org/jira/browse/HADOOP-8055
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Reporter: Eric Charles
> Assignee: Harsh J
> Fix For: 0.23.1
>
> Attachments: HADOOP-8055.patch, HADOOP-8055.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)