How to upload and download file in hadoop?

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

Ads









Related Tutorials/Questions & Answers:
How to upload and download file in hadoop?
upload and download a file - Java Beginners
Advertisements
how to upload and download images in java?
how to upload and download images using buttons in jsp?
how to download a file from a folder??
How to upload file on FTP Server
How to upload file using JSP?
how to upload file using FTP in java
How to Increase Upload File Size Limit in php
upload and download mp3
How I Upload File and Store that file name in Database using JSP
Upload and Download multiple files
how to create a php script to download file
File Upload
upload and download video
how to upload a file of apk format in a folder from servlet
ModuleNotFoundError: No module named 'hadoopy'
file download
How to upload zip file from android to server programmatically?????
how do i upload a file by using servlet or jsp?
Photo upload, Download
How i upload file and save that record in database using JSP?
how to upload multiple files in jsp and saving the path in database and the file in folder
jsp upload file to server
File Download in jsp
file upload
File Upload
How to browse and upload the file in same page using jsp.
How to browse and upload the file in same page using jsp.
How to Upload a file directly to Oracle database using JSP or Servlets?
Upload and Download Large files in jsp

Ads