hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-2104) No exception thrown while during scanning no connection can be made to the regionserver
Date Fri, 15 Jan 2010 18:24:54 GMT

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

stack commented on HBASE-2104:
------------------------------

@Robert Is part of the issue the fact that Iterator is being used?  Its hasNext and next methods
do not throw Exceptions?  If you used the next methods that do throw exceptions, would that
work?  Or rather, ScannerCallable should let out certain types of exceptions?  Any chance
of a patch?  One that works for you?  That'd help us out.  Thanks.

> No exception thrown while during scanning no connection can be made to the regionserver
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-2104
>                 URL: https://issues.apache.org/jira/browse/HBASE-2104
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.20.1
>            Reporter: Robert Hofstra
>
> When a regionservers is stopped (shutdown or crash) and on the same moment a client performs
a scan on that regionserver no exception is thrown at client side nor a reconnect toanother
regionsserver is tried.
> The ResultScanner.Iterator.hasNext ()just returns false, so the client assumes that there
are no records anymore.
> In the ScannerCallable.call I notice that the java.net.ConnectionException is catched
and a empyt Result array is returned.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message