Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-11801

BigtableIO should not set useCachedDataPool when using an emulator

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.29.0
    • io-java-gcp
    • None

    Description

      Because of how the underlying Bigtable client library works, the first channel pool to be created when useCachedDataPool is set will persist for the lifetime of the process.  

      However, running tests with a Bigtable emulator may mean that multiple concurrent hosts are being used (one for each test for example).

      As a workaround for now, we should not set useCachedDataPool if an emulator host is set.

      Attachments

        Issue Links

          Activity

            People

              SteveNiemitz Steve Niemitz
              SteveNiemitz Steve Niemitz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h