[
https://issues.apache.org/jira/browse/PHOENIX-2902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15355606#comment-15355606
]
Ankit Singhal commented on PHOENIX-2902:
----------------------------------------
bq. We simulate this in the @BeforeClass method of our integration tests.There
properties override the ones from hbase-site.xml.
Actually , I don't this property to be set for all the tests in a class and I
want to run only specific tests with namespace enabled. Is there any way to do
that?
bq. Instead, they should be set once in hbase-site.xml and not really changed
after that. For example, I don't think you can convert your tables to be
namespace aware and then set these config properties back to saying that
namespaces aren't enabled.
Agreed [~giacomotaylor], that we should not be switching such properties back
once enabled. And currently also we don't allow this by throwing exception
about inconsistency if connection tries to that.
bq. As far as hardcoding the call to set the namespaces as always being enabled
when deletePriorTables is called, that doesn't make sense.
Yes, you are right, I'll check why I added this property.
> Adjust PhoenixDatabaseMetadata#getSchemas query if namespaces are enabled
> -------------------------------------------------------------------------
>
> Key: PHOENIX-2902
> URL: https://issues.apache.org/jira/browse/PHOENIX-2902
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.8.0
> Reporter: James Taylor
> Assignee: Ankit Singhal
> Fix For: 4.8.0
>
> Attachments: PHOENIX-2902.patch
>
>
> The call to PhoenixDatabaseMetaData.getSchemas() currently queries the
> SYSTEM.CATALOG table to find distinct schema names. If namespaces are
> enabled, we should likely adjust the query accordingly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)