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

[email protected] commented on HBASE-3762:
------------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/574/
-----------------------------------------------------------

Review request for hbase and Gary Helmling.


Summary
-------

Currently HTableFactory.releaseHTableInterface() wraps IOException in 
RuntimeException.
We should let HTableInterfaceFactory.releaseHTableInterface() throw IOException 
explicitly.


This addresses bug HBASE-3762.
    https://issues.apache.org/jira/browse/HBASE-3762


Diffs
-----

  /src/main/java/org/apache/hadoop/hbase/avro/AvroServer.java 1090768 
  /src/main/java/org/apache/hadoop/hbase/client/HTableFactory.java 1090768 
  /src/main/java/org/apache/hadoop/hbase/client/HTableInterfaceFactory.java 
1090768 
  /src/main/java/org/apache/hadoop/hbase/client/HTablePool.java 1090768 
  /src/main/java/org/apache/hadoop/hbase/rest/RowResource.java 1090768 
  /src/test/java/org/apache/hadoop/hbase/client/TestHTablePool.java 1090768 

Diff: https://reviews.apache.org/r/574/diff


Testing
-------

TestHTablePool and TestAvroServer pass.


Thanks,

Ted



> HTableFactory.releaseHTableInterface() wraps IOException in RuntimeException
> ----------------------------------------------------------------------------
>
>                 Key: HBASE-3762
>                 URL: https://issues.apache.org/jira/browse/HBASE-3762
>             Project: HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.90.2
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>
> Currently HTableFactory.releaseHTableInterface() wraps IOException in 
> RuntimeException.
> We should let HTableInterfaceFactory.releaseHTableInterface() throw 
> IOException explicitly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to