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 hbase:meta table to pbuf serialization. Supports migrating from 0.92.x and 0.94.x to 0.96.x for the catalog table.


Constructor Summary
MetaMigrationConvertingToPB()
          Deprecated.  
 
Method Summary
static long updateMetaIfNecessary(MasterServices services)
          Deprecated. 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

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 © 2015 The Apache Software Foundation. All rights reserved.