看看报什么错 at javalangreflectMethodinvokeMethodjava498 at orgapachesparkdeployJavaMainApplicationstartSparkApplicationscala52 at orgapachesparkdeploySparkSubmit$org$apache$spark$deploy$SparkSubmi
该错误提示为:org.apache.spark.sql.AnalysisException: org.apache.hadoop.hive.ql.metadata.HiveException: org.apache.hadoop.hive.ql.metadata.HiveException: Load Data failed for hdfs://nameservice1/user/simba/deploy_vtrue/test02/.hive-staging_hive_2023-06-14_15-04-25_660_3481322595168329643-1/-ext-10000/part-00000-cc487852-507e-4f94-ae27-aa5a039b958c-c000 as the file is not owned by hive and load data is also not ran as hive;
这个错误是因为在执行Load Data时,文件不是由hive所拥有,且Load Data也不是以hive身份运行的。需要将文件的所有权(owner)更改为hive,并以hive身份运行Load Data操作
原文地址: https://www.cveoy.top/t/topic/g9p1 著作权归作者所有。请勿转载和采集!