[英]How to access table from Hive cluster located in HDInsight from Local Spark Server built on Intellij
我无法从我的本地实例访问和读取位于 HDInsight 中的 Hive 表中的数据,其中应用程序在 Intellij 和 Maven 上构建。
当我们需要将数据从 Spark 写入 Hive 但 Hive 位于 HDInsight 上而 Spark 位于本地本机实例上时,请有人帮我解决方案的先决条件。
注意:我在 HDInsight 上没有 Spark 集群,我在 HDInsight 上只有 hive 集群。
请分享您的评论
请将集群的 hive-site.xml 添加到资源文件夹中。 此外,请确保您为本地网络打开了网络端口。 请参考以下链接。
https://cwiki.apache.org/confluence/display/Hive/Hive+on+Spark%3A+Getting+Started
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.