[
https://issues.apache.org/jira/browse/HBASE-2225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834958#action_12834958
]
Lars George commented on HBASE-2225:
------------------------------------
Trying to test this now and getting
{code}
java.lang.IllegalArgumentException: SequenceFile doesn't work with GzipCodec
without native-hadoop code!
at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:379)
at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:347)
at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:420)
at
org.apache.hadoop.mapreduce.lib.output.SequenceFileOutputFormat.getSequenceWriter(SequenceFileOutputFormat.java:60)
at
org.apache.hadoop.mapreduce.lib.output.SequenceFileOutputFormat.getRecordWriter(SequenceFileOutputFormat.java:71)
at
org.apache.hadoop.mapred.MapTask$NewDirectOutputCollector.<init>(MapTask.java:509)
at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:619)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:323)
at
org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:257)
{code}
Is that a change in Hadoop? This used to work before I am sure. Comments? I
will look into it.
> Enable compression in HBase Export
> ----------------------------------
>
> Key: HBASE-2225
> URL: https://issues.apache.org/jira/browse/HBASE-2225
> Project: Hadoop HBase
> Issue Type: Improvement
> Components: util
> Affects Versions: 0.20.1
> Environment: OS agnostic
> Reporter: Ted Yu
> Assignee: Lars George
> Priority: Minor
> Attachments: HBASE-2225-trunk.patch
>
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> org.apache.hadoop.hbase.mapreduce.Export should set compression codec
> In createSubmittableJob(), the following should be added:
> FileOutputFormat.setCompressOutput(job, true);
> FileOutputFormat.setOutputCompressorClass(job,
> org.apache.hadoop.io.compress.GzipCodec.class);
> From my experiment, 10% to 50% reduction in Export output has been observed.
> SequenceFileInputFormat used by the Import tool is able to detect GzipCodec -
> there is no change for Import class.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.