scala> val parquetFile = sqlContext.read.parquet("hdfs://clustername/folder/file")
any idea whats the issue ???
java.lang.IllegalArgumentException: java.net.UnknownHostException: cluster name
your host name is set to "cluster name" which is incorrect. instead of the hdfs://clustername/folder/file" use hdfs://hostname/folder/file", update it with your hostname.
I have used localhost as address assuming you are use a standalone conf, else you need to find out the name of the namenode. Also it might just need hdfs instead of webhdfs as prefix of the address. law dissertation writing service