hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brock Noland (JIRA)" <>
Subject [jira] [Commented] (HIVE-5400) Allow admins to disable compile and other commands
Date Wed, 02 Oct 2013 18:05:42 GMT


Brock Noland commented on HIVE-5400:


Yep, I had a patch in progress when you commented. :)  It's slightly different than the suggestion
but achieves the same result:  Adding commands will be easier since single switch board is
used and a test will fail if a command is added but either hive.available.commands isn't updated
or the switch board isn't updated.

The new patch works for all execution methods and removes the independent switchboard logic
from HS2. 

> Allow admins to disable compile and other commands
> --------------------------------------------------
>                 Key: HIVE-5400
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Brock Noland
>            Assignee: Edward Capriolo
>         Attachments: HIVE-5400.patch, HIVE-5400.patch
> From here:
>  I think we should afford admins who want to disable this functionality the ability to
do so. Since such admins might want to disable other commands such as add or dfs, it wouldn't
be much trouble to allow them to do this as well. For example we could have a configuration
option "hive.available.commands" (or similar) which specified add,set,delete,reset, etc by
default. Then check this value in CommandProcessorFactory. It would probably make sense to
add this property to the restrict list.

This message was sent by Atlassian JIRA

View raw message