【发布时间】:2015-02-14 20:16:33
【问题描述】:
我有使用内部身份验证的 Datastax DSE (4.5) 集群(使用 org.apache.cassandra.auth.PasswordAuthenticator)。我可以run a standalone hiveserver2吗?如何?到目前为止,我还没有在 Datastax 文档中找到任何关于此的内容。 This page 没有运行 hiveserver2 的示例。
【问题讨论】:
我有使用内部身份验证的 Datastax DSE (4.5) 集群(使用 org.apache.cassandra.auth.PasswordAuthenticator)。我可以run a standalone hiveserver2吗?如何?到目前为止,我还没有在 Datastax 文档中找到任何关于此的内容。 This page 没有运行 hiveserver2 的示例。
【问题讨论】:
你可以启动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
【讨论】: