Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-12356

Rpc with region replica does not propagate tracing spans

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.99.2
    • Client
    • None
    • Reviewed

    Description

      We don't have e2e tests involving htrace; we found this while running the phoenix IT suite on a build of 0.98 + region replicas.

      Running org.apache.phoenix.end2end.index.ViewIndexIT
      Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 111.41 sec <<< FAILURE! - in org.apache.phoenix.trace.PhoenixTracingEndToEndIT
      testScanTracingOnServer(org.apache.phoenix.trace.PhoenixTracingEndToEndIT)  Time elapsed: 41.157 sec  <<< FAILURE!
      java.lang.AssertionError: Didn't find the parallel scanner in the tracing
              at org.junit.Assert.fail(Assert.java:88)
              at org.junit.Assert.assertTrue(Assert.java:41)
              at org.apache.phoenix.trace.PhoenixTracingEndToEndIT.testScanTracingOnServer(PhoenixTracingEndToEndIT.java:357)
      

      Digging in, it appears is not trace-wrapping its Callables before passing them to the executor.

      Attachments

        1. HBASE-12356.00.patch
          1 kB
          Nick Dimiduk
        2. HBASE-12356.00-0.99.patch
          2 kB
          Nick Dimiduk

        Issue Links

          Activity

            People

              ndimiduk Nick Dimiduk
              ndimiduk Nick Dimiduk
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: