org.apache.hadoop.hbase.catalog
Class MetaMigrationConvertingToPB
java.lang.Object
org.apache.hadoop.hbase.catalog.MetaMigrationConvertingToPB
Deprecated. will be removed for the major release after 0.96.
@Deprecated
public class MetaMigrationConvertingToPB
- extends Object
A tool to migrate the data stored in hbase:meta table to pbuf serialization.
Supports migrating from 0.92.x and 0.94.x to 0.96.x for the catalog table.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaMigrationConvertingToPB
public MetaMigrationConvertingToPB()
- Deprecated.
updateMetaIfNecessary
public static long updateMetaIfNecessary(MasterServices services)
throws IOException
- Deprecated.
- Converting writable serialization to PB, if it is needed.
- Parameters:
services
- MasterServices to get a handle on master
- Returns:
- num migrated rows
- Throws:
IOException
- or RuntimeException if something goes wrong
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.