[jira] [Commented] (TEZ-2608) UnorderedPartitionedKVWriter should override write(Object key, Iterable values)

Mon, 27 Jun 2016 11:27:06 -0700

    [ 
https://issues.apache.org/jira/browse/TEZ-2608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15351533#comment-15351533
 ] 

Tsuyoshi Ozawa commented on TEZ-2608:
-------------------------------------

{quote}
Another useful bit to look at is whether the write(Key, Iterable<Values) API 
can be used in any of the actual writers. Currently it's only exercised by 
tests.
{quote}

Should we add an example?

> UnorderedPartitionedKVWriter should override write(Object key, 
> Iterable<Object> values) 
> ----------------------------------------------------------------------------------------
>
>                 Key: TEZ-2608
>                 URL: https://issues.apache.org/jira/browse/TEZ-2608
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Tsuyoshi Ozawa
>            Assignee: Tsuyoshi Ozawa
>         Attachments: TEZ-2608.001.patch, TEZ-2608.002.patch
>
>
> From BaseUnorderedPartitionedKVWriter:
> {code}
>   @Override
>   public void write(Object key, Iterable<Object> values) throws IOException {
>     //TODO: UnorderedPartitionedKVWriter should override this method later.
>     Iterator<Object> it = values.iterator();
>     while(it.hasNext()) {
>       write(key, it.next());
>     }
>   }
> {code}



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

Reply via email to