You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2009/11/18 02:09:39 UTC

[jira] Commented: (HADOOP-6381) WritableUtils::*VLong utilities should be available for byte arrays

    [ https://issues.apache.org/jira/browse/HADOOP-6381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12779237#action_12779237 ] 

Todd Lipcon commented on HADOOP-6381:
-------------------------------------

I think the new functions should return the number of bytes actually written - otherwise it's impossible to use this as part of a serialization routine where you want to continue writing more stuff into an array after the vlong/vint, right?

> WritableUtils::*VLong utilities should be available for byte arrays
> -------------------------------------------------------------------
>
>                 Key: HADOOP-6381
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6381
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: util
>            Reporter: Chris Douglas
>            Priority: Minor
>         Attachments: C6381-0.patch
>
>
> Particularly when working with raw bytes in Writables, it is often useful to have versions of the vint utility functions for byte arrays.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.