hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ismaël Mejía (JIRA) <j...@apache.org>
Subject [jira] [Commented] (HBASE-18462) HBase server fails to start when rootdir contains spaces
Date Thu, 27 Jul 2017 20:30:00 GMT

    [ https://issues.apache.org/jira/browse/HBASE-18462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16103850#comment-16103850

Ismaël Mejía commented on HBASE-18462:

You can find the full stacktrace in the linked issue (BEAM-2543). I have the impression that
the error is in HBase, I tried just changing the hbase.rootdir variable during debugging to
make encode use the URI instead of the path (so space became a valid %20) and it worked, however
I didn't go farther because I realized that the whole Path <-> URI use was more tricky
than what I expected.
And about the directory with spaces, I understand that this is not a recommended practice
but I don't see why this should break a server considering that 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ë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
> 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

View raw message