I have logged in to ma1-dsrqt-lapp101.corp.apple.com
server
inside the server file location is (Note : this file is not there in HDFS Location)
/ngs/app/idmaerqt/reports/BD_REPORTS_RK/missingRecs.txt
I am trying to read this file with below code using spark 1.6.2 but not able to read the file.
val inputPath = "/ngs/app/idmaerqt/reports/BD_REPORTS_RK/missingRecs.txt"
inputRecords = sc.textFile("file:///"+inputPath)
Please let me know where I am doing wrong, any help appreciated.
Thanks for your help.