Hi@akhtar,
You tried to read file from your hdfs cluster. So you have to give the full path of the file along with master ip and port.
$ val dfs = sqlcontext.read.format("com.databricks.spark.csv").option("header", "true").option("inferschema","true").load("hdfs://master ip:port/hive/bike")
Hope it will solve your problem.
Thank You