carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ManoharVanam <...@git.apache.org>
Subject [GitHub] carbondata pull request #972: [CARBONDATA-1065] Added set command in carbon ...
Date Fri, 09 Jun 2017 12:13:06 GMT
GitHub user ManoharVanam reopened a pull request:

    https://github.com/apache/carbondata/pull/972

    [CARBONDATA-1065] Added set command in carbon to update properties dynamically

    **Requirement** : 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/display/reset the properties
dynamically using set and reset commands.
    
    **Solution :** 
    The below sql command updates the carbon properties in driver and as well as in executor
    
    **Add/update/display session property :** 
    set parameter = value --> add/update carbon session property in the corresponding session
    Example : set enable.unsafe.sort = true;
    
    set parameter --> displays given parameter value in the corresponding session
    Example : set enable.unsafe.sort;
    
    **Reset all session properties :** 
    Reset --> clears all session parameters in the corresponding session 
    Example : reset;
    
    **SET:** 
    SET command displays all session supported parameters (carbon + spark) in the corresponding
session 
    Example : SET;
    
    **SET -V:**
    
    set -v command displays all session parameter list along with default value and usage
doc
    Example : set -v;

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ManoharVanam/incubator-carbondata dynamic_new

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/carbondata/pull/972.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #972
    
----
commit 75f6d4c71f7b21b9d4909df967c8ced189f86e8a
Author: ravipesala <ravi.pesala@gmail.com>
Date:   2017-05-18T09:34:17Z

    Adding session based properties
    
    Added set command in carbon to update properties dynamically

commit 8a94c7598d332e357ea2b5b640f22f287417ced0
Author: Manohar <manohar.crazy09@gmail.com>
Date:   2017-05-25T13:40:21Z

    Added ThreadLocalSession params
    
    Dynamic parameter support
    
    # Conflicts:
    #	processing/src/main/java/org/apache/carbondata/processing/model/CarbonLoadModel.java

commit 8c53e1d1f2a4e98a6843775496aa956e33435885
Author: mohammadshahidkhan <mohdshahidkhan1987@gmail.com>
Date:   2017-05-26T17:08:59Z

    validation
    
    # Conflicts:
    #	core/src/main/java/org/apache/carbondata/core/constants/CarbonCommonConstants.java

commit b6ddd21f09453f8178a19489cdd9a07425cdee6d
Author: Manohar <manohar.crazy09@gmail.com>
Date:   2017-05-29T12:28:01Z

    Added thresholdLocal session params

commit 11d34a6b16ce9db5da66214a98d2c1c5ed7ff75a
Author: Manohar <manohar.crazy09@gmail.com>
Date:   2017-05-29T15:46:26Z

    Refactored the code
    
    # Conflicts:
    #	processing/src/main/java/org/apache/carbondata/processing/model/CarbonLoadModel.java

commit ddb16c17a3bf68e5a13f7f647825c295be2afa98
Author: mohammadshahidkhan <mohdshahidkhan1987@gmail.com>
Date:   2017-05-30T08:46:25Z

    1. added log message for addition of property value
    2. throwing exception when attempt to add key, value for non dynamic carbon parameter.

commit 6d6fc116552dfdd8ee8a47eb000b61a86a5cc1a4
Author: mohammadshahidkhan <mohdshahidkhan1987@gmail.com>
Date:   2017-05-31T14:55:06Z

    Fixed Review comments
    
    1. added log message for addition of property value
    2. throwing exception when attempt to add key, value for non dynamic carbon parameter.
    3. Handled review comments

commit 853ff5770a749743b0414730ecc7f1b275eccf2c
Author: Manohar <manohar.crazy09@gmail.com>
Date:   2017-06-01T10:30:05Z

    Fixed Review comments

commit 63005fe7f4af840a5240d417f6b7f2b1e86e9b4a
Author: Manohar <manohar.crazy09@gmail.com>
Date:   2017-06-09T06:08:19Z

    Fixed dynamic property issues

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message