hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Charles (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8055) Distribution tar.gz does not contain etc/hadoop/core-site.xml
Date Fri, 10 Feb 2012 14:08:59 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-8055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205463#comment-13205463
] 

Eric Charles commented on HADOOP-8055:
--------------------------------------

TILT, core-site.xml is 'common' to 'dfs' and 'yarn', so it has to go to hadoop-common-project/hadoop-common/src/main/conf
I tested this with 0.24 and 0.23, and it works fine.

If OK for you, I will leave you add the core-site.xml file (in trunk and branch0.23) without
submitting further patch. Just tell me!
I will try next time to submit via qa buildbot, and get some -1 from our good friend Hudson.

Regarding hadoop-assemblies/src/main/resources/assemblies/hadoop-dist.xml, it is not referenced
anywhere. I had a first natural look at it (canonical maven way to do a tarball), but came
after to the conclusion that the tar is done via the ant-run script I talked previously located
in hadoop-site/pom.xml (to be confirmed/invalidate by anyone). I understand that hadoop-dist.xml
as a ground for a future way to tarball hadoop.

Thx for the links about the branches. I knew the Cloudera one which didn't mention yet 0.24,
and discovered the fresh bigtop one (posted during my last night) - very instructive (my remaining
question is why are we working on 0.24 while 1.0 has been released? - just kidding :).

                
> 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
>    Affects Versions: 0.24.0
>            Reporter: Eric Charles
>         Attachments: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message