【问题标题】:How can I run a standalone hiveserver2 with internal authentication?如何运行具有内部身份验证的独立 hiveserver2?
【发布时间】:2015-02-14 20:16:33
【问题描述】:

我有使用内部身份验证的 Datastax DSE (4.5) 集群(使用 org.apache.cassandra.auth.PasswordAuthenticator)。我可以run a standalone hiveserver2吗?如何?到目前为止,我还没有在 Datastax 文档中找到任何关于此的内容。 This page 没有运行 hiveserver2 的示例。

【问题讨论】:

    标签: datastax-enterprise


    【解决方案1】:

    你可以启动dse hive --service hiveserver2 --hiveconf cassandra.username=cassandra --hiveconf cassandra.password=cassandra

    然后使用beeline连接它

    beeline> !connect jdbc:hive2://localhost:10000?cassandra.username=cassandra;cassandra.password=cassandra org.apache.hive.jdbc.HiveDriver

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-04-25
      • 1970-01-01
      • 2018-06-03
      • 1970-01-01
      • 2021-08-28
      • 1970-01-01
      • 2016-04-08
      • 1970-01-01
      相关资源
      最近更新 更多