Exception in thread "main" org.apache.spark.SparkException: Application application_1498149692663_01
程序员文章站
2022-06-01 15:02:56
...
最近在往hive分区表中导入数据时,遇见一个问题,就是虽然数据可以导入到hive分区表中,但是总是会报下面这个错误
我导入数据所使用的方式为:
alter table c3data.contentview add partition (year=2017,month=04,day=30,platform='Others') location '/user/cxfgs/c3/output/contentView/Hive/2017/04/30/Others/';
经过多次试验,发现原来是分区已经存在,在再次导入的时候便会报下列错误。要想让这个错误不在出现,则在导入数据的时候先删除原来的数据。
alter table c3data.contentview drop if exists partition (year=2017,month=04,day=30,platform='Others') ;
下一篇: 明虾的做法有哪些
推荐阅读
-
java编译过程中出现了Exception in thread “main" java.lang.UnsupportedClassVersionError
-
storm报错:Exception in thread "main" java.lang.RuntimeException: InvalidTopologyException(msg:Component: [mybolt] subscribes from non-existent
-
JDBC:Exception in thread “main“ java.sql.SQLException: The server time zone value ‘�й���ʱ�报错
-
归并排序栈溢出异常Exception in thread "main" java.lang.*Error
-
Exception in thread “main“ java.lang.*Error ——Spark栈溢出解决方案
-
Exception in thread “main“ org.apache.spark.SparkException: Task not serializable
-
Exception in thread "main" org.apache.spark.SparkException: Task not serializable
-
解决XML转JSON串时报错:Exception in thread "main" java.lang.NoClassDefFoundError: nu/xom/Serializer
-
成功解决:Java Exception in thread "main" java.lang.Error: 无法解析的编译问题:
-
Exception in thread "main" java.lang.Error: Always run main and tests with assertions enabled