Coder Social home page Coder Social logo

hbase-utils's Introduction

HBase Commandline Utilities
---------------------------
https://github.com/memonews/hbase-utils

Copyright (C) 2011 MeMoNews AG 

HBase Utilities to copy/move/rename column-families or copy complete tables with it's data. 
This software comes with absolutely *NO WARRANTY* whatsoever. 
See LICENSE.txt for more details. 
The utilities are for testing porposes only and should not be used on a 
production system without further testing (they are also very slow compared to a mapreduce job).

Installation:
-------------

1. build the project via maven: $ mvn package

2. then run one of the the following executables:

	a) $ hadoop jar target/hbase-utils-1.0-SNAPSHOT.jar com.memonews.hbase.CopyTable [-conf ...] <source> <target>
	 - to copy a complete table
	
	b) $ hadoop jar target/hbase-utils-1.0-SNAPSHOT.jar com.memonews.hbase.CopyColumnFamily [-conf ...] <source-table> <source-column> <target-table> <target-column>
	 - to copy a column-family from one table to another table
	 - to copy a column-family to the same table under a different name 
	
	c) $ hadoop jar target/hbase-utils-1.0-SNAPSHOT.jar com.memonews.hbase.MoveColumnFamily [-conf ...] <source-table> <source-column> <target-table> <target-column>
	 - to move a column-family from one table to another table
	 - to rename a column-family within a table

	d) $ hadoop jar target/hbase-utils-1.0-SNAPSHOT.jar com.memonews.hbase.CopyRow [-conf ...] <source-table> <source-row> <target-table> <target-row>
     - to copy row from one table to another table
	 - to copy row to the same table under a different key 
	
	e) $ hadoop jar target/hbase-utils-1.0-SNAPSHOT.jar com.memonews.hbase.MoveRow [-conf ...] <source-table> <source-row> <target-table> <target-row>
     - to move row from one table to another table
     - to move row to the same table under a different key

    f) $ hadoop jar target/hbase-utils-1.0-SNAPSHOT.jar com.memonews.hbase.CopyColumnFamilyData [-conf ...] <source-table> <source-column> <target-table> <target-column>
	 - to copy data of a column-family from one table to another table
	 - to copy data a column-family to the same table under a different name 

    g) $ hadoop jar target/hbase-utils-1.0-SNAPSHOT.jar com.memonews.hbase.MoveColumnFamilyData [-conf ...] <source-table> <source-column> <target-table> <target-column>
	 - to move data of a column-family from one table to another table
	 - to move data a column-family to the same table under a different name 

hbase-utils's People

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

isabella232

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.