hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-18888) StealJobQueue should call super() to init the PriorityBlockingQueue
Date Wed, 27 Sep 2017 05:46:00 GMT
ramkrishna.s.vasudevan created HBASE-18888:
----------------------------------------------

             Summary: StealJobQueue should call super() to init the PriorityBlockingQueue
                 Key: HBASE-18888
                 URL: https://issues.apache.org/jira/browse/HBASE-18888
             Project: HBase
          Issue Type: Bug
    Affects Versions: 2.0.0-alpha-3
            Reporter: ramkrishna.s.vasudevan
            Assignee: ramkrishna.s.vasudevan
             Fix For: 2.0.0-alpha-4


{code}
ERROR: java.io.IOException: org.apache.hadoop.hbase.regionserver.CompactSplit$CompactionRunner
cannot be cast to java.lang.Comparable
        at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:465)
        at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:133)
        at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:278)
        at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:258)
Caused by: java.lang.ClassCastException: org.apache.hadoop.hbase.regionserver.CompactSplit$CompactionRunner
cannot be cast to java.lang.Comparable
        at java.util.concurrent.PriorityBlockingQueue.siftUpComparable(PriorityBlockingQueue.java:357)
        at java.util.concurrent.PriorityBlockingQueue.offer(PriorityBlockingQueue.java:489)
        at org.apache.hadoop.hbase.util.StealJobQueue.offer(StealJobQueue.java:103)
        at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1361)
        at org.apache.hadoop.hbase.regionserver.CompactSplit.requestCompactionInternal(CompactSplit.java:291)
        at org.apache.hadoop.hbase.regionserver.CompactSplit.requestCompactionInternal(CompactSplit.java:248)
        at org.apache.hadoop.hbase.regionserver.CompactSplit.requestCompaction(CompactSplit.java:236)
        at org.apache.hadoop.hbase.regionserver.RSRpcServices.compactRegion(RSRpcServices.java:1591)
        at org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos$AdminService$2.callBlockingMethod(AdminProtos.java:26856)
        at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:406)
{code}
Seems to be a simple miss. StealJobQueue does not init the PriorityBlockingQueue that it extends
and so major compaction/compaction just fails with the above stack trace.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message