Can#39;t create Drill storage plugin for oracle(无法为 oracle 创建 Drill 存储插件)
问题描述
我想在钻头中为 oracle jdbc 创建存储插件.我将 ojdbc7.jar 复制到 apache-drill-1.3.0/jars/3rdparty 路径并添加 drill.exec.sys.store.provider.local.path= "/mypath" 到 dill.override.conf.当我想使用以下配置创建一个新的存储插件时:
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"
}
我收到无法创建/更新存储错误.
我使用的是 Redhat 7 &钻头版本 - 1.3.在分布式模式下.
I am using Redhat 7 & Drill version - 1.3. in distributed mode.
推荐答案
我猜问题出在默认架构名称上.它应该是 orcl 而不是 orcll.
I guess the problem is with default schema name. It should be orcl instead of orcll.
插件:
{
"type": "jdbc",
"enabled": true
"driver": "oracle.jdbc.OracleDriver",
"url": "jdbc:oracle:thin:user/pass@x.x.x.x:1521:orcl"
}
这篇关于无法为 oracle 创建 Drill 存储插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:无法为 oracle 创建 Drill 存储插件
基础教程推荐
- 使用 VBS 和注册表来确定安装了哪个版本和 32 位 2021-01-01
- 带有WHERE子句的LAG()函数 2022-01-01
- 从字符串 TSQL 中获取数字 2021-01-01
- 带更新的 sqlite CTE 2022-01-01
- while 在触发器内循环以遍历 sql 中表的所有列 2022-01-01
- CHECKSUM 和 CHECKSUM_AGG:算法是什么? 2021-01-01
- MySQL 5.7参照时间戳生成日期列 2022-01-01
- 如何在 CakePHP 3 中实现 INSERT ON DUPLICATE KEY UPDATE aka upsert? 2021-01-01
- ORA-01830:日期格式图片在转换整个输入字符串之前结束/选择日期查询的总和 2021-01-01
- MySQL根据从其他列分组的值,对两列之间的值进行求和 2022-01-01
