[
https://issues.apache.org/jira/browse/PHOENIX-5300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16852143#comment-16852143
]
Rushabh S Shah commented on PHOENIX-5300:
-----------------------------------------
{quote}./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.index.LocalMutableTxIndexIT
./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.SaltedViewIT
{quote}
Both the tests are failing with the following message.
{noformat}
Error Message
org.apache.thrift.TException: Unable to discover transaction service.
Stacktrace
java.lang.RuntimeException: org.apache.thrift.TException: Unable to discover
transaction service.
at
org.apache.phoenix.end2end.SaltedViewIT.testSaltedUpdatableViewWithIndex(SaltedViewIT.java:38)
Caused by: org.apache.thrift.TException: Unable to discover transaction service.
at
org.apache.phoenix.end2end.SaltedViewIT.testSaltedUpdatableViewWithIndex(SaltedViewIT.java:38)
{noformat}
Both the failing tests are passing on my local machine.
{noformat}
[INFO] — maven-surefire-plugin:2.20:test (default-test) @ phoenix-core —
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.phoenix.end2end.SaltedViewIT
[INFO] Running org.apache.phoenix.end2end.index.LocalMutableTxIndexIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 71.249
s - in org.apache.phoenix.end2end.SaltedViewIT
[INFO] Tests run: 42, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
418.501 s - in org.apache.phoenix.end2end.index.LocalMutableTxIndexIT
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 46, Failures: 0, Errors: 0, Skipped: 0
{noformat}
> NoopStatisticsCollector shouldn't scan any rows.
> ------------------------------------------------
>
> Key: PHOENIX-5300
> URL: https://issues.apache.org/jira/browse/PHOENIX-5300
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.14.0, 4.13.1
> Reporter: Rushabh S Shah
> Assignee: Rushabh S Shah
> Priority: Major
> Fix For: 4.14.2
>
> Attachments: PHOENIX-5300-4.14-HBase-1.4.patch,
> PHOENIX-5300-4.14-HBase-1.4.patch
>
>
> Today if we disable calculation of stats via
> {{phoenix.stats.collection.enabled}} property, it creates
> {{NoopStatisticsCollector}}. If someone calls "UPDATE STATISTICS
> <TABLE-NAME>", it will create NoopStatisticsCollector, scan the whole table
> and does nothing. This is fixed in 4.15 via PHOENIX-4009. If we don't want to
> backport PHOENIX-4009, we can fix this bug just in 4.14
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)