org.apache.hadoop.hbase.rest
Class Main
java.lang.Object
org.apache.hadoop.hbase.rest.Main
- All Implemented Interfaces:
- Constants
public class Main
- extends Object
- implements Constants
Main class for launching REST gateway as a servlet hosted by Jetty.
The following options are supported:
- -p --port : service port
- -ro --readonly : server mode
Constructor Summary |
Main()
|
Method Summary |
static void |
main(String[] args)
The main method for the HBase rest server. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Main
public Main()
main
public static void main(String[] args)
throws Exception
- The main method for the HBase rest server.
- Parameters:
args
- command-line arguments
- Throws:
Exception
- exception
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.