Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18462

HBase server fails to start when rootdir contains spaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.3.1, 1.2.6
    • None
    • test
    • None

    Description

      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:

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              iemejia Ismaël Mejía
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: