Dear All,I have been trying to configure hadoop on a cluster but when i try to  
issue any comand regarding the hdfs like mkdir I get that the it is trying to 
connect to the server and after that it fails. I issued to commands the format 
and the mkdir but the fail please help and advise.RegardsAhmed

ahmednagy@cannonau:~/HadoopStandalone/hadoop-0.21.0/bin$ ./hadoop namenode 
-formatDEPRECATED: Use of this script to execute hdfs command is 
deprecated.Instead use the hdfs command for it.
11/02/04 12:04:03 INFO namenode.NameNode: 
STARTUP_MSG:/************************************************************STARTUP_MSG:
 Starting NameNodeSTARTUP_MSG:   host = 
cannonau.isti.cnr.it/146.48.82.190STARTUP_MSG:   args = [-format]STARTUP_MSG:   
version = 0.21.0STARTUP_MSG:   classpath = 
/home/ahmednagy/HadoopStandalone/hadoop-0.21.0/bin/../conf:/usr/lib/jvm/java-6-sun/lib/tools.jar:/home/ahmednagy/HadoopStandalone/hadoop-0.21.0/bin/..:/home/ahmednagy/HadoopStandalone/hadoop-0.21.0/bin/../hadoop-common-0.21.0.jar:/home/ahmednagy/HadoopStandalone/hadoop-0.21.0/bin/../hadoop-common-test-0.21.0.jar:/home/ahmednagy/HadoopStandalone/hadoop-0.21.0/bin/../hadoop-hdfs-0.21.0.jar:/home/ahmednagy/HadoopStandalone/hadoop-0.21.0/bin/../hadoop-hdfs-0.21.0-sources.jar:/home/ahmednagy/HadoopStandalone/hadoop-0.21.0/bin/../hadoop-hdfs-ant-0.21.0.jar:/home/ahmednagy/HadoopStandalone/hadoop-0.21.0/bin/../hadoop-hdfs-test-0.

A long list of paths
STARTUP_MSG:   build = 
https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.21 -r 985326; 
compiled by 'tomwhite' on Tue Aug 17 01:02:28 EDT 
2010************************************************************/11/02/04 
12:04:03 WARN common.Util: Path /tmp/mylocal should be specified as a URI in 
configuration files. Please update hdfs configuration.11/02/04 12:04:03 WARN 
common.Util: Path /tmp/mylocal should be specified as a URI in configuration 
files. Please update hdfs configuration.Re-format filesystem in /tmp/mylocal ? 
(Y or N) yFormat aborted in /tmp/mylocal11/02/04 12:04:14 INFO 
namenode.NameNode: 
SHUTDOWN_MSG:/************************************************************SHUTDOWN_MSG:
 Shutting down NameNode at 
cannonau.isti.cnr.it/146.48.82.190************************************************************/ahmednagy@cannonau:~/HadoopStandalone/hadoop-0.21.0/bin$
 /hadoop dfs -mkdir input-bash: /hadoop: No such file or 
directoryahmednagy@cannonau:~/HadoopStandalone/had
 oop-0.21.0/bin$ ./hadoop dfs -mkdir inputDEPRECATED: Use of this script to 
execute hdfs command is deprecated.Instead use the hdfs command for it.
11/02/04 12:04:30 INFO security.Groups: Group mapping 
impl=org.apache.hadoop.security.ShellBasedUnixGroupsMapping; 
cacheTimeout=30000011/02/04 12:04:31 WARN conf.Configuration: mapred.task.id is 
deprecated. Instead, use mapreduce.task.attempt.id11/02/04 12:04:32 INFO 
ipc.Client: Retrying connect to server: 
cannonau.isti.cnr.it/146.48.82.190:8020. Already tried 0 time(s).11/02/04 
12:04:33 INFO ipc.Client: Retrying connect to server: 
cannonau.isti.cnr.it/146.48.82.190:8020. Already tried 1 time(s).11/02/04 
12:04:34 INFO ipc.Client: Retrying connect to server: 
cannonau.isti.cnr.it/146.48.82.190:8020. Already tried 2 time(s).11/02/04 
12:04:35 INFO ipc.Client: Retrying connect to server: 
cannonau.isti.cnr.it/146.48.82.190:8020. Already tried 3 time(s).11/02/04 
12:04:36 INFO ipc.Client: Retrying connect to server: 
cannonau.isti.cnr.it/146.48.82.190:8020. Already tried 4 time(s).11/02/04 
12:04:37 INFO ipc.Client: Retrying connect to server: 
cannonau.isti.cnr.it/146.48.82.190:8020. A
 lready tried 5 time(s).11/02/04 12:04:38 INFO ipc.Client: Retrying connect to 
server: cannonau.isti.cnr.it/146.48.82.190:8020. Already tried 6 
time(s).11/02/04 12:04:39 INFO ipc.Client: Retrying connect to server: 
cannonau.isti.cnr.it/146.48.82.190:8020. Already tried 7 time(s).11/02/04 
12:04:40 INFO ipc.Client: Retrying connect to server: 
cannonau.isti.cnr.it/146.48.82.190:8020. Already tried 8 time(s).11/02/04 
12:04:41 INFO ipc.Client: Retrying connect to server: 
cannonau.isti.cnr.it/146.48.82.190:8020. Already tried 9 time(s).Bad connection 
to FS. command aborted.ahmednagy@cannonau:~/HadoopStandalone/hadoop-0.21.0/bin$ 
 Path /tmp/mylocal should be specified as a URI in configuration files. Please 
update hdfs configuration.-bash: Path: command not found

 
11/02/04 12:04:03 WARN common.Util: Path /tmp/mylocal should be specified as a 
URI in configuration files. Please update hdfs configuration.11/02/04 12:04:03 
WARN common.Util: Path /tmp/mylocal should be specified as a URI in 
configuration files. Please update hdfs configuration.Re-format filesystem in 
/tmp/mylocal ? (Y or N) yFormat aborted in /tmp/mylocal11/02/04 12:04:14 INFO 
namenode.NameNode: 
SHUTDOWN_MSG:/************************************************************SHUTDOWN_MSG:
 Shutting down NameNode at 
cannonau.isti.cnr.it/146.48.82.190************************************************************/ahmednagy@cannonau:~/HadoopStandalone/hadoop-0.21.0/bin$
 /hadoop dfs -mkdir input-bash: /hadoop: No such file or 
directoryahmednagy@cannonau:~/HadoopStandalone/hadoop-0.21.0/bin$ ./hadoop dfs 
-mkdir inputDEPRECATED: Use of this script to execute hdfs command is 
deprecated.Instead use the hdfs command for it.

                                          

Reply via email to