You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Enis Soztutar (JIRA)" <ji...@apache.org> on 2013/08/30 00:09:53 UTC

[jira] [Updated] (HBASE-9384) [WINDOWS] Using file://{hbase.tmp.dir}/hbase for hbase.rootdir causes illegal argument exception on windows

     [ https://issues.apache.org/jira/browse/HBASE-9384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Enis Soztutar updated HBASE-9384:
---------------------------------

    Description: 
We define hbase.rootdir as follows in hbase-default.xml: 
{code}
  <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>
{code}
This causes an
java.lang.IllegalArgumentException: Wrong FS: file://C:\Users\Administrator\AppData\Local\Temp\2\/hbase-Administrator/hbase, expected: file:/// 
on windows. 



  was:
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. 



    
> [WINDOWS] Using file://{hbase.tmp.dir}/hbase for hbase.rootdir causes illegal argument exception on windows
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-9384
>                 URL: https://issues.apache.org/jira/browse/HBASE-9384
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>             Fix For: 0.98.0, 0.96.0
>
>
> We define hbase.rootdir as follows in hbase-default.xml: 
> {code}
>   <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>
> {code}
> This causes an
> java.lang.IllegalArgumentException: Wrong FS: file://C:\Users\Administrator\AppData\Local\Temp\2\/hbase-Administrator/hbase, expected: file:/// 
> on windows. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira