in Education by
Are they same? In my view "hadoop fs" command shows the hdfs files and the "hdfs dfs" command shows the local files, why is that? Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
The “fs” term refers to a generic file system, which by the definition can point to ANY file system ( including HDFS), but dfs is very specific. On the other hand, “DFS” refers precisely to Hadoop Distributed File System access. So when we use FS it can perform operation related to local or hadoop distributed file system and dfs can perform operation related to hadoop distributed file system only. So, hadoop fs It is used when we are dealing with different file systems such as Local FS, HDFS etc. hdfs dfs It is used when we are dealing for operations related to HDFS. Another command, which looks similiar to these two is 3. hadoop dfs This command should not be used, as it is deprecated. Even if you use it, it will send the command to hdfs dfs.

Related questions

0 votes
    Can someone tell me what is the basic difference between HBase and Hadoop? I have done my own research but I ... in Layman terms. Select the correct answer from above options...
asked Jan 20, 2022 in Education by JackTerrance
0 votes
    I do not understand the differences between using S3 and S3n with my Hadoop cluster, can someone explain? Select the correct answer from above options...
asked Jan 26, 2022 in Education by JackTerrance
0 votes
    How can I find the size of a directory, using Hadoop? Select the correct answer from above options...
asked Jan 21, 2022 in Education by JackTerrance
0 votes
    I tried moving the files using WinSCP, but it didn't help. So, I wanna know how can I copy files from ... local computer file system. Select the correct answer from above options...
asked Jan 21, 2022 in Education by JackTerrance
0 votes
    I am having some trouble writing the code for wordcount program using MapReduce, I could use some help. Select the correct answer from above options...
asked Jan 21, 2022 in Education by JackTerrance
0 votes
    I tried reading from various sources but I am still not very clear about their difference. What majorly seperates Mongodb and Hadoop? Select the correct answer from above options...
asked Jan 21, 2022 in Education by JackTerrance
0 votes
    I would like to know the relation between the mapreduce.map.memory.mb and mapred.map.child.java.opts parameters. ... .child.java.opts? Select the correct answer from above options...
asked Jan 28, 2022 in Education by JackTerrance
0 votes
    What are Hadoop HDFS Commands?...
asked Aug 3, 2021 by JackTerrance
0 votes
    I would like to know is there any command/expression to get only the file name in hadoop. I need to fetch only the ... cut -d ' ' -f17 Select the correct answer from above options...
asked Jan 28, 2022 in Education by JackTerrance
0 votes
    The Hadoop list includes the HBase database, the Apache Mahout ________ system, and matrix operations. ... recognition 3. Statistical classification 4. Artificial intelligence...
asked Dec 7, 2022 in Education by JackTerrance
0 votes
    Is there any way or any command which I can use in command prompt to know the version of Hadoop? Also, how ... the version of Hive? Select the correct answer from above options...
asked Jan 21, 2022 in Education by JackTerrance
0 votes
    What is the difference between Hadoop, HBase, Hive and Pig? I know the basic Definitions of all these terms, But ... can these be used? Select the correct answer from above options...
asked Jan 20, 2022 in Education by JackTerrance
0 votes
    Sun also has the Hadoop Live CD ________ project, which allows running a fully functional Hadoop cluster using a live CD. 1. OpenOffice.org 2. OpenSolaris 3. GNU 4. Linux...
asked Dec 6, 2022 in Education by JackTerrance
0 votes
    When I am running a Hadoop .jar file from the command prompt, it throws an exception saying no such method ... (Child.java:264) Select the correct answer from above options...
asked Feb 2, 2022 in Education by JackTerrance
0 votes
    So, I've been looking at Hadoop with keen interest, and to be honest I'm fascinated, things don't get much ... anyone know of one? Select the correct answer from above options...
asked Feb 2, 2022 in Education by JackTerrance
...