hbase-issues mailing list archives

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

     [ 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)

Mime
View raw message