[
https://issues.apache.org/jira/browse/PHOENIX-881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13942580#comment-13942580
]
Jeffrey Zhong commented on PHOENIX-881:
---------------------------------------
Cool.
{quote}
The scan done by buildDeletedTables is only looking for a newer table than
clientTimeStamp
{quote}
Not only the buildDeletedTables call here. Since only when table=null can come
to here. Therefore the code above
{code}
if (table != null
|| (table = buildTable(key, cacheKey, region,
HConstants.LATEST_TIMESTAMP)) != null) {
{code}
the buildTable with latest timestamp should be called and check if a table
exists regardless timestamp. That's why I come up the return otherwise we
should see NPE in tests.
Our internal testing setup use zookeeper quorum string containing port and it
works. That's how we uncovered the issue.
I'll remove the clearCache when I check in code. My full test run finishes
successfully.
Thanks.
> end2end test fails to run against a live cluster using end2endtest.py
> ---------------------------------------------------------------------
>
> Key: PHOENIX-881
> URL: https://issues.apache.org/jira/browse/PHOENIX-881
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 3.0.0, 4.0.0
> Reporter: Jeffrey Zhong
> Assignee: Jeffrey Zhong
> Attachments: phoenix-881.patch
>
>
> In most IT tests, we're using constant PHOENIX_JDBC_URL instead of
> BaseConnectedQueryIT#getUrl() which will return correct url depending where
> the test is running against.
--
This message was sent by Atlassian JIRA
(v6.2#6252)