Not found file path for loading in spark


#1

scala> val emp1=sc.textFile(“hdfs://nn01.itversity.com:8020/.staging/emp.txt”)

not work, it does not found path


#2

@kishor_jumde Give full HDFS path like:

scala> val emp1=sc.textFile(“hdfs://nn01.itversity.com:8020/user/username/.staging/emp.txt”)