hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manickam P <manicka...@outlook.com>
Subject Moving a file to HDFS
Date Thu, 26 Sep 2013 14:35:03 GMT
Guys,
I have done a federated cluster setup. when i try to move a file to HDFS using copyFromLocal
it says the below.      copyFromLocal: Renames across FileSystems not supportedI used the
below command to move the file. ./hdfs dfs -copyFromLocal /home/1gb-junk /home/storage/mount1

Am i doing anything wrong here? pls help me to resolve this issue. It really stuck me. 
Below is my core site xml.       <property>		<name>fs.default.name</name>
	<value>viewfs:///</value>	</property>	<property>		<name>fs.viewfs.mounttable.default.link./home/storage/mount1</name>
	<value>hdfs://10.108.99.68:8020</value>	</property>	<property>		<name>fs.viewfs.mounttable.default.link./home/storage/mount2</name>
	<value>hdfs://10.108.99.69:8020</value>	</property> 
Below is my hdfs site xml:     <property>	 <name>dfs.replication</name>
 <value>2</value>	</property> 	<property>        <name>dfs.webhdfs.enabled</name>
       <value>true</value>    </property>	<property>        <name>dfs.federation.nameservices</name>
       <value>nn01,nn02</value>    </property>    <property>     
  <name>dfs.namenode.rpc-address.nn01</name>        <value>10.108.99.68:8020</value>
     </property>      <property>        <name>dfs.namenode.rpc-address.nn02</name>
       <value>10.108.99.69:8020</value>      </property>	<property>
  <name>dfs.name.dir</name>	  <value>/home/storage/namenode</value>
</property>

Thanks,
Manickam P 		 	   		  
Mime
View raw message