Hi I have installed Apache Spark 1.6.0 and I am trying to persist data to Hive using DataFrame.saveAsTable(). However I am getting errors when it tries to make the /user/hive directory. My understanding was that I automatically got Hive when I installed a binary version of Apache Spark. I also cannot find any of the Hive config files under my $SPARK_HOME directory. To solve this do I need to install Hive separately ?
This is the error I'm getting:
java.io.IOException: Mkdirs failed to create file:/user/hive/warehouse/wikidata_perm/_temporary/0/_temporary/attempt_201601250849_0002_m_000000_0
(exists=false, cwd=file:/home/myuser/devel/sandbox/Learning/Spark/LearningSpark/AmpCampHandsOn)