hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-14574) TableOutputFormat#getRecordWriter javadoc misleads
Date Wed, 07 Oct 2015 18:20:27 GMT
stack created HBASE-14574:
-----------------------------

             Summary: TableOutputFormat#getRecordWriter javadoc misleads
                 Key: HBASE-14574
                 URL: https://issues.apache.org/jira/browse/HBASE-14574
             Project: HBase
          Issue Type: Improvement
            Reporter: stack


Some feedback from a user was that it was not plain that getRecordWriter returns a NEW instance
on each invocation. The base Interface javadoc on OutputWriter would seem to indicate there
is one instance for a whole 'job'... That is not what we do. So, just reading the javadoc,
you'd not bother with closing the returned record writer since the framework will do the close
up for you; thats what the javadoc implies. This made it so it seemed hbase was losing writes.

Lets fix in javadoc at least.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message