phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajeshbabu Chintaguntla (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-4495) Fix possible NPE/ClassCastException in Stats IT tests
Date Tue, 26 Dec 2017 06:44:00 GMT

     [ https://issues.apache.org/jira/browse/PHOENIX-4495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rajeshbabu Chintaguntla updated PHOENIX-4495:
---------------------------------------------
    Attachment: PHOENIX-4495.patch

> Fix possible NPE/ClassCastException in Stats IT tests
> -----------------------------------------------------
>
>                 Key: PHOENIX-4495
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4495
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Rajeshbabu Chintaguntla
>            Assignee: Rajeshbabu Chintaguntla
>              Labels: HBase-2.0
>             Fix For: 5.0.0
>
>         Attachments: PHOENIX-4495.patch
>
>
> Here are the following tests failing while checking whether stats enabled or not. To
check it we try to pick a proper region but some times we may get wrong region like system
table region or meta region from the RS online regions for which stats won't be enabled. So
we need to pick the right region to check for it.
> {noformat}
> [ERROR] Tests run: 26, Failures: 0, Errors: 2, Skipped: 4, Time elapsed: 71.826 s <<<
FAILURE! - in org.apache.phoenix.end2end.ColumnEncodedMutableNonTxStatsCollectorIT
> [ERROR] testGuidePostWidthUsedInDefaultStatsCollector[mutable = true, transactional =
false, isUserTableNamespaceMapped = false, columnEncoded = true](org.apache.phoenix.end2end.ColumnEncodedMutableNonTxStatsCollectorIT)
 Time elapsed: 2.307 s  <<< ERROR!
> java.lang.ClassCastException: org.apache.phoenix.schema.stats.NoOpStatisticsCollector
cannot be cast to org.apache.phoenix.schema.stats.DefaultStatisticsCollector
> [ERROR] testGuidePostWidthUsedInDefaultStatsCollector[mutable = true, transactional =
false, isUserTableNamespaceMapped = true, columnEncoded = true](org.apache.phoenix.end2end.ColumnEncodedMutableNonTxStatsCollectorIT)
 Time elapsed: 2.506 s  <<< ERROR!
> java.lang.ClassCastException: org.apache.phoenix.schema.stats.NoOpStatisticsCollector
cannot be cast to org.apache.phoenix.schema.stats.DefaultStatisticsCollector
> [ERROR] Tests run: 26, Failures: 0, Errors: 1, Skipped: 4, Time elapsed: 85.923 s <<<
FAILURE! - in org.apache.phoenix.end2end.ColumnEncodedImmutableTxStatsCollectorIT
> [ERROR] testGuidePostWidthUsedInDefaultStatsCollector[mutable = false, transactional
= true, isUserTableNamespaceMapped = false, columnEncoded = true](org.apache.phoenix.end2end.ColumnEncodedImmutableTxStatsCollectorIT)
 Time elapsed: 2.3 s  <<< ERROR!
> java.lang.ClassCastException: org.apache.phoenix.schema.stats.NoOpStatisticsCollector
cannot be cast to org.apache.phoenix.schema.stats.DefaultStatisticsCollector
> {noformat}
> {noformat}
> [ERROR] Tests run: 26, Failures: 0, Errors: 1, Skipped: 4, Time elapsed: 85.686 s <<<
FAILURE! - in org.apache.phoenix.end2end.ColumnEncodedMutableTxStatsCollectorIT
> [ERROR] testGuidePostWidthUsedInDefaultStatsCollector[mutable = true, transactional =
true, isUserTableNamespaceMapped = false, columnEncoded = true](org.apache.phoenix.end2end.ColumnEncodedMutableTxStatsCollectorIT)
 Time elapsed: 2.305 s  <<< ERROR!
> java.lang.ClassCastException: org.apache.phoenix.schema.stats.NoOpStatisticsCollector
cannot be cast to org.apache.phoenix.schema.stats.DefaultStatisticsCollector
> {noformat}
> {noformat}
> [ERROR] Tests run: 26, Failures: 0, Errors: 2, Skipped: 4, Time elapsed: 72.432 s <<<
FAILURE! - in org.apache.phoenix.end2end.NonColumnEncodedImmutableTxStatsCollectorIT
> [ERROR] testGuidePostWidthUsedInDefaultStatsCollector[mutable = false, transactional
= true, isUserTableNamespaceMapped = false, columnEncoded = false](org.apache.phoenix.end2end.NonColumnEncodedImmutableTxStatsCollectorIT)
 Time elapsed: 2.303 s  <<< ERROR!
> java.lang.NullPointerException
> [ERROR] testGuidePostWidthUsedInDefaultStatsCollector[mutable = false, transactional
= true, isUserTableNamespaceMapped = true, columnEncoded = false](org.apache.phoenix.end2end.NonColumnEncodedImmutableTxStatsCollectorIT)
 Time elapsed: 2.513 s  <<< ERROR!
> java.lang.NullPointerException
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message