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, 2019 in Big Data Hadoop by Rehan
166 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, 2019 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,870 points
8,620 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
6,471 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
902 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, 2019 in Big Data Hadoop by Lokesh Singh
1,651 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,380 points
151 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,380 points
407 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,380 points
445 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,000 points
1,327 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,660 points
4,000 views