[ 
https://issues.apache.org/jira/browse/HBASE-6815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Enis Soztutar updated HBASE-6815:
---------------------------------

    Release Note: 
Added windows .cmd scripts, similar to bash counterparts for managing hbase 
daemons, and running hbase commands from the Windows Shell. These commands does 
not depend on cygwin. Multi node setup (using SSH or similar) is not supported. 


  was:
This patch contains windows scripts.

Right now the following is supported within the dev environment:

1. Getting version:
 C:\apache_hbase>bin\hbase.cmd version
 13/01/15 22:28:22 INFO util.VersionInfo: HBase 0.95-SNAPSHOT
 13/01/15 22:28:22 INFO util.VersionInfo: Subversion 
file:///cygdrive/c/apache_hbase/hbase-server -r Unknown
 13/01/15 22:28:22 INFO util.VersionInfo: Compiled by viatk on Tue Jan 15 
10:27:11 PST 2013

2. Getting classpath:
 C:\apache_hbase>bin\hbase.cmd classpath
 
C:\apache_hbase\bin\..\conf;C:\hw\tools\java\lib\tools.jar;C:\Users\viatk\.m2\repository\asm\asm\3.1\asm-3.1.jar;C:\U...

3. Starting HBASE in standalone mode:
 C:\apache_hbase>bin\start-hbase.cmd
 Would start hbase in a separate console app

4. Running hbase shell:
 C:\apache_hbase>bin\hbase.cmd shell
 Would start hbase shell in a separate window.
 One can create tables and put and scan data via shell there.

5. Stopping hbase:
 C:\apache_hbase>bin\stop-hbase.cmd
 Would stop HBase.

You need set JAVA_HOME (either via env. varable or by modifying 
conf\hbase-env.cmd)
 Ex. C:\apache_hbase>set JAVA_HOME=C:\hw\tools\java

Please let me know if you run into issues!


    
> [WINDOWS] Provide hbase scripts in order to start HBASE on Windows in a 
> single user mode
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-6815
>                 URL: https://issues.apache.org/jira/browse/HBASE-6815
>             Project: HBase
>          Issue Type: Sub-task
>    Affects Versions: 0.94.3, 0.96.0
>            Reporter: Enis Soztutar
>            Assignee: Slavik Krassovsky
>         Attachments: hbase-6815_v1.patch, hbase-6815_v2.patch, 
> hbase-6815_v3.patch
>
>
> Provide .cmd scripts in order to start HBASE on Windows in a single user mode

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to