You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@hadoop.apache.org by Jürgen Kaatz <ka...@etracker.com> on 2009/07/22 18:43:47 UTC
HDFS Thrift method 'write' does not transfer bytes
Hi,
I try to copy a local 'gz' file via the HDFS Thrift method 'write' to HDFS. Unfortunately the method accepts only a 'String' as data and converts this to UTF8. I need t transfer bytes for the gz file.
Can anybody help me?
Juergen
Re: HDFS Thrift method 'write' does not transfer bytes
Posted by Dhruba Borthakur <dh...@gmail.com>.
I believe you are right. It might help to check out the Thrift documentation
at http://wiki.apache.org/thrift/ and then enhance the hadoop.thriftfs API
to store/retrieve bytes.
thanks
dhruba
2009/7/22 Jürgen Kaatz <ka...@etracker.com>
> Hi,
>
> I try to copy a local 'gz' file via the HDFS Thrift method 'write' to HDFS.
> Unfortunately the method accepts only a 'String' as data and converts this
> to UTF8. I need t transfer bytes for the gz file.
>
> Can anybody help me?
>
> Juergen
>
>