יום ראשון, 9 ביוני 2013

temp HDFS nodename

In the single node setup a temporary HDFS is created and located in:
 tmp/hadoop-zvika
The following command
bin/hadoop namenode –format
Should be execute on every machine restart in order to create the tmp HDFS  
Only after executing the command  there is an access to nodename: http://localhost:50070/

HDFS
commands :
~/myStaff/Hadoop/hadoop-1.1.2/bin$ ./hadoop fs –help
Create directory
./hadoop fs -mkdir /user/hadoop/dir1
List the created directory
zvika@ubuntu:~/myStaff/Hadoop/hadoop-1.1.2/bin$ ./hadoop fs -ls /user/hadoop
Found 1 items
drwxr-xr-x   - zvika supergroup          0 2013-06-09 22:26 /user/hadoop/dir1

אין תגובות:

הוסף רשומת תגובה