You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Mohit Anchlia <mo...@gmail.com> on 2012/02/21 18:16:56 UTC
Difference between hdfs dfs and hdfs fs
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.
Re: Difference between hdfs dfs and hdfs fs
Posted by madhu phatak <ph...@gmail.com>.
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 <mo...@gmail.com>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/