Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Reply To: What to use for … in sc.textFile("hdfs://…/filename)

$
0
0

Yes your understanding is correct, NameNode IP and Port. in specifying hdfs path when declaring an RDD with pre-existing hdfs data.

You can find NameNode IP and Port in etc/conf/core-site.xml. If port is not there in that file by default it runs on 8020.


Viewing all articles
Browse latest Browse all 3435

Trending Articles