You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Laxman Goswami (Jira)" <ji...@apache.org> on 2021/02/02 06:58:00 UTC
[jira] [Assigned] (HBASE-19162) bin/hbase cli help should be more
forthcoming
[ https://issues.apache.org/jira/browse/HBASE-19162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Laxman Goswami reassigned HBASE-19162:
--------------------------------------
Assignee: Laxman Goswami
> bin/hbase cli help should be more forthcoming
> ---------------------------------------------
>
> Key: HBASE-19162
> URL: https://issues.apache.org/jira/browse/HBASE-19162
> Project: HBase
> Issue Type: Improvement
> Components: Operability
> Affects Versions: 2.0.0-alpha-4
> Reporter: Sean Busbey
> Assignee: Laxman Goswami
> Priority: Major
>
> The cli help for the {{bin/hbase}} command could use an improvement.
> {code}
> Busbey-MBA:hbase-2.0.0-alpha4 busbey$ ./bin/hbase --help
> Unrecognized option: --help
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
> Busbey-MBA:hbase-2.0.0-alpha4 busbey$ ./bin/hbase -help
> Usage: java [-options] class [args...]
> (to execute a class)
> or java [-options] -jar jarfile [args...]
> (to execute a jar file)
> where options include:
> -d32 use a 32-bit data model if available
> -d64 use a 64-bit data model if available
> -server to select the "server" VM
> The default VM is server,
> because you are running on a server-class machine.
> -cp <class search path of directories and zip/jar files>
> -classpath <class search path of directories and zip/jar files>
> A : separated list of directories, JAR archives,
> and ZIP archives to search for class files.
> -D<name>=<value>
> set a system property
> -verbose:[class|gc|jni]
> enable verbose output
> -version print product version and exit
> -version:<value>
> Warning: this feature is deprecated and will be removed
> in a future release.
> require the specified version to run
> -showversion print product version and continue
> -jre-restrict-search | -no-jre-restrict-search
> Warning: this feature is deprecated and will be removed
> in a future release.
> include/exclude user private JREs in the version search
> -? -help print this help message
> -X print help on non-standard options
> -ea[:<packagename>...|:<classname>]
> -enableassertions[:<packagename>...|:<classname>]
> enable assertions with specified granularity
> -da[:<packagename>...|:<classname>]
> -disableassertions[:<packagename>...|:<classname>]
> disable assertions with specified granularity
> -esa | -enablesystemassertions
> enable system assertions
> -dsa | -disablesystemassertions
> disable system assertions
> -agentlib:<libname>[=<options>]
> load native agent library <libname>, e.g. -agentlib:hprof
> see also, -agentlib:jdwp=help and -agentlib:hprof=help
> -agentpath:<pathname>[=<options>]
> load native agent library by full pathname
> -javaagent:<jarpath>[=<options>]
> load Java programming language agent, see java.lang.instrument
> -splash:<imagepath>
> show splash screen with specified image
> See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.
> Busbey-MBA:hbase-2.0.0-alpha4 busbey$ ./bin/hbase -h
> Usage: java [-options] class [args...]
> (to execute a class)
> or java [-options] -jar jarfile [args...]
> (to execute a jar file)
> where options include:
> -d32 use a 32-bit data model if available
> -d64 use a 64-bit data model if available
> -server to select the "server" VM
> The default VM is server,
> because you are running on a server-class machine.
> -cp <class search path of directories and zip/jar files>
> -classpath <class search path of directories and zip/jar files>
> A : separated list of directories, JAR archives,
> and ZIP archives to search for class files.
> -D<name>=<value>
> set a system property
> -verbose:[class|gc|jni]
> enable verbose output
> -version print product version and exit
> -version:<value>
> Warning: this feature is deprecated and will be removed
> in a future release.
> require the specified version to run
> -showversion print product version and continue
> -jre-restrict-search | -no-jre-restrict-search
> Warning: this feature is deprecated and will be removed
> in a future release.
> include/exclude user private JREs in the version search
> -? -help print this help message
> -X print help on non-standard options
> -ea[:<packagename>...|:<classname>]
> -enableassertions[:<packagename>...|:<classname>]
> enable assertions with specified granularity
> -da[:<packagename>...|:<classname>]
> -disableassertions[:<packagename>...|:<classname>]
> disable assertions with specified granularity
> -esa | -enablesystemassertions
> enable system assertions
> -dsa | -disablesystemassertions
> disable system assertions
> -agentlib:<libname>[=<options>]
> load native agent library <libname>, e.g. -agentlib:hprof
> see also, -agentlib:jdwp=help and -agentlib:hprof=help
> -agentpath:<pathname>[=<options>]
> load native agent library by full pathname
> -javaagent:<jarpath>[=<options>]
> load Java programming language agent, see java.lang.instrument
> -splash:<imagepath>
> show splash screen with specified image
> See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.
> Busbey-MBA:hbase-2.0.0-alpha4 busbey$ ./bin/hbase
> Usage: hbase [<options>] <command> [<args>]
> Options:
> --config DIR Configuration direction to use. Default: ./conf
> --hosts HOSTS Override the list in 'regionservers' file
> --auth-as-server Authenticate to ZooKeeper using servers configuration
> Commands:
> Some commands take arguments. Pass no args or -h for usage.
> shell Run the HBase shell
> hbck Run the hbase 'fsck' tool
> snapshot Tool for managing snapshots
> wal Write-ahead-log analyzer
> hfile Store file analyzer
> zkcli Run the ZooKeeper shell
> master Run an HBase HMaster node
> regionserver Run an HBase HRegionServer node
> zookeeper Run a ZooKeeper server
> rest Run an HBase REST server
> thrift Run the HBase Thrift server
> thrift2 Run the HBase Thrift2 server
> clean Run the HBase clean up script
> classpath Dump hbase CLASSPATH
> mapredcp Dump CLASSPATH entries required by mapreduce
> pe Run PerformanceEvaluation
> ltt Run LoadTestTool
> canary Run the Canary tool
> version Print the version
> backup Backup tables for recovery
> restore Restore tables from existing backup image
> CLASSNAME Run the class named CLASSNAME
> Busbey-MBA:hbase-2.0.0-alpha4 busbey$
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)