org.apache.hadoop.hbase.catalog
Class MetaMigrationConvertingToPB

java.lang.Object
  extended by 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 ROOT and META tables to pbuf serialization. Supports migrating from 0.92.x and 0.94.x to 0.96.x for the catalog tables.


Constructor Summary
MetaMigrationConvertingToPB()
          Deprecated.  
 
Method Summary
static long updateRootAndMetaIfNecessary(MasterServices services)
          Deprecated. Update ROOT and META to newer version, converting writable serialization to PB, if it is needed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaMigrationConvertingToPB

public MetaMigrationConvertingToPB()
Deprecated. 
Method Detail

updateRootAndMetaIfNecessary

public static long updateRootAndMetaIfNecessary(MasterServices services)
                                         throws IOException
Deprecated. 
Update ROOT and META to newer version, 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 © 2013 The Apache Software Foundation. All Rights Reserved.