Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: updating HBase datasource config

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<zookeeper.quorum</name>
                <value>localhost</value>
            </property>
            <property>
                <name>hbase.zookeeper.property.clientPort</name>
                <value>2181</value>
            </property>
            <property>
                <name>fs.hdfs.impl</name>
                <value>org.apache.hadoop.hdfs.DistributedFileSystem</value>
            </property>
            <property>
                <name>fs.file.impl</name>
                <value>localhost:60000<<value>org.apache.hadoop.fs.LocalFileSystem</value>
            </property>
        </configuration>
    </definition>
</datasource>

...