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

[WINDOWS] Using file://{hbase.tmp.dir}/hbase for hbase.rootdir causes illegal argument exception on windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.98.0, 0.96.0
    • None
    • None
    • Reviewed

    Description

      We define hbase.rootdir as follows in hbase-default.xml:

        <property>
          <name>hbase.tmp.dir</name>
          <value>${java.io.tmpdir}/hbase-${user.name}</value>
        </property>
        <property>
          <name>hbase.rootdir</name>
          <value>file://${hbase.tmp.dir}/hbase</value>
        </property>
      

      This causes an
      java.lang.IllegalArgumentException: Wrong FS: file://C:\Users\Administrator\AppData\Local\Temp\2\/hbase-Administrator/hbase, expected: file:///
      on windows.

      Attachments

        1. hbase-9384_v1.patch
          0.7 kB
          Enis Soztutar

        Activity

          People

            enis Enis Soztutar
            enis Enis Soztutar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: