[
https://issues.apache.org/jira/browse/HDFS-2323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13100782#comment-13100782
]
Tom White commented on HDFS-2323:
---------------------------------
To ran a pseudo distributed HDFS cluster I ran
{noformat}
mvn clean package -Pdist -Dtar -DskipTests -P-cbuild
{noformat}
from the top level, then from another directory
{noformat}
mkdir hadoop
cd hadoop
tar zxf
~/workspace/hadoop-trunk/hadoop-hdfs-project/hadoop-hdfs/target/hadoop-hdfs-0.24.0-SNAPSHOT.tar.gz
--strip 1
tar zxf
~/workspace/hadoop-trunk/hadoop-common-project/hadoop-common/target/hadoop-common-0.24.0-SNAPSHOT.tar.gz
--strip 1
export HADOOP_COMMON_HOME=$(pwd)
export HADOOP_HDFS_HOME=$(pwd)
cat > $HADOOP_COMMON_HOME/etc/hadoop/core-site.xml << EOF
<?xml version="1.0"?>
<!-- core-site.xml -->
<configuration>
<property>
<name>fs.default.name</name>
<value>hdfs://localhost/</value>
</property>
</configuration>
EOF
sbin/start-dfs.sh
{noformat}
> start-dfs.sh script fails for tarball install
> ---------------------------------------------
>
> Key: HDFS-2323
> URL: https://issues.apache.org/jira/browse/HDFS-2323
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Tom White
> Assignee: Tom White
> Attachments: HDFS-2323.patch
>
>
> I build Common and HDFS tarballs from trunk then tried to start a cluster
> with start-dfs.sh, but I got the following error:
> {noformat}
> Starting namenodes on [localhost ]
> sbin/start-dfs.sh: line 55:
> /Users/tom/tmp/hadoop/libexec/../bin/hadoop-daemons.sh: No such file or
> directory
> sbin/start-dfs.sh: line 68:
> /Users/tom/tmp/hadoop/libexec/../bin/hadoop-daemons.sh: No such file or
> directory
> Starting secondary namenodes [0.0.0.0 ]
> sbin/start-dfs.sh: line 88:
> /Users/tom/tmp/hadoop/libexec/../bin/hadoop-daemons.sh: No such file or
> directory
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira