How to copy file from Local file system to HDFS?

0 votes

Hi Team,

I have some files in the local system. I want to copy the files to HDFS Cluster. How can I do that?

Oct 19 in Big Data Hadoop by akhtar
• 32,960 points
90 views

1 answer to this question.

0 votes

Hi@akhtar,

You can copy files from your local system to HDFS. Hadoop has commands to copy files as shown below.

$ hdfs dfs -copyFromLocal /home/ubuntu/new /hadoop
answered Oct 19 by MD
• 77,580 points

Related Questions In Big Data Hadoop

0 votes
1 answer

Copy file from HDFS to the local file system

There are two possible ways to copy ...READ MORE

answered Mar 27, 2018 in Big Data Hadoop by nitinrawat895
• 10,950 points
11,631 views
0 votes
1 answer

Hadoop: How to copy directory from local system to hdfs using Java code?

Just use the FileSystem's copyFromLocalFile method. If the source Path ...READ MORE

answered Nov 14, 2018 in Big Data Hadoop by Omkar
• 69,030 points
2,399 views
0 votes
1 answer
0 votes
2 answers

hadoop copy a local file system folder to HDFS

There's a typo in your command: "hadopp". ...READ MORE

answered Feb 4, 2019 in Big Data Hadoop by Lohith
14,841 views
–1 vote
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,320 points
2,370 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,950 points
6,331 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyF ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
41,628 views
+1 vote
1 answer
0 votes
1 answer

How to copy files from HDFS to local system?

Hi@akhtar, You can use the put command in ...READ MORE

answered Oct 1 in Big Data Hadoop by MD
• 77,580 points
48 views
0 votes
1 answer

How to append files from local system to HDFS?

Hi@akhtar, You can use appendToFile in your Hadoop ...READ MORE

answered Oct 1 in Big Data Hadoop by MD
• 77,580 points
37 views