AnalysisException: org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:Table default.partition_test failed strict managed table checks due to the following reason: Table is marked as a managed table but is not transactional.)
运行spark-shell出现以上异常
修改hive-site.xml
hive.strict.managed.tables=false
即可