spark Failed to get database default, returning NoSuchObjectException

 

 

解决方法:
1)Copy winutils.exe from here(https://github.com/steveloughran/winutils/tree/master/hadoop-2.6.0/bin) to some folder say, C:\Hadoop\bin. Set HADOOP_HOME to C:\Hadoop.
2)Open admin command prompt. Run C:\Hadoop\bin\winutils.exe chmod 777 /tmp/hive

posted @ 2018-10-18 22:10  chenzechao  阅读(771)  评论(0编辑  收藏  举报