Apache Drill 常用Plugins配置

1.kafka

{
  "type":"kafka",
  "kafkaConsumerProps":{
    "bootstrap.servers":"hostname1:9092,hostname2:9092,hostname3:9092",
    "group.id":"drill-consumer"
  },
  "enabled":true
}

2.hive

{
  "type":"hive",
  "configProps":{
    "hive.metastore.uris":"thrift://hostname:9083",
    "javax.jdo.option.ConnectionURL":"jdbc:mysql://hostname:3306/hive",
    "hive.metastore.warehouse.dir":"/user/hive/warehouse",
    "fs.default.name":"hdfs://hostname:9000",
    "hive.metatore.sasl.enabled": false
  },
  "enabled":true
}

3.hbase

{
  "type":"hbase"
  "config":{
    "hbase.zookeeper.quorum": "hostname1,hostname2,hostname3",
    "hbase.zookeeper.property.clientPort": "2181"
  }
  "size.calculator.enabled": "false",
  "enabled": true
}

4.kudu

{
  "type":"kudu",
  "masterAddresses":"hostname",
  "enabled": true
}

5.openTSDB

{
  "type":"openTSDB",
  "connection":"http://hostname:10000",
  "enabled": true
}

6.mysql

{
  "type": "jdbc",
  "driver": "com.mysql.jdbc.Driver",
  "url": "jdbc:mysql://hostname:3306",
  "username": "root",
  "password": "mypassword",
  "enabled": true
}
上一篇:学而思


下一篇:搬家