Write the command to copy a file from linux to hdfs?
Answer / Neeraj Kumar Tyagi
The command to copy a file from Linux to HDFS is hadoop fs -put <source_local_file> <destination_hdfs_directory>
| Is This Answer Correct ? | 0 Yes | 0 No |
Which classes are used by the hive to read and write hdfs files?
Can multiple clients write into a Hadoop HDFS file concurrently?
What is the benifit of Distributed cache, why can we just have the file in HDFS and have the application read it?
How NameNode tackle Datanode failures in HDFS?
How to change the replication factor of data which is already stored in HDFS?
If a particular file is 50 mb, will the hdfs block still consume 64 mb as the default size?
How one can change Replication factor when Data is already stored in HDFS
How to create directory in HDFS?
What alternate way does HDFS provides to recover data in case a Namenode, without backup, fails and cannot be recovered?
What is hdfs block size?
Mention what is the difference between hdfs and nas?
What is the importance of dfs.namenode.name.dir in HDFS?
Apache Hadoop (394)
MapReduce (354)
Apache Hive (345)
Apache Pig (225)
Apache Spark (991)
Apache HBase (164)
Apache Flume (95)
Apache Impala (72)
Apache Cassandra (392)
Apache Mahout (35)
Apache Sqoop (82)
Apache ZooKeeper (65)
Apache Ambari (93)
Apache HCatalog (34)
Apache HDFS Hadoop Distributed File System (214)
Apache Kafka (189)
Apache Avro (26)
Apache Presto (15)
Apache Tajo (26)
Hadoop General (407)