hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 林育智 <mylinyu...@gmail.com>
Subject Re: snappy could deal with empty file in version 1.02
Date Mon, 11 Jun 2012 07:18:51 GMT
2012/6/11  <mylinyuzhi@gmail.com>

> hi all:
>     i use snappy in map output,then in hive:
>     set hive.exec.compress.output=true;insert overwrite table test2 select
> * from test1;
>     the table test1 is null,then will create a empty file in test2, it's
> size is 4bytes, all zero.  when use "select * from test2" it will occur a
> eof exception. In the class BlockDecompressorStream,the decompress logical
> is :1,read the original size of chunk(4bytes);2,read size of compressed
> chunk(4bytes). but the empty file in snappy only 4 bytes.then eof exception
> occur in the step 2.  any one could help me,thx.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message