记录一下今天晚上出现的问题。
Exception in thread "main" org.apache.spark.sql.AnalysisException: org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:Got exception: org.apache.hadoop.security.AccessControlException Permission denied: user=Áõij, access=WRITE, inode="/user/hive/warehouse/sparksql.db":bigdata1:supergroup:drwxr-xr-x
定位到错误信息,我们发现了关于权限问题,inode="/user/hive/warehouse/sparksql.db":bigdata1:supergroup:drwxr-xr-x”
于是通过端口号,将权限改成777之后,可以正常创建表。