[ https://issues.apache.org/jira/browse/HBASE-9384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Enis Soztutar updated HBASE-9384: --------------------------------- Attachment: hbase-9384_v1.patch Attaching a patch which changes hbase.rootdir to not have the file:// prefix. Since file:/// is the defaultFS, it should not make any difference whether we have it or not. Tested the patch on linux and windows by starting hbase locally. > [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 > > Attachments: hbase-9384_v1.patch > > > 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