You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Slavik Krassovsky (JIRA)" <ji...@apache.org> on 2013/01/16 07:40:13 UTC

[jira] [Commented] (HBASE-6815) [WINDOWS] Provide hbase scripts in order to start HBASE on Windows in a single user mode

    [ https://issues.apache.org/jira/browse/HBASE-6815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13554800#comment-13554800 ] 

Slavik Krassovsky commented on HBASE-6815:
------------------------------------------

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
>
>
> 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