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 configurations accordingly in the <DAS_HOME>/repository/conf/datasources/analytics-datasources.xml file as followsshown in the example below.

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>

...