[
https://issues.apache.org/jira/browse/HIVE-28250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Raghav Aggarwal updated HIVE-28250:
-----------------------------------
Description:
When we try to set tez.task-specific configs at runtime, it doesn't allow it
{code:java}
: jdbc:hive2://localhost:10000> set tez.task-specific.launch.cmd-opts.list="Map
1[0]";
Error: Error while processing statement: Cannot modify
tez.task-specific.launch.cmd-opts.list at runtime. It is not in list of params
that are allowed to be modified at runtime (state=42000,code=1) {code}
Putting this in whitelist will help to debug tez query easily otherwise, admin
has to add the regex in
_hive.security.authorization.sqlstd.confwhitelist.append_ config in Ambari UI
and restart the HS2 process.
Better to whitelist by default as we have already whitelisted, the following
regex:
{code:java}
{code}
{color:#808080}tez\\.task\\..*{color}
was:
When we try to set tez.task-specific configs at runtime, it doesn't allow it
{code:java}
: jdbc:hive2://localhost:10000> set tez.task-specific.launch.cmd-opts.list="Map
1[0]";
Error: Error while processing statement: Cannot modify
tez.task-specific.launch.cmd-opts.list at runtime. It is not in list of params
that are allowed to be modified at runtime (state=42000,code=1) {code}
Putting this in whitelist will help to debug tez query easily otherwise, admin
has to add the regex in
_hive.security.authorization.sqlstd.confwhitelist.append_ config in Ambari UI
and restart the HS2 process.
Better to whitelist by default as we have already whitelisted,
{_}*tez\\.task\\*{_}{_}{*}..{*}*{_} regex.
> Add tez.task-specific configs into whitelist to modify at session level
> -----------------------------------------------------------------------
>
> Key: HIVE-28250
> URL: https://issues.apache.org/jira/browse/HIVE-28250
> Project: Hive
> Issue Type: Improvement
> Reporter: Raghav Aggarwal
> Assignee: Raghav Aggarwal
> Priority: Major
>
> When we try to set tez.task-specific configs at runtime, it doesn't allow it
> {code:java}
> : jdbc:hive2://localhost:10000> set
> tez.task-specific.launch.cmd-opts.list="Map 1[0]";
> Error: Error while processing statement: Cannot modify
> tez.task-specific.launch.cmd-opts.list at runtime. It is not in list of
> params that are allowed to be modified at runtime (state=42000,code=1) {code}
> Putting this in whitelist will help to debug tez query easily otherwise,
> admin has to add the regex in
> _hive.security.authorization.sqlstd.confwhitelist.append_ config in Ambari UI
> and restart the HS2 process.
> Better to whitelist by default as we have already whitelisted, the following
> regex:
> {code:java}
> {code}
> {color:#808080}tez\\.task\\..*{color}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)