Mysql hostname and port also hdfs hostname and port number


#1

what is the hostname and port number of hdfs

like rdd=sc.textfile(“hdfs://localhost:9000:/dir1/file1”)

so what is the value of localhost and 9000

mysql hostname,port number, username and password


#2

hdfs://nn01.itversity.com:8020

For mysql visit - How to access MySQL in Big data labs?