启动hadoop 后(jps出现6个进程,hadoop已成功启动。)/usr/hadoop/hadoop-1.0.3$输入: bin/hadoop fs -mkdir /user/hive/warehouse,显示出已存在。
具体代码:
xukai@xukai-DX4820:/usr/hadoop/hadoop-1.0.3$ bin/hadoop fs -mkdir /user/hive/warehouse
Warning: $HADOOP_HOME is deprecated.
mkdir: cannot create directory /user/hive/warehouse: File exists