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

[0.98] TestBoundedByteBufferPool does not compile with JDK 1.6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.98.13
    • None
    • None

    Description

      Now that we're enforcing builds with JDKs corresponding to the compiler source level for a release - 1.6 in the case of 0.98 - this has exposed one place where a 1.7 type made it back to 0.98 in TestBoundedByteBufferPool.

      [ERROR] /usr/src/hbase/hbase-common/src/test/java/org/apache/hadoop/hbase/io/Te\
      stBoundedByteBufferPool.java:[23,27] cannot find symbol
      [ERROR] symbol  : class ConcurrentLinkedDeque
      [ERROR] location: package java.util.concurrent
      [ERROR] /usr/src/hbase/hbase-common/src/test/java/org/apache/hadoop/hbase/io/Te\
      stBoundedByteBufferPool.java:[91,10] cannot find symbol
      [ERROR] symbol  : class ConcurrentLinkedDeque
      [ERROR] location: class org.apache.hadoop.hbase.io.TestBoundedByteBufferPool
      [ERROR] /usr/src/hbase/hbase-common/src/test/java/org/apache/hadoop/hbase/io/Te\
      stBoundedByteBufferPool.java:[91,62] cannot find symbol
      [ERROR] symbol  : class ConcurrentLinkedDeque
      [ERROR] location: class org.apache.hadoop.hbase.io.TestBoundedByteBufferPool
      

      Attachments

        1. HBASE-13837-0.98.patch
          2 kB
          Andrew Kyle Purtell

        Activity

          People

            apurtell Andrew Kyle Purtell
            apurtell Andrew Kyle Purtell
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: