hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6460) Need new "show" functionality for transactions
Date Fri, 07 Mar 2014 18:37:43 GMT

    [ https://issues.apache.org/jira/browse/HIVE-6460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13924177#comment-13924177
] 

Alan Gates commented on HIVE-6460:
----------------------------------

Thanks for the review.  I'll remove the overlooked debugging System.out.

bq. you need Owner privilege to execute compaction; but need no privileges to view compactions.
This is what you intended?
It is what I intended, though I'm open to feedback that this isn't right.  My thinking was
that only owners (and admins) should be able to kick off compactions, but there isn't harm
in seeing what compactions are going on in the system.  I assume in general it will be admins
that will use show compactions to determine what the system is auto compacting at any given
time.  Also, the other show commands didn't require any authorization so I assumed this one
should not either.  If people think this doesn't make sense we can file a follow on bug to
change the permissions on show compactions.

> Need new "show" functionality for transactions
> ----------------------------------------------
>
>                 Key: HIVE-6460
>                 URL: https://issues.apache.org/jira/browse/HIVE-6460
>             Project: Hive
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>             Fix For: 0.13.0
>
>         Attachments: 6460.wip.patch, HIVE-6460.1.patch, HIVE-6460.patch
>
>
> With the addition of transactions and compactions for delta files some new "show" commands
are required.
> * "show transactions" to show currently open or aborted transactions
> * "show compactions" to show currently waiting or running compactions
> * "show locks" needs to work with the new db style of locks as well.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message