[ https://issues.apache.org/jira/browse/HIVE-7868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14167959#comment-14167959 ]
Hive QA commented on HIVE-7868: ------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12673818/HIVE-7868.2.patch {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 4121 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_schemeAuthority {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1201/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1201/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-1201/ Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 1 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12673818 > AvroSerDe error handling could be improved > ------------------------------------------ > > Key: HIVE-7868 > URL: https://issues.apache.org/jira/browse/HIVE-7868 > Project: Hive > Issue Type: Improvement > Reporter: Brock Noland > Assignee: Ferdinand Xu > Attachments: HIVE-7868.1.patch, HIVE-7868.2.patch > > > When an Avro schema is invalid, AvroSerDe returns an error message instead of > throwing an exception. This is described in > {{AvroSerdeUtils.determineSchemaOrReturnErrorSchema}}: > {noformat} > /** > * Attempt to determine the schema via the usual means, but do not throw > * an exception if we fail. Instead, signal failure via a special > * schema. This is used because Hive calls init on the serde during > * any call, including calls to update the serde properties, meaning > * if the serde is in a bad state, there is no way to update that state. > */ > {noformat} > I believe we should find a way to provide a better experience to our users. -- This message was sent by Atlassian JIRA (v6.3.4#6332)