[
https://issues.apache.org/jira/browse/PHOENIX-4481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16301496#comment-16301496
]
Rajeshbabu Chintaguntla edited comment on PHOENIX-4481 at 12/22/17 2:24 PM:
----------------------------------------------------------------------------
Here is the patch gets the actual length of cell. [[email protected]] Please
review.
was (Author: rajeshbabu):
Here is the patch gets the actual size. [[email protected]] Please review.
> Some IT tests are failing with wrong bytes count after updating statistics
> ---------------------------------------------------------------------------
>
> Key: PHOENIX-4481
> URL: https://issues.apache.org/jira/browse/PHOENIX-4481
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: Rajeshbabu Chintaguntla
> Assignee: Rajeshbabu Chintaguntla
> Labels: HBase-2.0
> Fix For: 5.0.0
>
> Attachments: PHOENIX-4481.patch
>
>
> {noformat}
> [ERROR] testRowCountAndByteCounts[mutable = false, transactional = false,
> isUserTableNamespaceMapped = false, columnEncoded =
> true](org.apache.phoenix.end2end.ColumnEncodedImmutableNonTxStatsCollectorIT)
> Time elapsed: 2.431 s <<< FAILURE!
> java.lang.AssertionError: expected:<48> but was:<52>
> [ERROR] testSomeUpdateEmptyStats[mutable = false, transactional = false,
> isUserTableNamespaceMapped = false, columnEncoded =
> true](org.apache.phoenix.end2end.ColumnEncodedImmutableNonTxStatsCollectorIT)
> Time elapsed: 2.31 s <<< FAILURE!
> org.junit.ComparisonFailure: expected:<...IENT 4-CHUNK 1 ROWS [38] BYTES
> PARALLEL 3-WA...> but was:<...IENT 4-CHUNK 1 ROWS [42] BYTES PARALLEL 3-WA...>
> [ERROR] testWithMultiCF[mutable = false, transactional = false,
> isUserTableNamespaceMapped = false, columnEncoded =
> true](org.apache.phoenix.end2end.ColumnEncodedImmutableNonTxStatsCollectorIT)
> Time elapsed: 2.309 s <<< FAILURE!
> org.junit.ComparisonFailure: expected:<...T 26-CHUNK 25 ROWS 1[3902] BYTES
> PARALLEL 1-WA...> but was:<...T 26-CHUNK 25 ROWS 1[4098] BYTES PARALLEL
> 1-WA...>
> [ERROR] testRowCountAndByteCounts[mutable = false, transactional = false,
> isUserTableNamespaceMapped = true, columnEncoded =
> true](org.apache.phoenix.end2end.ColumnEncodedImmutableNonTxStatsCollectorIT)
> Time elapsed: 2.499 s <<< FAILURE!
> java.lang.AssertionError: expected:<240> but was:<260>
> [ERROR] testSomeUpdateEmptyStats[mutable = false, transactional = false,
> isUserTableNamespaceMapped = true, columnEncoded =
> true](org.apache.phoenix.end2end.ColumnEncodedImmutableNonTxStatsCollectorIT)
> Time elapsed: 2.507 s <<< FAILURE!
> org.junit.ComparisonFailure: expected:<...IENT 4-CHUNK 1 ROWS [38] BYTES
> PARALLEL 3-WA...> but was:<...IENT 4-CHUNK 1 ROWS [42] BYTES PARALLEL 3-WA...>
> [ERROR] testWithMultiCF[mutable = false, transactional = false,
> isUserTableNamespaceMapped = true, columnEncoded =
> true](org.apache.phoenix.end2end.ColumnEncodedImmutableNonTxStatsCollectorIT)
> Time elapsed: 2.54 s <<< FAILURE!
> org.junit.ComparisonFailure: expected:<...T 26-CHUNK 25 ROWS 1[3902] BYTES
> PARALLEL 1-WA...> but was:<...T 26-CHUNK 25 ROWS 1[4098] BYTES PARALLEL
> 1-WA...>
> [ERROR] Tests run: 26, Failures: 6, Errors: 0, Skipped: 4, Time elapsed:
> 95.088 s <<< FAILURE! - in
> org.apache.phoenix.end2end.ColumnEncodedImmutableTxStatsCollectorIT
> [ERROR] testRowCountAndByteCounts[mutable = false, transactional = true,
> isUserTableNamespaceMapped = false, columnEncoded =
> true](org.apache.phoenix.end2end.ColumnEncodedImmutableTxStatsCollectorIT)
> Time elapsed: 2.531 s <<< FAILURE!
> java.lang.AssertionError: expected:<144> but was:<156>
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)