hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sriram Muthuswamy Chittathoor" <srir...@ivycomptech.com>
Subject Hbase loading error -- Trailer 'header' is wrong; does the trailer size match content
Date Thu, 07 Jan 2010 13:49:55 GMT

I am trying to run a MR job to output HFiles directly containing 10
million records (very simple 1 column family and very small).  The job
completes with some mention about killed jobs (reduce Failed/Killed
Task Attempts > 0) .  Then I use the script loadtable.rb to load my
hfiles into hbase and get the error stack given below. 

I tried all combinations of settings in the mapred-site.xml. Also tried
the suggestions given in this chain which talks about similar problem.

If I reduce the number of records it works.  

Thanks for any help

Sriram C

org/apache/hadoop/hbase/io/hfile/HFile.java:1335:in `deserialize':
java.io.IOException: Trailer 'header' is  wrong; does the trailer size
match content? (NativeException)
        from org/apache/hadoop/hbase/io/hfile/HFile.java:813:in
        from org/apache/hadoop/hbase/io/hfile/HFile.java:758:in
        from sun/reflect/NativeMethodAccessorImpl.java:-2:in `invoke0'
        from sun/reflect/NativeMethodAccessorImpl.java:39:in `invoke'
        from sun/reflect/DelegatingMethodAccessorImpl.java:25:in
        from java/lang/reflect/Method.java:597:in `invoke'
        from org/jruby/javasupport/JavaMethod.java:298:in
        from org/jruby/javasupport/JavaMethod.java:259:in `invoke'
         ... 19 levels...
        from org/jruby/Main.java:94:in `main'
        from bin/loadtable.rb:83:in `each'
        from bin/loadtable.rb:83
Complete Java stackTrace
java.io.IOException: Trailer 'header' is wrong; does the trailer size
match content?

This email is sent for and on behalf of Ivy Comptech Private Limited. Ivy Comptech Private
Limited is a limited liability company.  

This email and any attachments are confidential, and may be legally privileged and protected
by copyright. If you are not the intended recipient dissemination or copying of this email
is prohibited. If you have received this in error, please notify the sender by replying by
email and then delete the email completely from your system. 
Any views or opinions are solely those of the sender.  This communication is not intended
to form a binding contract on behalf of Ivy Comptech Private Limited unless expressly indicated
to the contrary and properly authorised. Any actions taken on the basis of this email are
at the recipient's own risk.

Registered office:
Ivy Comptech Private Limited, Cyber Spazio, Road No. 2, Banjara Hills, Hyderabad 500 033,
Andhra Pradesh, India. Registered number: 37994. Registered in India. A list of members' names
is available for inspection at the registered office.

View raw message