Can't create Drill storage plugin for oracle

浪尽此生 提交于 2019-12-12 04:17:29

问题


I want to create storage plugin in drill for oracle jdbc. I copy ojdbc7.jar to apache-drill-1.3.0/jars/3rdparty path and add drill.exec.sys.store.provider.local.path = "/mypath" to dill.override.conf. when I want to create a new storage plugin with below configuration:

 {
  "type": "jdbc",
  "enabled": true,
  "driver": "oracle.jdbc.OracleDriver",
  "url":"jdbc:oracle:thin:user/pass@x.x.x.x:1521/orcll"
}

I get unable to create/update storage error.

I am using Redhat 7 & Drill version - 1.3. in distributed mode.


回答1:


I guess the problem is with default schema name. It should be orcl instead of orcll.

Plugin:

{
  "type": "jdbc",
  "enabled": true
  "driver": "oracle.jdbc.OracleDriver",
  "url": "jdbc:oracle:thin:user/pass@x.x.x.x:1521:orcl"   
}


来源:https://stackoverflow.com/questions/34291340/cant-create-drill-storage-plugin-for-oracle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!