phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PHOENIX-3833) Create system schema fails on namespace-mapping table for unprivileged user.
Date Fri, 05 May 2017 21:30:04 GMT

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

Josh Elser resolved PHOENIX-3833.
---------------------------------
       Resolution: Not A Problem
    Fix Version/s:     (was: 4.11)

Looks like this isn't a problem "upstream" (just a day-job problem).

upgradeSystemTables() bails out after failing to create the catalog table, preventing the
code trying to create the system schema from ever being called.

> Create system schema fails on namespace-mapping table for unprivileged user.
> ----------------------------------------------------------------------------
>
>                 Key: PHOENIX-3833
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3833
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>
> Follow-on from PHOENIX-3652
> We found another case where a user without ADMIN permission tried to connect to Phoenix
and failed because they tried to obtain the namespace descriptor.
> This one was coming out of the {{CREATE SCHEMA IF EXISTS}} call, kudos to [~sergey.soldatov]
for getting to the bottom of this one.
> My existing test case had a bug which was masking this failure condition. Fixing that
reproduces the issue.



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

Mime
View raw message