[jira] [Created] (CARBONDATA-1063) When multi user perform concurrent operations like load, show segments NullPointerException is getting thrown

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (CARBONDATA-1063) When multi user perform concurrent operations like load, show segments NullPointerException is getting thrown

Akash R Nilugal (Jira)
Naresh P R created CARBONDATA-1063:
--------------------------------------

             Summary: When multi user perform concurrent operations like load, show segments NullPointerException is getting thrown
                 Key: CARBONDATA-1063
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1063
             Project: CarbonData
          Issue Type: Bug
         Environment: Spark-2.1
            Reporter: Naresh P R
            Assignee: Naresh P R


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.




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