hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arun Mishra <mishraa...@icloud.com>
Subject Copy from CDH5 to CDH4
Date Tue, 31 Mar 2015 03:29:24 GMT
Hello hbase users,

I have a requirement to migrate data between CDH4 and CDH5. To migrate data from CDH4 to CDH5,
I am using export -> distcp -> import hbase tools and its very well. But the same doesn't
work from CDH5 to CDH4. In mapreduce task logs, I see below exception. 

java.lang.NegativeArraySizeException
	at org.apache.hadoop.hbase.client.Result.readFields(Result.java:464)
	at org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializer.deserialize(WritableSerialization.java:73)
	at org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializer.deserialize(WritableSerialization.java:44)
	at org.apache.hadoop.io.SequenceFile$Reader.deserializeValue(SequenceFile.java:2180)
	at org.apache.hadoop.io.SequenceFile$Reader.getCurrentValue(SequenceFile.java:2153)
	at org.apache.hadoop.mapreduce.lib.input.SequenceFileRecordReader.nextKeyValue(SequenceFileRecordReader.java:74)
	at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.nextKeyValue(MapTask.java:458)
	at org.apache.hadoop.mapreduce.task.MapContextImpl.nextKeyValue(MapContextImpl.java:76)
	at org.apache.hadoop.mapreduce.lib.map.WrappedMapper$Context.nextKeyValue(WrappedMapper.java:85)
	at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:139)
	at org.apache.hadoop.mapred.MapTask.runNewMapper

Has any one tried copying data from CDH5 (0.98) to CDH (0.92) ?? Any advice is appreciated.
Thanks.

- arun
Mime
View raw message