Github user SsnL commented on the pull request:
https://github.com/apache/phoenix/commit/daaebc49d2e8f5203351a96fa25c0700b1a599cf#commitcomment-18218510
In
phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexTool.java:
In
phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexTool.java on
line 247:
I see.
The tests failed when direct API and transactional are both on. The error
was due to `TransactionContext` having a `null` `txClient`. I wasn't sure how
to trace and fix that. However, these tests passes once I changed to use
`IndexToolUtil.updateIndexState(connection, qDataTable, indexTable,
PIndexState.ACTIVE);` from client instead of what was in the reducer.
Do you have any insights on what might be wrong here, James?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---