user2200278
user2200278

Reputation: 95

how to open hdfs://localhost:54310/user/hduser/

I tried to create a directory in hadoop by using command hadoop fs -mkdir count so how to open or see hdfs://localhost:54310/user/hduser/count on single node cluster?

Upvotes: 0

Views: 10715

Answers (2)

Sourav Gulati
Sourav Gulati

Reputation: 1359

hadoop fs -lsr count

or

hadoop fs -ls /user/hduser/count

Upvotes: 0

Amar
Amar

Reputation: 12010

In order to see the folder and it's contents, you can do something like follows:

hadoop fs -ls count

And if you want to get the content to your local file system, then you can use get

hadoop fs -get count <output-path-in-your-local-filesystem>

For more detailed account on all command line options, read here.

Upvotes: 2

Related Questions