[ https://issues.apache.org/jira/browse/HBASE-10472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13894834#comment-13894834 ]
Enis Soztutar commented on HBASE-10472: --------------------------------------- bq. Not really, imho: we need the code to be clean when there are interruptions. ZooKeeper API is clean. Our wrapping is not clean today. Ok. I guess we can make ZkUtil methods interruptible one by one in the long term. +1. > Manage the interruption in ZKUtil#getData > ----------------------------------------- > > Key: HBASE-10472 > URL: https://issues.apache.org/jira/browse/HBASE-10472 > Project: HBase > Issue Type: Bug > Components: Client, master, regionserver > Affects Versions: 0.98.0, 0.99.0 > Reporter: Nicolas Liochon > Assignee: Nicolas Liochon > Fix For: 0.98.1, 0.99.0 > > Attachments: 10472.v1.patch, 10472.v2.patch > > > Many, but not all, methods in ZKUtil partly hides the interruption: they > return null or something like that. Many times, this will result in a NPE, or > something undefined. > This jira is limited to the getData to keep things small enough (it's used in > hbase-client code). > The code is supposed to behave at least 'as well as before', or better > (hopefully). > It could be included in a later .98 release (98.1) and in .99 -- This message was sent by Atlassian JIRA (v6.1.5#6160)