[jira] [Updated] (HBASE-7013) Avoid reusing a input stream that stumbles on rpc-timeout in HBaseClient
[ https://issues.apache.org/jira/browse/HBASE-7013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-7013: - Fix Version/s: (was: 2.0.0) > Avoid reusing a input stream that stumbles on rpc-timeout in HBaseClient > > > Key: HBASE-7013 > URL: https://issues.apache.org/jira/browse/HBASE-7013 > Project: HBase > Issue Type: Bug > Components: Client >Reporter: Hiroshi Ikeda >Priority: Critical > Labels: delete > > HBASE-2937 introduces rpc-timeout and sets SO_TIMEOUT parameter of the socket > to throw SocketTimeoutException. That means the exception can be thrown from > any code that reads data directly/indirectly from the socket. If the > exception is thrown in the middle of reading a set of data, it is required to > drag out and drop the rest part of the set of data from the socket and make > ready to read the next data, in order to reuse the socket. It seems > difficult, and I can't find such recovering code in HBaseClient. > I think, when IO streams wrapping the socket throw an exception, the nesting > connection instance should be discarded, and rpc-timeout should be handled > separately from SO_TIMEOUT parameter. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HBASE-7013) Avoid reusing a input stream that stumbles on rpc-timeout in HBaseClient
[ https://issues.apache.org/jira/browse/HBASE-7013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-7013: - Priority: Critical (was: Major) > Avoid reusing a input stream that stumbles on rpc-timeout in HBaseClient > > > Key: HBASE-7013 > URL: https://issues.apache.org/jira/browse/HBASE-7013 > Project: HBase > Issue Type: Bug > Components: Client >Reporter: Hiroshi Ikeda >Priority: Critical > Labels: delete > Fix For: 2.0.0 > > > HBASE-2937 introduces rpc-timeout and sets SO_TIMEOUT parameter of the socket > to throw SocketTimeoutException. That means the exception can be thrown from > any code that reads data directly/indirectly from the socket. If the > exception is thrown in the middle of reading a set of data, it is required to > drag out and drop the rest part of the set of data from the socket and make > ready to read the next data, in order to reuse the socket. It seems > difficult, and I can't find such recovering code in HBaseClient. > I think, when IO streams wrapping the socket throw an exception, the nesting > connection instance should be discarded, and rpc-timeout should be handled > separately from SO_TIMEOUT parameter. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-7013) Avoid reusing a input stream that stumbles on rpc-timeout in HBaseClient
[ https://issues.apache.org/jira/browse/HBASE-7013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-7013: -- Fix Version/s: 2.0.0 Set fix version for trunk > Avoid reusing a input stream that stumbles on rpc-timeout in HBaseClient > > > Key: HBASE-7013 > URL: https://issues.apache.org/jira/browse/HBASE-7013 > Project: HBase > Issue Type: Bug > Components: Client >Reporter: Hiroshi Ikeda > Labels: delete > Fix For: 2.0.0 > > > HBASE-2937 introduces rpc-timeout and sets SO_TIMEOUT parameter of the socket > to throw SocketTimeoutException. That means the exception can be thrown from > any code that reads data directly/indirectly from the socket. If the > exception is thrown in the middle of reading a set of data, it is required to > drag out and drop the rest part of the set of data from the socket and make > ready to read the next data, in order to reuse the socket. It seems > difficult, and I can't find such recovering code in HBaseClient. > I think, when IO streams wrapping the socket throw an exception, the nesting > connection instance should be discarded, and rpc-timeout should be handled > separately from SO_TIMEOUT parameter. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-7013) Avoid reusing a input stream that stumbles on rpc-timeout in HBaseClient
[ https://issues.apache.org/jira/browse/HBASE-7013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Cosmin Lehene updated HBASE-7013: - Labels: delete (was: ) > Avoid reusing a input stream that stumbles on rpc-timeout in HBaseClient > > > Key: HBASE-7013 > URL: https://issues.apache.org/jira/browse/HBASE-7013 > Project: HBase > Issue Type: Bug > Components: Client >Reporter: Hiroshi Ikeda > Labels: delete > > HBASE-2937 introduces rpc-timeout and sets SO_TIMEOUT parameter of the socket > to throw SocketTimeoutException. That means the exception can be thrown from > any code that reads data directly/indirectly from the socket. If the > exception is thrown in the middle of reading a set of data, it is required to > drag out and drop the rest part of the set of data from the socket and make > ready to read the next data, in order to reuse the socket. It seems > difficult, and I can't find such recovering code in HBaseClient. > I think, when IO streams wrapping the socket throw an exception, the nesting > connection instance should be discarded, and rpc-timeout should be handled > separately from SO_TIMEOUT parameter. -- This message was sent by Atlassian JIRA (v6.3.4#6332)