You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by Alessandro Binhara <bi...@gmail.com> on 2011/03/25 14:36:32 UTC

problem with writeUTF

Hello all ..

I write some programs to hadoop here .. and i had a problem with writeUTF
..
It put a null in every line begin .

See in attachement ..

Whats happen? How to remove this null ?

thanks

Re: problem with writeUTF

Posted by Alessandro Binhara <bi...@gmail.com>.
OHOHOHO Thanks ..
It s working now!!!!



On Fri, Mar 25, 2011 at 11:22 AM, Mapred Learn <ma...@gmail.com>wrote:

> I also had this problem And ended up switching to :
> Write instead of writeUTF:
> Write(outputBytes, 0, outputBytes.length)
>
> Sent from my iPhone
>
> On Mar 25, 2011, at 6:36 AM, Alessandro Binhara <bi...@gmail.com> wrote:
>
> > Hello all ..
> >
> > I write some programs to hadoop here .. and i had a problem with writeUTF
> ..
> > It put a null in every line begin .
> >
> > See in attachement ..
> >
> > Whats happen? How to remove this null ?
> >
> > thanks
> >
> > <imagenull.png>
>

Re: problem with writeUTF

Posted by Alessandro Binhara <bi...@gmail.com>.
OHOHOHO Thanks ..
It s working now!!!!



On Fri, Mar 25, 2011 at 11:22 AM, Mapred Learn <ma...@gmail.com>wrote:

> I also had this problem And ended up switching to :
> Write instead of writeUTF:
> Write(outputBytes, 0, outputBytes.length)
>
> Sent from my iPhone
>
> On Mar 25, 2011, at 6:36 AM, Alessandro Binhara <bi...@gmail.com> wrote:
>
> > Hello all ..
> >
> > I write some programs to hadoop here .. and i had a problem with writeUTF
> ..
> > It put a null in every line begin .
> >
> > See in attachement ..
> >
> > Whats happen? How to remove this null ?
> >
> > thanks
> >
> > <imagenull.png>
>

Re: problem with writeUTF

Posted by Mapred Learn <ma...@gmail.com>.
I also had this problem And ended up switching to :
Write instead of writeUTF:
Write(outputBytes, 0, outputBytes.length)

Sent from my iPhone

On Mar 25, 2011, at 6:36 AM, Alessandro Binhara <bi...@gmail.com> wrote:

> Hello all .. 
> 
> I write some programs to hadoop here .. and i had a problem with writeUTF .. 
> It put a null in every line begin . 
> 
> See in attachement .. 
> 
> Whats happen? How to remove this null ? 
> 
> thanks 
> 
> <imagenull.png>