HDFS: Upload file from local file system to Edureka cloud lab

0 votes
Hi. I am using Edureka Cloud lab for hdfs practice. I want to upload a wordcount problem file which is in my local system to the lab. How to do this? Can you please mention the steps?
Jul 11 in Big Data Hadoop by Rehan
68 views

1 answer to this question.

0 votes

Step 1: Go to My Lab and click as shown below:

image

Step 2: Please refer to the below screenshot:

image

Make sure you are uploading the in the root path as shown by the 1st arrow.

And then click on Upload Files.

Step 3: Browse to the path where you have the wordcountproblem data set as shown below:

image

Check the file

image

This places the file in the FTP but it is not yet stored in hdfs.

Step 4: Now Go to My lab and then to Web Console and give the below shown command:

image

Step 5: Now to check whether the data set got stored in hdfs give the below command:

hadoop fs -ls

Refer to the below screenshots:

image

image

answered Jul 11 by Zora

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,730 points
6,489 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 in Big Data Hadoop by Lohith
3,889 views
0 votes
1 answer

Error while copying the file from local to HDFS

Well, the reason you are getting such ...READ MORE

answered May 2, 2018 in Big Data Hadoop by Ashish
• 2,630 points
572 views
+1 vote
2 answers

What does hadoop fs -du command gives as output?

du command is used for to see ...READ MORE

answered Jul 23 in Big Data Hadoop by Lokesh Singh
1,114 views
0 votes
1 answer

How can I write text in HDFS using CMD?

Hadoop put & appendToFile only reads standard ...READ MORE

answered Apr 27, 2018 in Big Data Hadoop by Shubham
• 13,310 points
97 views
0 votes
1 answer

What is the command to find the free space in HDFS?

You can use dfsadmin which runs a ...READ MORE

answered Apr 29, 2018 in Big Data Hadoop by Shubham
• 13,310 points
240 views
0 votes
1 answer

How to find the used cache in HDFS

hdfs dfsadmin -report This command tells fs ...READ MORE

answered May 4, 2018 in Big Data Hadoop by Shubham
• 13,310 points
276 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
• 67,660 points
832 views
0 votes
1 answer

How to execute python script in hadoop file system (hdfs)?

If you are simply looking to distribute ...READ MORE

answered Sep 19, 2018 in Big Data Hadoop by digger
• 26,550 points
2,460 views