You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Venkata Ramana G (JIRA)" <ji...@apache.org> on 2017/05/22 07:04:04 UTC

[jira] [Commented] (CARBONDATA-1065) Implement set command in carbon to update carbon properties dynamically

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

Venkata Ramana G commented on CARBONDATA-1065:
----------------------------------------------

Following cases also needs to be handled as part of Set command support
1) Parameters should impact only corresponding session with out impacting other users logged in.
2) Only tasks in executor of current session should use these parameters. Already executing tasks in current session (in case another job executed in parallel threads) should not be impacted and only new job/task should use updated parameters.
3) Not all the parameters can be set using this interface as few are global properties which impact the cluster. So validate there by allowing required parameters.
4) Also if parameter to set validation fails Ex. value set is not in valid range, error should be shown to user.
5) GET command should show current value. RESET should reset value to default value(optional).

> Implement set command in carbon to update carbon properties dynamically
> -----------------------------------------------------------------------
>
>                 Key: CARBONDATA-1065
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1065
>             Project: CarbonData
>          Issue Type: Improvement
>            Reporter: Ravindra Pesala
>            Assignee: Ravindra Pesala
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Currently there is no way to set the carbon properties dynamically, always need to update the carbon.properties file and restart the driver.
> So it will be easy for users to give option to add/update the properties dynamically through set command.
> The below sql command updates the carbon properties in driver and as well as in executor
> {code}
> set key1=value1
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)