Hello, sqlContext.parquetFile(dir)
throws exception " Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient" The strange thing is that on the second attempt to open the file it is successful: try { sqlContext.parquetFile(dir) } catch { case e: Exception => sqlContext.parquetFile(dir) } What should I do to make my script to run flawlessly in spark-shell when opening parquetFiles. It is probably missing some dependency. Or how should I write the code because this double attempt is awfull and I don't need HiveMetaStoreClient, I just need to open parquet file. Many thanks for any idea, Petr