[
https://issues.apache.org/jira/browse/HBASE-18462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16114081#comment-16114081
]
Ismaël Mejía commented on HBASE-18462:
--------------------------------------
Oh I am really impressed that HBase uses Hadoop FileSystem even for a local
filesystem (notice that this tests does not use a MiniCluster based HDFS). I
agree that an end user should never care about putting this %20s and your
argument makes sense. I just mentioned this because that was my way to 'hack'
it during the debug session, however I didn't continue because I was confused
about the use of Paths instead of URIs in HBase but I see that the motivation
comes also from this encoding issue.
I don't see yet the logic of why i can use a directory with spaces in S3 or
even on HDFS but not in a local filesystem, something is not ok, this should be
consistent, no?
> 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ël Mejía
> Priority: Minor
>
> As part of the tests for the HBase connector for Beam I discovered that when
> you start an HBase server instance from a directory that contains spaces
> (rootdir) it does not start correctly. This happens both with the
> HBaseTestingUtility server and with the binary distribution too.
> The concrete exception says:
> {quote}
> Caused by: java.net.URISyntaxException: Illegal character in path at index
> 89:
> file:/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Java_JDK_Versions_Test/jdk/JDK
> 1.7
> (latest)/label/beam/sdks/java/io/hbase/target/test-data/b11a0828-4628-4fe9-885d-073fb641ddc9
> at java.net.URI$Parser.fail(URI.java:2829)
> at java.net.URI$Parser.checkChars(URI.java:3002)
> at java.net.URI$Parser.parseHierarchical(URI.java:3086)
> at java.net.URI$Parser.parse(URI.java:3034)
> at java.net.URI.<init>(URI.java:595)
> at java.net.URI.create(URI.java:857)
> ... 37 more
> {quote}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)