You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Nicolas Liochon (JIRA)" <ji...@apache.org> on 2013/08/06 18:28:48 UTC

[jira] [Commented] (HBASE-9140) NPE in AsyncProcess

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

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

That's this line, yes?
  loc = hConnection.locateRegion(this.tableName, row.getRow());

hConnection is final, so it should come from "row"...
                
> 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