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

region_mover.rb unloadRegions method uses ArrayList concurrently resulting in errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.98.10
    • 1.0.0, 1.1.0, 0.98.11
    • scripts
    • None
    • Reviewed

    Description

      While working on HBASE-12822 ran into

      15/02/04 13:16:44 [main] INFO reflect.GeneratedMethodAccessor35: Pool completed
      NoMethodError: undefined method `toByteArray' for nil:NilClass
      _for_ at region_mover.rb:270
      each at file:/home/sfdc/installed/bigdata-hbase__hbase.6_prod__9707645_Linux.x86_64.prod.runtime.bigdata-hbase_bigdata-hbase/hbase/hbase/lib/jruby-complete-1.6.8.jar!/builtin/java/java.util.rb:7
      writeFile at region_mover.rb:269
      unloadRegions at region_mover.rb:347
      (root) at region_mover.rb:501

      This is because
      movedRegions = java.util.ArrayList.new()
      is being used concurrently in unloadRegions.

      Attachments

        1. HBASE-12989.patch
          0.5 kB
          Abhishek Singh Chouhan

        Activity

          People

            abhishek.chouhan Abhishek Singh Chouhan
            abhishek.chouhan Abhishek Singh Chouhan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: