[ https://issues.apache.org/jira/browse/HBASE-4619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13130767#comment-13130767 ]
Ted Yu commented on HBASE-4619: ------------------------------- This should be fixed by HBASE-4508 > TableOutputFormat.close() interferes with HBase clients in same JVM > ------------------------------------------------------------------- > > Key: HBASE-4619 > URL: https://issues.apache.org/jira/browse/HBASE-4619 > Project: HBase > Issue Type: Bug > Reporter: Dave Revell > > This appears in TableOutputFormat.java: > {code} > @Override > public void close(TaskAttemptContext context) > throws IOException { > table.flushCommits(); > // The following call will shutdown all connections to the cluster from > // this JVM. It will close out our zk session otherwise zk wil log > // expired sessions rather than closed ones. If any other HTable > instance > // running in this JVM, this next call will cause it damage. > Presumption > // is that the above this.table is only instance. > HConnectionManager.deleteAllConnections(true); > } > {code} > It's not a safe assumption that a single TableOutputFormat is the only HBase > client in a JVM. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira