phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <>
Subject [jira] [Commented] (PHOENIX-3394) Fix getHTable unsupported operation
Date Thu, 20 Oct 2016 21:34:58 GMT


James Taylor commented on PHOENIX-3394:

Correct, [~lomoree] - the non IT unit tests that run during mvn package (i.e. those derived
from BaseConnectionlessQueryTest) do not spin up an HBase mini cluster. They are meant to
run only compilation but perform no execution. The way we get the table metadata in this case
is through the PMetaDataCache kept on ConnectionlessQueryServicesImpl. All operations that
attempt to retrieve any metadata should go through the ConnectionQueryService interface. It
appears that this is not the case. I bet [~maryannxue] could point you in the right direction.
Can you post more of the stack trace? This would be a great one to fix.

> Fix getHTable unsupported operation
> -----------------------------------
>                 Key: PHOENIX-3394
>                 URL:
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Eric Lomore
> Tons of unit tests have this same stack trace. It appears that this call shouldn't reach
> {code}
> Caused by: java.lang.UnsupportedOperationException
> 	at org.apache.phoenix.query.ConnectionlessQueryServicesImpl.getTable(
> 	at org.apache.phoenix.query.DelegateConnectionQueryServices.getTable(
> 	at org.apache.phoenix.execute.MutationState.getHTable(
> 	at org.apache.phoenix.iterate.TableResultIterator.<init>(
> 	at org.apache.phoenix.iterate.DefaultTableResultIteratorFactory.newIterator(
> 	at org.apache.phoenix.iterate.ParallelIterators.submitWork(
> 	at org.apache.phoenix.iterate.BaseResultIterators.getIterators(
> 	... 71 more
> {code}

This message was sent by Atlassian JIRA

View raw message