exception“.internal.jaxp.datatype.xmlgregoriancalendarimpl”在配置单元查询期间

kx7yvsdv  于 2021-07-15  发布在  Hadoop
关注(0)|答案(0)|浏览(202)

当我对配置单元执行一个不包含任何日期的大型查询并且无法理解这意味着什么时,就会出现这个异常,查询只是两个大型表之间的连接

exception java.lang.IllegalArgumentException: "2019-02-29T19:37:16" is not a valid representation of an XML Gregorian Calendar value. at com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl.<init>

完整跟踪:

Status: FAILED java.lang.RuntimeException: java.sql.SQLException: Error while processing statement{Failed in 10.35.172.131} :
FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.tez.TezTask. Vertex re-running, vertexName=Map 5
, vertexId=vertex_1610800572255_205110_1_00Vertex re-running, vertexName=Map 5, 
vertexId=vertex_1610800572255_205110_1_00Vertex re-running, vertexName=Map 5,
vertexId=vertex_1610800572255_205110_1_00Vertex re-running, vertexName=Map 5,
vertexId=vertex_1610800572255_205110_1_00Vertex re-running, vertexName=Map 5, 
vertexId=vertex_1610800572255_205110_1_00Vertex re-running,
...
vertexName=Map 5, vertexId=vertex_1610800572255_205110_1_00Vertex re-running, vertexName=Map 5, 
vertexId=vertex_1610800572255_205110_1_00Vertex failed, vertexName=Map 1, vertexId=vertex_1610800572255_205110_1_01, 
diagnostics=[Task failed, taskId=task_1610800572255_205110_1_01_000041,
diagnostics=[TaskAttempt 0 failed, info=[Error: Error while running task 
( failure ) : attempt_1610800572255_205110_1_01_000041_0:java.lang.RuntimeException: j
ava.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: 
Hive Runtime Error while processing row [Error getting row data with exception java.lang.IllegalArgumentException:
"2019-02-29T16:11:22" is not a valid representation of an XML Gregorian Calendar value. 
at com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl.<init>(XMLGregorianCalendarImpl.java:440)
at com.sun.org.apache.xerces.internal.jaxp.datatype.DatatypeFactoryImpl.newXMLGregorianCalendar(DatatypeFactoryImpl.java:536)
at javax.xml.bind.DatatypeConverterImpl._parseDateTime(DatatypeConverterImpl.java:422)
at javax.xml.bind.DatatypeConverterImpl.parseDateTime(DatatypeConverterImpl.java:417)
at javax.xml.bind.DatatypeConverter.parseDateTime(DatatypeConverter.java:327)
at org.openx.data.jsonserde.objectinspector.primitive.ParsePrimitiveUtils.parseTimestamp(ParsePrimitiveUtils.java:60)
at org.openx.data.jsonserde.objectinspector.primitive.JavaStringTimestampObjectInspector.getPrimitiveWritableObject(JavaStringTimestampObjectInspector.java:73) 
at org.apache.hadoop.hive.serde2.SerDeUtils.buildJSONString(SerDeUtils.java:276) 
at org.apache.hadoop.hive.serde2.SerDeUtils.buildJSONString(SerDeUtils.java:373)
at org.apache.hadoop.hive.serde2.SerDeUtils.buildJSONString(SerDeUtils.java:373)
at org.apache.hadoop.hive.serde2.SerDeUtils.getJSONString(SerDeUtils.java:203) 
at org.apache.hadoop.hive.serde2.SerDeUtils.getJSONString(SerDeUtils.java:189)
at org.apache.hadoop.hive.ql.exec.MapOperator.toErrorMessage(MapOperator.java:596)
at org.apache.hadoop.hive.ql.exec.MapOperator.process(MapOperator.java:562)
at org.apache.hadoop.hive.ql.exec.tez.MapRecordSource.processRow(MapRecordSource.java:92)
at org.apache.hadoop.hive.ql.exec.tez.MapRecordSource.pushRecord(MapRecordSource.java:76) 
at org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.run(MapRecordProcessor.java:419) 
at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunProcessor(TezProcessor.java:267)
at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.run(TezProcessor.java:250)
at org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.run(LogicalIOProcessorRuntimeTask.java:374)
at org.apache.tez.runtime.task.TaskRunner2Callable$1.run(TaskRunner2Callable.java:73)
at org.apache.tez.runtime.task.TaskRunner2Callable$1.run(TaskRunner2Callable.java:61)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1729)
at org.apache.tez.runtime.task.TaskRunner2Callable.callInternal(TaskRunner2Callable.java:61)
at org.apache.tez.runtime.task.TaskRunner2Callable.callInternal(TaskRunner2Callable.java:37)
at org.apache.tez.common.CallableWithNdc.call(CallableWithNdc.java:36)
at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:108) 
....

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题