How to upload and download file in hadoop?

Ads
 

How to upload and download file in hadoop?

Hi,

I am trying to learn to upload the file on the Hadoop HDFS and then download the same file for learning the process.

How to upload and download file in hadoop?

What are the commands for uploading file to Hadoop?

What is the command for downloading file from Hadoop HDFS?

Thanks

View Answers

May 3, 2017 at 11:49 AM

Hi,

Hadoop provides the Hadoop File system which is known as HDFS and its distributed file system. Hadoop files are distributed on the Hadoop clusters.

To upload a file you can use the following command:

 hadoop fs -put /<local machime path/filename> /<hdfs path/>

Above command will upload the file on Hadoop.

Following is the command to download the file:

 hadoop fs -get /<hdfs path> /<local machime path>

Thanks


May 3, 2017 at 11:50 AM

Hi,

You can learn more at Hadoop and Big Data tutorials page.

Thanks


October 21, 2018 at 1:33 AM

Hi,

Hadoop is one of the most used Big Data Platform. These days Hadoop cluster is used by companies around the world to manage their huge amount of data. The main use is to store and analyze large datasets to get maximum out of the companies data.

Software professional can join our online Hadoop training classes to master Hadoop eco-system software stack.

We offer Hadoop and Big data training online classes.

Join it at:

Thanks

Ads









Related Tutorials/Questions & Answers:
How to upload and download file in hadoop?
file upload download - Java Beginners
Advertisements
upload and download a file - Java Beginners
Upload and download file - JSP-Servlet
code to upload and download a file - Java Magazine
java code to upload and download a file - Java Beginners
how to upload and download images in java?
how to upload and download images using buttons in jsp?
how to download file
File Upload And download JSP Urgent - JSP-Servlet
how to download a file from a folder??
upload ,download and update file document - JDBC
How to upload file on FTP Server
how to upload a file - JSP-Servlet
How to upload file using JSP?
how to upload file using FTP in java
upload and download mp3
how to create a php script to download file
How to Increase Upload File Size Limit in php
Struts File Upload and Save
upload and download files - JSP-Servlet
Upload and Download multiple files
How I Upload File and Store that file name in Database using JSP
How to upload a large excel file - JSP-Servlet
upload and download video
How to upload and save a file in a folder - Java Beginners
how to upload a file of apk format in a folder from servlet
File Upload in Struts.
how to create a php script to download file from database mysql
how to create a php script to download file from database mysql
How to download and save a file from Internet using Java?

Ads