hadoop fs-ls
I execute the above command ,
show the following results
Found 1 items
drwxr-xr-x guoxiang supergroup 0 2013-03-13 14:43 / user / myhadoop / testdir
read out file location / user / myhadoop / testdir, would like to ask the file system in linux which location ? In linux system using cd can find to do ?
I create a file when using a
hadoop fs-mkdir testdir
The default path is what ah ?
I'm just learning Hadoop, understanding of these commands is not very thorough , seeking help, very grateful
------ Solution ----------------- ---------------------------
If you do not set the path , then, is on the datanode / tmp/hadoop- ( user name ) / data this directory
------ For reference only --------------------------- ------------
Thank you, but I looked at
I / tmp directory has this
hadoop-myhadoop-datanode.pid
hadoop-myhadoop-jobtracker.pid
hadoop-myhadoop-namenode.pid
hadoop-myhadoop-secondarynamenode.pid
hadoop-myhadoop-tasktracker.pid
What are these documents ? ?
There Jetty_0_0_0_050030_job___yn7qmk
Jetty_0_0_0_050060_task___.2vcltf
Jetty_0_0_0_050075_datanode___hwtdwq
Jetty_0_0_0_050070_hdfs___w2cu88
Jetty_0_0_0_050090_secondary___y6aanv
these folders , but did not see you say / tmp/hadoop- ( user name ) / data directory ,
And Jetty_0_0_0_050075_datanode___hwtdwq below nor I know the file , you can then help me explain it ? Thank you, ah
------ For reference only ------------------------------------ ---
he kept the file block , rather than a one file, so you can not see
没有评论:
发表评论