[
https://issues.apache.org/jira/browse/HIVE-15252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15685208#comment-15685208
]
Hive QA commented on HIVE-15252:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12839903/HIVE-15252.1.patch
{color:red}ERROR:{color} -1 due to no test(s) being added or modified.
{color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 10731 tests
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[transform_ppr2]
(batchId=133)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[join_acid_non_acid]
(batchId=150)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[union_fast_stats]
(batchId=145)
{noformat}
Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/2233/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/2233/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-2233/
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: 3 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12839903 - PreCommit-HIVE-Build
> hive.security.command.whitelist doesn't work for 'reload function'
> ------------------------------------------------------------------
>
> Key: HIVE-15252
> URL: https://issues.apache.org/jira/browse/HIVE-15252
> Project: Hive
> Issue Type: Bug
> Components: Authorization
> Reporter: Chao Sun
> Assignee: Chao Sun
> Priority: Minor
> Attachments: HIVE-15252.1.patch
>
>
> Right now the 'reload function' is handled specially in {{HiveCommand#find}}:
> {code}
> return null;
> } else if(command.length > 1 && "reload".equalsIgnoreCase(command[0])
> && "function".equalsIgnoreCase(command[1])) {
> //special handling for SQL "reload function"
> return null;
> }
> {code}
> However, this means the {{hive.security.command.whitelist}} doesn't work for
> the command. It's better to first do the privilege check and then the rest.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)