I am new to the Spark and Scala Technology. I'm getting the following exception while trying to load a file from local file system into table using Spark. Spark version -2.0 and Scala version - 2.11
scala> sqlContext.sql("LOAD DATA LOCAL INPATH 'file.txt' INTO TABLE student")
org.apache.spark.sql.AnalysisException: LOAD DATA input path does not exist: file.txt