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/18 09:42:04 UTC

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

     [ https://issues.apache.org/jira/browse/CARBONDATA-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Venkata Ramana G updated CARBONDATA-1063:
-----------------------------------------
    Summary: When multi user perform concurrent operations like show segments NullPointerException is getting thrown  (was: When multi user perform concurrent operations like load, show segments NullPointerException is getting thrown)

> When multi user perform concurrent operations like 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
>            Priority: Minor
>             Fix For: 1.2.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> User1 in beeline terminal1 performs below operation
> 1) Create table t1
> 2) 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)