You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2015/10/07 20:28:27 UTC

[jira] [Updated] (HBASE-14574) TableOutputFormat#getRecordWriter javadoc misleads

     [ https://issues.apache.org/jira/browse/HBASE-14574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-14574:
--------------------------
    Assignee: Brian Stack
      Status: Patch Available  (was: Open)

> TableOutputFormat#getRecordWriter javadoc misleads
> --------------------------------------------------
>
>                 Key: HBASE-14574
>                 URL: https://issues.apache.org/jira/browse/HBASE-14574
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: stack
>            Assignee: Brian Stack
>         Attachments: 14574.txt
>
>
> 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)