[
https://issues.apache.org/jira/browse/HBASE-22068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16796664#comment-16796664
]
Duo Zhang commented on HBASE-22068:
-----------------------------------
I think we should keep the log level as debug, since we will just throw the
exception out?
And please add comments in the close to say why we need null checks. The
description of this issue is pretty fine.
Thanks.
> improve client connection ctor error handling
> ---------------------------------------------
>
> Key: HBASE-22068
> URL: https://issues.apache.org/jira/browse/HBASE-22068
> Project: HBase
> Issue Type: Improvement
> Reporter: Sergey Shelukhin
> Assignee: Sergey Shelukhin
> Priority: Minor
> Attachments: HBASE-22068.patch
>
>
> Close is called from ctor and can thus be called on a partially initialized
> object. It should have null checks for all the fields.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)