GitHub user KanakaKumar opened a pull request:

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

    [WIP] Non Serializable extra info in session is overwritten from stale 
thread

    Problem:
             1. Non Serializable extra info is copied from thread which causes 
stale data from old session when the thread is reused by spark.
             2. CarboSessionInfo clone is not copying Non serializable info to 
new object which can damage session level values if local query thread updates 
values.
    
    Solution: Remove logic to copy Non Serializable extra info and fix clone 
logic
    
    Be sure to do all of the following checklist to help us incorporate 
    your contribution quickly and easily:
    
     - [ ] Any interfaces changed?
     No
     - [ ] Any backward compatibility impacted?
     No
     - [ ] Document update required?
    No
     - [ ] Testing done
            Tested in local cluster       
     - [ ] For large changes, please consider breaking it into sub-tasks under 
an umbrella JIRA. 
    NA


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

    $ git pull https://github.com/KanakaKumar/carbondata master

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

    https://github.com/apache/carbondata/pull/2154.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 #2154
    
----
commit 1cfabf53226ddfe1143359de24ddbbc75cdf396b
Author: KanakaKumar <kanaka.avvaru@...>
Date:   2018-04-10T14:12:30Z

    Problem: 1. Non Serializable extra info is copied from thread which causes 
stale data from old session when the thread is reused by spark.
             2. CarboSessionInfo clone is not copying Non serializable info to 
new object which can damage session level values if local query thread updates 
values.
    
    Solution: Remove logic to copy Non Serializable extra info and fix clone 
logic

----


---

Reply via email to