[ https://issues.apache.org/jira/browse/HIVE-17048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16077382#comment-16077382 ]
Hive QA commented on HIVE-17048: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12875997/HIVE-17048.2.patch {color:green}SUCCESS:{color} 1 due to 2 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 7 failed/errored test(s), 10834 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[llap_smb] (batchId=143) org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[orc_ppd_basic] (batchId=140) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_if_expr] (batchId=145) org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query23] (batchId=232) org.apache.hive.hcatalog.api.TestHCatClient.testPartitionRegistrationWithCustomSchema (batchId=177) org.apache.hive.hcatalog.api.TestHCatClient.testPartitionSpecRegistrationWithCustomSchema (batchId=177) org.apache.hive.hcatalog.api.TestHCatClient.testTableSchemaPropagation (batchId=177) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/5912/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/5912/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-5912/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase 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: 7 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12875997 - PreCommit-HIVE-Build > Pass HiveOperation info to HiveSemanticAnalyzerHook through > HiveSemanticAnalyzerHookContext > ------------------------------------------------------------------------------------------- > > Key: HIVE-17048 > URL: https://issues.apache.org/jira/browse/HIVE-17048 > Project: Hive > Issue Type: Improvement > Components: Hooks > Affects Versions: 2.1.1 > Reporter: Aihua Xu > Assignee: Aihua Xu > Attachments: HIVE-17048.1.patch, HIVE-17048.2.patch > > > Currently hive passes the following info to HiveSemanticAnalyzerHook through > HiveSemanticAnalyzerHookContext (see > https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/Driver.java#L553). > But the operation type (HiveOperation) is also needed in some cases, e.g., > when integrating with Sentry. > {noformat} > hookCtx.setConf(conf); > hookCtx.setUserName(userName); > hookCtx.setIpAddress(SessionState.get().getUserIpAddress()); > hookCtx.setCommand(command); > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)