Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-4480 Fix IT test failures when statistics enabled.
  3. PHOENIX-4481

Some IT tests are failing with wrong bytes count after updating statistics

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0-alpha
    • None

    Description

      [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>
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rajeshbabu Rajeshbabu Chintaguntla
            rajeshbabu Rajeshbabu Chintaguntla
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment