[ https://issues.apache.org/jira/browse/HIVE-18283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16296575#comment-16296575 ]
Hive QA commented on HIVE-18283: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12902771/HIVE-18283.3.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 15 failed/errored test(s), 11529 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[ppd_join5] (batchId=35) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udaf_context_ngrams] (batchId=73) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[bucketsortoptimize_insert_2] (batchId=152) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[hybridgrace_hashjoin_2] (batchId=157) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[insert_values_orig_table_use_metadata] (batchId=165) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[llap_acid] (batchId=169) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[llap_acid_fast] (batchId=160) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[sysdb] (batchId=160) org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[authorization_part] (batchId=93) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[auto_sortmerge_join_10] (batchId=138) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[bucketsortoptimize_insert_7] (batchId=128) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[ppd_join5] (batchId=120) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[subquery_multi] (batchId=113) org.apache.hadoop.hive.cli.control.TestDanglingQOuts.checkDanglingQOut (batchId=209) org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testConstraints (batchId=226) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/8315/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/8315/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-8315/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 15 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12902771 - PreCommit-HIVE-Build > Better error message and error code for HoS exceptions > ------------------------------------------------------ > > Key: HIVE-18283 > URL: https://issues.apache.org/jira/browse/HIVE-18283 > Project: Hive > Issue Type: Improvement > Components: Spark > Reporter: Chao Sun > Assignee: Chao Sun > Attachments: HIVE-18283.0.patch, HIVE-18283.1.patch, > HIVE-18283.2.patch, HIVE-18283.3.patch > > > Right now HoS only use a few error codes. For the majority of the errors, > user will see an error code 1 followed by a lengthy stacktrace. This is not > ideal since: > 1. It is often hard to find the root cause - sometimes it is hidden deeply > inside the stacktrace. > 2. After identifying the root cause, it is not easy to find a fix. Often user > have to copy & paste the error message and google them. > 3. It is not clear whether the error is transient or not, depending on which > user may want to retry the query. > To improve the above, this JIRA propose to assign error code & canonical > error messages for different HoS errors. We can take advantage of the > existing {{ErrorMsg}} class. -- This message was sent by Atlassian JIRA (v6.4.14#64029)