Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Problem with Exporting a Hbase Snapshot to Another Cluster


Problem with Exporting a Hbase Snapshot to Another Cluster

New Contributor

Hi guys
I have small cloudera cluster CDH 4.5 version on centos 6 based OSes; and also I have second smaller testing cluster with latest uptodate CDH 5.x.x version on ubuntu 14.04. I have enabled hbase snapshots on both and trying to export some snapshot from CDH 4.5 to CDH5 cluster, but I get errors:

-bash-4.1$ hbase org.apache.hadoop.hbase.snapshot.ExportSnapshot -snapshot snapshotOFanprs -copy-to hdfs://CDH5:8020/hbase
Exception in thread "main" Failed on local exception: Message missing required fields: callId, status; Host Details : local host is: "CDH4"; destination host is: "CDH5":8020;
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(
at $Proxy10.getFileInfo(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at $Proxy10.getFileInfo(Unknown Source)
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(
at org.apache.hadoop.hdfs.DFSClient.getFileInfo(
at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(
at org.apache.hadoop.fs.FileSystem.exists(
at org.apache.hadoop.hbase.snapshot.ExportSnapshot.innerMain(
at org.apache.hadoop.hbase.snapshot.ExportSnapshot.main(
Caused by: Message missing required fields: callId, status
at org.apache.hadoop.ipc.protobuf.RpcPayloadHeaderProtos$RpcResponseHeaderProto$Builder.buildParsed(
at org.apache.hadoop.ipc.protobuf.RpcPayloadHeaderProtos$RpcResponseHeaderProto$Builder.access$1300(
at org.apache.hadoop.ipc.protobuf.RpcPayloadHeaderProtos$RpcResponseHeaderProto.parseDelimitedFrom(
at org.apache.hadoop.ipc.Client$Connection.receiveResponse(
at org.apache.hadoop.ipc.Client$

 I tryed change port number to 8022 - hdfs://CDH5:8022/hbase but same error


I have searched for solution in the internet but cant find, if you have any idea plz help
Thank you anyway

Don't have an account?
Coming from Hortonworks? Activate your account here