Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

HBase datasource is used to set up a connection to a remote HBase insance. In WSO2 DAS, you can create a HBase datasource by specifying the datasource configuration in the <DAS_HOME>/repository/conf/datasources/analytics-datasources.xml file as follows.

 

Code Block
languagexml
<datasource>
    <name>WSO2_ANALYTICS_RS_DB_HBASE</name>
    <description>The datasource used for analytics file system</description>
    <jndiConfig>
        <name>jdbc/WSO2HBaseDB</name>
    </jndiConfig>
    <definition type="HBASE">
        <configuration>
            <property>
                <name>hbase.master</name>
                <value>localhost:60000</value>
            </property>
        </configuration>
    </definition>
</datasource>
Info

For information on the above properties, and other properties that you can specify in this datasource configuration, go to Apache HBase Reference Guide.