hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10221) Results from coprocessor invocations can be null if they fail
Date Sun, 22 Dec 2013 02:20:50 GMT

    [ https://issues.apache.org/jira/browse/HBASE-10221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13855065#comment-13855065
] 

Andrew Purtell commented on HBASE-10221:
----------------------------------------

This one is good. Will commit later today unless objection. 

> Results from coprocessor invocations can be null if they fail
> -------------------------------------------------------------
>
>                 Key: HBASE-10221
>                 URL: https://issues.apache.org/jira/browse/HBASE-10221
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.98.0, 0.96.2, 0.99.0
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>             Fix For: 0.98.0, 0.96.2, 0.99.0
>
>         Attachments: 10221-v2.patch, 10221.patch
>
>
> In a visibility controller unit test, we fail a VisibilityClient.getAuths call with an
AccessDeniedException, leading to a NPE in the client:
> {noformat}
> Caused by: java.lang.NullPointerException
>         at org.apache.hadoop.hbase.util.Bytes.compareTo(Bytes.java:1017)
>         at org.apache.hadoop.hbase.util.Bytes$ByteArrayComparator.compare(Bytes.java:151)
>         at org.apache.hadoop.hbase.util.Bytes$ByteArrayComparator.compare(Bytes.java:140)
>         at java.util.TreeMap.compare(TreeMap.java:1188)
>         at java.util.TreeMap.put(TreeMap.java:531)
>         at java.util.Collections$SynchronizedMap.put(Collections.java:2041)
>         at org.apache.hadoop.hbase.client.HTable$15.update(HTable.java:1486)
>         at org.apache.hadoop.hbase.client.HTable$16.call(HTable.java:1515)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:744)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message