|
|
-
Re: Difference between hdfs dfs and hdfs fsmadhu phatak 2012-02-28, 09:07
Hi Mohit,
FS is a generic filesystem which can point to any file systems like LocalFileSystem,HDFS etc. But dfs is specific to HDFS. So when u use fs it can copy from local file system to hdfs . But when u specify dfs src file has to be on HDFS. On Tue, Feb 21, 2012 at 10:46 PM, Mohit Anchlia <[EMAIL PROTECTED]>wrote: > What's the different between hdfs dfs and hdfs fs commands? When I run hdfs > dfs -copyFromLocal /assa . and use pig it can't find it but when I use hdfs > fs pig is able to find the file. > -- Join me at http://hadoopworkshop.eventbrite.com/ |