----Configuration-----
<property>
<name>dfs.name.dir</name>
<value>/home/administrator/hadoop/hdfs/name</value>
</property>
<property>
<name>dfs.data.dir</name>
<value>/home/administrator/hadoop/hdfs/data</value>
</property>
---is associated with this configuration estimate, which looks like a directory problem----
------------Command----------
Hadoop fs-copyfromlocal input/ncdc/micro/1901/user/administrator/input/ncdc/micro/1901
--------------Error--------
CopyFromLocal:java.io.FileNotFoundException:Parent path is not a directory:/user/administrator
---------Solve----------
Hadoop Fs-mkdir Input/ncdc/micro
Mkdir:java.io.FileNotFoundException:Parent path is not a directory:/user/administrator
Hadoop Fs-ls.
-rw-r--r--1 Administrator supergroup 0 2012-04-25 21:47/user/administrator----is really not a directory
Hadoop fs-rmr/user/administrator------------Delete
Hadoop fs-mkdir Hdfs://localhost:9000/user/administrator/input/ncdc/micro----Success
Hadoop Fs-ls. &NB Sp --------View OK
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.