chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jiaqi Tan <tanji...@gmail.com>
Subject Accessing SequenceFiles - need Lzo?
Date Mon, 25 May 2009 14:32:16 GMT
Hi,

When I try to access SequenceFiles of ChukwaRecords, for instance
using the chukwa.util.DumpArchive class, I get the following error
from Hadoop 0.18:

jiaqi@jiaqi-macbook-ubuntu:~/code/deploy/chukwa-0.1.2$
../hadoop-0.18.4-dev/bin/hadoop --config ../hadoop-0.18.4-dev/conf/
jar chukwa-core-0.1.2.jar org.apache.hadoop.chukwa.util.DumpArchive
/test1/in/JobData.evt
Input file:/test1/in/JobData.evt
09/05/25 06:46:16 INFO conf.ChukwaConfiguration: chukwaConf is ./conf/
09/05/25 06:46:17 WARN util.NativeCodeLoader: Unable to load
native-hadoop library for your platform... using builtin-java classes
where applicable
09/05/25 06:46:17 ERROR compress.LzoCodec: Cannot load native-lzo
without native-hadoop
java.lang.RuntimeException: native-lzo library not available
	at org.apache.hadoop.io.compress.LzoCodec.getDecompressorType(LzoCodec.java:170)
	at org.apache.hadoop.io.compress.CodecPool.getDecompressor(CodecPool.java:118)
	at org.apache.hadoop.io.SequenceFile$Reader.init(SequenceFile.java:1522)
	at org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1431)
	at org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1420)
	at org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1415)
	at org.apache.hadoop.chukwa.util.DumpArchive.main(DumpArchive.java:28)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:155)
	at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
	at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68)

Any ideas why this is the case?

Thanks,
Jiaqi

Mime
View raw message