Practising from spark shell , by uploading any file through Hue or local directory , fails

HI ,
I have uploaded a practice text file in through Hue HDFS as well as local directory
But my RDD s are failing to find the path giving the below error.

Code:
var rawData = sc.textFile("/home/asmitaece887002/cars_1.txt")
val carsData=rawData.map(x=>x.split("\t"))
carsData.take(10)

Error

org.apache.hadoop.mapred.InvalidInputException: Input path does not exist: hdfs://ip-172-31-35-141.ec2.internal:8020/home/asmitaece887002/cars_1.txt
at org.apache.hadoop.mapred.FileInputFormat.singleThreadedListStatus(FileInputFormat.java:287)
at org.apache.hadoop.mapred.FileInputFormat.listStatus(FileInputFormat.java:229)
at org.apache.hadoop.mapred.FileInputFormat.getSplits(FileInputFormat.java:315)

Please help

Thanks