hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-4858) Sort "show grant" result to improve usability and testability
Date Thu, 18 Jul 2013 07:26:50 GMT


Hive QA commented on HIVE-4858:

{color:green}Overall{color}: +1 all checks pass

Here are the results of testing the latest attachment:

{color:green}SUCCESS:{color} +1 all tests passed

Test results:
Console output:

Executing org.apache.hive.ptest.execution.CleanupPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase

This message is automatically generated.
> Sort "show grant" result to improve usability and testability
> -------------------------------------------------------------
>                 Key: HIVE-4858
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: CLI
>    Affects Versions: 0.10.0, 0.11.0
>            Reporter: Xuefu Zhang
>            Assignee: Xuefu Zhang
>            Priority: Minor
>             Fix For: 0.11.1
>         Attachments: HIVE-4858.1.patch, HIVE-4858.patch
> Currently Hive outputs the result of "show grant" command in no deterministic order.
It outputs the set of each privilege type in the order of whatever returned from DB (DataNucleus).
Randomness can arise and tests (depending on the order) can fail, especially in events of
library upgrade (DN or JVM upgrade). Sorting the result will avoid the potential randomness
and make the output more deterministic, thus not only improving the readability of the output
but also making the test more robust.  

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message