hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Liochon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9140) NPE in AsyncProcess
Date Tue, 06 Aug 2013 16:44:47 GMT

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

Nicolas Liochon commented on HBASE-9140:
----------------------------------------

I looked at the code, I don't have a clear scenario. When we add to the list, it can't be
null, we have

    currentWriteBufferSize += put.heapSize();
    writeAsyncBuffer.add(put);

so if 'put' is null we NPE before adding it to the list.

You're working on it Elliott? What's the ycsb setting you used?

                
> NPE in AsyncProcess
> -------------------
>
>                 Key: HBASE-9140
>                 URL: https://issues.apache.org/jira/browse/HBASE-9140
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 0.95.2
>         Environment: 0.95.2 + Hadoop 2.0.4
>            Reporter: Elliott Clark
>
> Running YCSB progress got stuck for quite a while and then a Null Pointer Exception was
thrown:
> {noformat}
>  230 sec: 1266253 operations; 0 current ops/sec;  
>  240 sec: 1266253 operations; 0 current ops/sec;  
>  250 sec: 1266253 operations; 0 current ops/sec;  
>  260 sec: 1266253 operations; 0 current ops/sec;  
>  270 sec: 1266253 operations; 0 current ops/sec;  
>  280 sec: 1266253 operations; 0 current ops/sec;  
>  290 sec: 1266253 operations; 0 current ops/sec;  
>  300 sec: 1266253 operations; 0 current ops/sec;  
>  310 sec: 1266253 operations; 0 current ops/sec;  
>  320 sec: 1266253 operations; 0 current ops/sec;  
>  330 sec: 1266253 operations; 0 current ops/sec;  
>  340 sec: 1266253 operations; 0 current ops/sec;  
>  350 sec: 1266253 operations; 0 current ops/sec;  
>  360 sec: 1266253 operations; 0 current ops/sec;  
>  370 sec: 1266253 operations; 0 current ops/sec;  
>  380 sec: 1266253 operations; 0 current ops/sec;  
>  390 sec: 1266253 operations; 0 current ops/sec;  
> Exception in thread "Thread-26" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.client.AsyncProcess.findDestLocation(AsyncProcess.java:288)
> 	at org.apache.hadoop.hbase.client.AsyncProcess.submit(AsyncProcess.java:233)
> 	at org.apache.hadoop.hbase.client.HTable.backgroundFlushCommits(HTable.java:811)
> 	at org.apache.hadoop.hbase.client.HTable.flushCommits(HTable.java:1192)
> 	at com.yahoo.ycsb.db.HBaseClient.cleanup(HBaseClient.java:106)
> 	at com.yahoo.ycsb.DBWrapper.cleanup(DBWrapper.java:73)
> 	at com.yahoo.ycsb.ClientThread.run(Client.java:307)
>  400 sec: 1266253 operations; 0 current ops/sec; [UPDATE AverageLatency(us)=1341720]
[INSERT AverageLatency(us)=197941421.07] [CLEANUP AverageLatency(us)=1342113] 
> Exception in thread "Thread-16" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.client.AsyncProcess.findDestLocation(AsyncProcess.java:288)
> 	at org.apache.hadoop.hbase.client.AsyncProcess.submit(AsyncProcess.java:233)
> 	at org.apache.hadoop.hbase.client.HTable.backgroundFlushCommits(HTable.java:811)
> 	at org.apache.hadoop.hbase.client.HTable.flushCommits(HTable.java:1192)
> 	at com.yahoo.ycsb.db.HBaseClient.cleanup(HBaseClient.java:106)
> 	at com.yahoo.ycsb.DBWrapper.cleanup(DBWrapper.java:73)
> 	at com.yahoo.ycsb.ClientThread.run(Client.java:307)
>  410 sec: 1266253 operations; 0 current ops/sec;  [INSERT AverageLatency(us)=208462580.75]
 
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message