have you set the output compress class?

OutputFormatBase.setOutputCompressorClass

yu-yang

在 10 Jun 2007 00:46 時,张茂森 寫到:

Hi all:

I have tried to compress the output data, so I use the sentence below:

TextOutputFormat.setCompressOutput(conf, true);

After I finish my hadoop job, the output data is like these:

Part-00000.deflate Part-00001.deflate

And I use the hadoop dfs command to get these data:

Hadoop dfs –get Part-00000.deflate ./

But I can’t open the file part-00000.deflate got on my local disk at all!
(I’ve tried gunzip and unzip command, but failed)

Would you please tell me the right way to inflate the file
part-00000.deflate? Thank you very much!


Reply via email to