On this page

    Adding HBase via REST

    This topic provides an example of adding HBase as a data source using the REST API.

    Deprecated:

    Deprecated as of Dremio 3.1.3, Not supported as of Dremio 3.3

    HBase can be added via the Dremio REST API for legacy customers; HBase cannot be added via the Dremio UI.

    curl -X POST \
      http://localhost:9047/api/v3/catalog \
      -H 'Authorization: _dremioah6t2msppgo0o5e3p8q6u3vv14' \
      -H 'Cache-Control: no-cache' \
      -H 'Content-Type: application/json' \
      -d '{
      "entityType": "source",
      "config": {
        "zkQuorum": "localhost",
        "port": 2183,
        "isSizeCalcEnabled": false,
        "propertyList": []
      },
      "type": "HBASE",
      "name": "hbaselocal",
      "description": "hbaselocal",
      "metadataPolicy": {
        "authTTLMs": 86400000,
        "namesRefreshMs": 3600000,
        "datasetRefreshAfterMs": 3600000,
        "datasetExpireAfterMs": 10800000,
        "datasetUpdateMode": "PREFETCH_QUERIED",
        "deleteUnavailableDatasets": true,
        "autoPromoteDatasets": false
      },
      "accelerationGracePeriodMs": 0,
      "accelerationRefreshPeriodMs": 0,
      "accelerationNeverExpire": false,
      "accelerationNeverRefresh": false
    }'