[ https://issues.apache.org/jira/browse/HBASE-12960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Enis Soztutar updated HBASE-12960: ---------------------------------- Resolution: Duplicate Status: Resolved (was: Patch Available) This is fixed by HBASE-13589. > 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)