Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B22AF18764 for ; Thu, 30 Apr 2015 21:51:06 +0000 (UTC) Received: (qmail 79634 invoked by uid 500); 30 Apr 2015 21:51:06 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 79586 invoked by uid 500); 30 Apr 2015 21:51:06 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 79573 invoked by uid 99); 30 Apr 2015 21:51:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Apr 2015 21:51:06 +0000 Date: Thu, 30 Apr 2015 21:51:06 +0000 (UTC) From: "Enis Soztutar (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-12960) Cannot run the "hbase shell" command on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)