You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Lukas Eder (JIRA)" <ji...@apache.org> on 2015/02/03 16:23:39 UTC
[jira] [Created] (HBASE-12960) Cannot run the "hbase shell" command
on Windows
Lukas Eder created HBASE-12960:
----------------------------------
Summary: Cannot run the "hbase shell" command on Windows
Key: HBASE-12960
URL: https://issues.apache.org/jira/browse/HBASE-12960
Project: HBase
Issue Type: Bug
Components: shell
Affects Versions: 0.99.2
Environment: Windows 8.1
Reporter: Lukas Eder
Priority: Minor
I've just downloaded and unzipped hbase 0.99.2 and tried to run this command:
{code}
C:\hbase-0.99.2\bin>hbase shell
Invalid maximum heap size: -Xmx1000m "
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
{code}
The command is documented here:
http://hbase.apache.org/book.html#_get_started_with_hbase
The problem is in hbase.cmd on line 296
{code}
set HEAP_SETTINGS="%JAVA_HEAP_MAX% %JAVA_OFFHEAP_MAX%"
{code}
The quotes should be stripped:
{code}
set HEAP_SETTINGS=%JAVA_HEAP_MAX% %JAVA_OFFHEAP_MAX%
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)