[
https://issues.apache.org/jira/browse/PHOENIX-2103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14698376#comment-14698376
]
James Taylor commented on PHOENIX-2103:
---------------------------------------
Good sleuthing, [~maghamravikiran]. The underlying call used by
PhoenixRuntime.generateColumnInfo() to pull over the table from the server,
PhoenixRuntime.getTable(), does not check if the table metadata has changed.
Thus once the table is in the cache, it is expected to remain the same. The
reasoning is that these MR jobs would not be issuing DDL while they're running,
so incurring the overhead of another RPC isn't necessary.
I think it's fine to leave the tests as you've written them. If we have real
use cases that do DDL, we can re-think this.
> Pig tests aren't dropping tables as expected between test runs
> --------------------------------------------------------------
>
> Key: PHOENIX-2103
> URL: https://issues.apache.org/jira/browse/PHOENIX-2103
> Project: Phoenix
> Issue Type: Bug
> Reporter: James Taylor
> Assignee: maghamravikiran
> Attachments: PHOENIX-2013-tests.patch, PHOENIX-2013-v1.patch,
> PhoenixHBaseLoadIT.java
>
>
> Looks like PhoenixHBaseLoaderIT isn't derived from any of our base test
> classes (hence it would not drop tables between classes). It should be
> derived from BaseHBaseManagedTimeIT in which case it would call the @After
> cleanUpAfterTest() method to drop tables.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)