File name in Spark context

org.apache.hadoop.mapred.InvalidInputException: Input path does not exist: hdfs://

how to mention file name in sc.Textfile ???

@sreejesh1701 - Could you please provide your full query which tried to execute.

It should be

someRdd = sc.textFile(" some hadoop file path")

I m trying to execute below command in itversity lab
val lines=sc.textFile(“hdfs://user/sreejesh1701/sparkinput/moovie-rating-100k/”)
getting error :
cala> lines.count()
java.lang.IllegalArgumentException: user
at org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(
at org.apache.hadoop.hdfs.NameNodeProxies.createProxy(
at org.apache.hadoop.hdfs.DFSClient.(
at org.apache.hadoop.hdfs.DFSClient.(
at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(
at org.apache.hadoop.fs.FileSystem.createFileSystem(
at org.apache.hadoop.fs.FileSystem.access$200(

@sreejesh1701 - You can remove hdfs:/ from that or
give hdfs://…