You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jean-Marc Spaggiari (JIRA)" <ji...@apache.org> on 2012/06/25 22:44:52 UTC

[jira] [Commented] (HBASE-4858) hbase-site.xml example in quickstart doesn't work in Linux

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

Jean-Marc Spaggiari commented on HBASE-4858:
--------------------------------------------

Hi Bryce,

So what you are saying is that you used this example instead?
{code:xml} 
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
  <property>
    <name>hbase.rootdir</name>
    <!-- Depending on your platform, this may create a 'file:' directory
         in hbase home instead of the desired behavior. Try using a standard
         platform specific absolute path instead. -->
    <value>/DIRECTORY/hbase</value>
  </property>
</configuration>
{code} 

On a fully-distributed environment, it should be something like "hdfs://...". But "file://..." should still be working even under linux. At least, it was worling for me. Are you sure there is no typo? Can you give it another try? I will retry too on my side.
                
> hbase-site.xml example in quickstart doesn't work in Linux
> ----------------------------------------------------------
>
>                 Key: HBASE-4858
>                 URL: https://issues.apache.org/jira/browse/HBASE-4858
>             Project: HBase
>          Issue Type: Bug
>          Components: documentation
>         Environment: java version "1.6.0_23"
> OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-1)
> OpenJDK Client VM (build 20.0-b11, mixed mode, sharing)
>            Reporter: Bryce Allen
>            Priority: Minor
>
> Under Linux with OpenJDK 1.6, using a file:///XX URL in the config file creates a directory called 'file:' in the hbase root directory. If I use a standard Unix absolute path, it works as expected. This may work on other platforms, but it would be good to add a note in the example:
> {code}
> <?xml version="1.0"?>
> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
> <configuration>
>   <property>
>     <name>hbase.rootdir</name>
>     <!-- Depending on your platform, this may create a 'file:' directory
>          in hbase home instead of the desired behavior. Try using a standard
>          platform specific absolute path instead. -->
>     <value>file:///DIRECTORY/hbase</value>
>   </property>
> </configuration>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira