deeshank
deeshank

Reputation: 4486

Hbase Import Table Error

I was trying to import the data from one hbase(v0.98.4) to another hbase(v0.98.13).

I have exported the data using the below command -

hbase org.apache.hadoop.hbase.mapreduce.Driver export 'tblname' /path/

But I am not able to import it using the below command -

hbase org.apache.hadoop.hbase.mapreduce.Driver import 'tblname' /hdfs/path/

I get the below deprecation messages as well as an Exception thrown - enter image description here

enter image description here

Is it becoz of version conflicts between source db and destination db?

Upvotes: 0

Views: 239

Answers (2)

deeshank
deeshank

Reputation: 4486

I happen to solve it. All I had to do was create an empty table with same metadata and then import it. :)

Upvotes: 1

Ramzy
Ramzy

Reputation: 7138

Try using the commands here for Hbase versions above 0.94. May be you are using generalized Map reduce class and giving export and import as arguments, when the actual classes Export and Import are present. Hope it helps. Happy coding

Upvotes: 0

Related Questions