carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nareshpr <...@git.apache.org>
Subject [GitHub] carbondata pull request #924: [CARBONDATA-1063] NullPointerException is thro...
Date Wed, 17 May 2017 18:17:30 GMT
GitHub user nareshpr opened a pull request:

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

    [CARBONDATA-1063] NullPointerException is thrown if multi user beeline is used concurrently

    User1 in beeline terminal1 performs below operation
    1) Create table t1
    2) load data into t1
    3) show segments for t1
    User2(Does not have privilege to read t1) in beeline terminal2 performs below operation
    1) show segments for t1 -- Throws permission denied and removes the CarbonTable metadata
from CarbonMetadata
    User1 in beeline terminal1 performs below operation
    1) Show segments for t1 - NullPointerException is thrown as the CarbonTable is not fetched
from CarbonMetastore, instead fetched from SingleTon Instance CarbonMetadata.
    
    This is corrected by fetching the carbonTable from CarbonMetastore of corresponding Session.


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

    $ git pull https://github.com/nareshpr/incubator-carbondata MultiUserMultiClientNPE

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

    https://github.com/apache/carbondata/pull/924.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 #924
    
----

----


---
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