【问题标题】:Pentaho - connect to apache hivePentaho - 连接到 apache hive
【发布时间】:2021-04-06 13:12:55
【问题描述】:

我在连接到 apache hive 数据库时遇到问题。我明白了:

我变了:

active.hadoop.configuration=hdp31

但它不起作用。 有谁有想法吗? 在 dbeaver 中我可以连接到数据库

【问题讨论】:

    标签: hadoop hive pentaho pentaho-data-integration


    【解决方案1】:

    错误已经告诉你原因“没有为 jdbc:hive 找到合适的驱动程序”。问题可能通过以下步骤解决:-

    1. 您错过了将 hive JDBC 驱动程序保留在“data-integration/lib/”位置
    2. 或者您可以尝试使用旧的 hive jdbc 驱动程序版本 1.2.1 ("jdbc-1.2.1.jar")
    3. 或者您可以使用最新的 hive jdbc 驱动程序并在 PDI 连接期间使用 Connection type =Hadoop Hive 2/3
    4. 或者如果 JAR “pentaho-hadoop-shims-common-fragment-V1-x-x-x-x-x.jar”在位置“data-integration\plugins\pentaho-big-data-plugin\hadoop-configurations\hdp30\lib\pmr”中可用" 然后你也可以尝试在 PDI 中使用 "connection type=Hadoop Hive 2/3"

    如果这对你有用,请告诉我。

    【讨论】:

    • 越来越好了,但还是不行。作为回答,我把我得到的
    【解决方案2】:

    我明白了:

    之前我在 cmd 中运行:

    ssh prod
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-04-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-01-13
      • 1970-01-01
      相关资源
      最近更新 更多