Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C62FC200CD2 for ; Thu, 27 Jul 2017 22:30:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C45A116B8C2; Thu, 27 Jul 2017 20:30:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 168EF16B8BF for ; Thu, 27 Jul 2017 22:30:03 +0200 (CEST) Received: (qmail 57841 invoked by uid 500); 27 Jul 2017 20:30:03 -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 57826 invoked by uid 99); 27 Jul 2017 20:30:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jul 2017 20:30:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 916B71A0400 for ; Thu, 27 Jul 2017 20:30:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id spEzdiHvRMGL for ; Thu, 27 Jul 2017 20:30:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 712F25FD7D for ; Thu, 27 Jul 2017 20:30:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id AAAD9E0D6A for ; Thu, 27 Jul 2017 20:30:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 6674924D28 for ; Thu, 27 Jul 2017 20:30:00 +0000 (UTC) Date: Thu, 27 Jul 2017 20:30:00 +0000 (UTC) From: =?utf-8?Q?Isma=C3=ABl_Mej=C3=ADa_=28JIRA=29?= To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-18462) HBase server fails to start when rootdir contains spaces MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 27 Jul 2017 20:30:04 -0000 [ https://issues.apache.org/jira/browse/HBASE-18462?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D161= 03850#comment-16103850 ]=20 Isma=C3=ABl Mej=C3=ADa commented on HBASE-18462: -------------------------------------- You can find the full stacktrace in the linked issue (BEAM-2543). I have th= e impression that the error is in HBase, I tried just changing the hbase.ro= otdir variable during debugging to make encode use the URI instead of the p= ath (so space became a valid %20) and it worked, however I didn't go farthe= r because I realized that the whole Path <-> URI use was more tricky than w= hat I expected. And about the directory with spaces, I understand that this is not a recomm= ended practice but I don't see why this should break a server considering t= hat this is not a weird forbidden character in most filesystems. > HBase server fails to start when rootdir contains spaces > -------------------------------------------------------- > > Key: HBASE-18462 > URL: https://issues.apache.org/jira/browse/HBASE-18462 > Project: HBase > Issue Type: Bug > Components: hbase, test > Affects Versions: 1.3.1, 1.2.6 > Reporter: Isma=C3=ABl Mej=C3=ADa > Priority: Minor > > As part of the tests for the HBase connector for Beam I discovered that w= hen you start an HBase server instance from a directory that contains space= s (rootdir) it does not start correctly. This happens both with the HBaseTe= stingUtility server and with the binary distribution too. > The concrete exception says: > {quote} > Caused by: java.net.URISyntaxException: Illegal character in path at inde= x 89: file:/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Java_JDK_V= ersions_Test/jdk/JDK 1.7 (latest)/label/beam/sdks/java/io/hbase/target/test= -data/b11a0828-4628-4fe9-885d-073fb641ddc9 > =09at java.net.URI$Parser.fail(URI.java:2829) > =09at java.net.URI$Parser.checkChars(URI.java:3002) > =09at java.net.URI$Parser.parseHierarchical(URI.java:3086) > =09at java.net.URI$Parser.parse(URI.java:3034) > =09at java.net.URI.(URI.java:595) > =09at java.net.URI.create(URI.java:857) > =09... 37 more > {quote} -- This message was sent by Atlassian JIRA (v6.4.14#64029)