如何从基于 Intellij 的本地 Spark 服务器访问位于 HDInsight 中的 Hive 集群的 table
How to access table from Hive cluster located in HDInsight from Local Spark Server built on Intellij
我无法从我的本地实例访问和读取位于 HDInsight 中的 Hive table 中的数据,其中应用程序构建在 Intellij 和 Maven 上。
当我们需要将数据从 Spark 写入 Hive 但 Hive 位于 HDInsight 上而 Spark 位于本地本机实例上时,请问有人能帮我解决这个场景的先决条件是什么。
注意:我在 HDInsight 上没有 Spark 集群,我在 HDInsight 上只有 Hive 集群。
请分享您的评论
请在您的资源文件夹中添加集群的配置单元-site.xml。另外,请确保您已为本地网络打开网络端口。请参考以下link.
https://cwiki.apache.org/confluence/display/Hive/Hive+on+Spark%3A+Getting+Started
我无法从我的本地实例访问和读取位于 HDInsight 中的 Hive table 中的数据,其中应用程序构建在 Intellij 和 Maven 上。
当我们需要将数据从 Spark 写入 Hive 但 Hive 位于 HDInsight 上而 Spark 位于本地本机实例上时,请问有人能帮我解决这个场景的先决条件是什么。
注意:我在 HDInsight 上没有 Spark 集群,我在 HDInsight 上只有 Hive 集群。
请分享您的评论
请在您的资源文件夹中添加集群的配置单元-site.xml。另外,请确保您已为本地网络打开网络端口。请参考以下link.
https://cwiki.apache.org/confluence/display/Hive/Hive+on+Spark%3A+Getting+Started