简体   繁体   English

从命令行配置 Hortonworks Data Platform Sandbox 2.6.5

[英]configuring Hortonworks Data Platform Sandbox 2.6.5 from the command line

I am building aa demo/training environment for one of our products which work with Hive & Spark.我正在为与 Hive 和 Spark 一起使用的产品之一构建演示/培训环境。 I am using HDP 2.6.5 and If I configure the hive settings I need (primarily these: ACID Settings ) through the Ambari GUI it works fine.我正在使用 HDP 2.6.5,如果我通过 Ambari GUI 配置我需要的 hive 设置(主要是这些: ACID 设置),它工作正常。 But I want to automate this and setting these in hive-site.xml is not working (I have found many copies of this file, so it could simply be I am using the wrong one? )但我想自动化这个并在 hive-site.xml 中设置它们不起作用(我发现了这个文件的许多副本,所以它可能只是我使用了错误的一个?)

How can I change from the command line what changes when I make changes in Dashboard->Hive->Configs?当我在 Dashboard->Hive->Configs 中进行更改时,如何从命令行更改哪些更改? Where are these changes stored?这些更改存储在哪里? I am sure I have missed something obvious in the docs, but I can't find it.我确定我在文档中遗漏了一些明显的东西,但我找不到它。

Thanks!谢谢!

@Leigh K You should check out the Ambari REST API to make changes to hive. @Leigh K 您应该查看 Ambari REST API 以更改 hive。 I did not find a quick link to official documentation, but I was able to find this post that goes into detail using PIG:我没有找到官方文档的快速链接,但我能够找到这篇使用 PIG 详细介绍的帖子:

https://markobigdata.com/2018/07/22/adding-service-to-hdp-using-rest-api/2/ https://markobigdata.com/2018/07/22/adding-service-to-hdp-using-rest-api/2/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从外部在Hortonworks Sandbox上执行Spark作业 - Execute Spark job on Hortonworks Sandbox from outside 无法将 Spark 与来自 eclipse 的 Hortonworks Sandbox 连接 - Can't Connect Spark with Hortonworks Sandbox from eclipse 如何在HDP中安装scala库(Hortonworks数据平台) - How to install scala libraries in HDP (Hortonworks Data Platform) 如何在Hortonworks中将火花流数据存储到Hdfs? - How to store spark streaming data to Hdfs in Hortonworks? 我们如何在开源Spark和Hortonworks的Hadoop沙箱中使用集群? - How do we use clusters in open source Spark and Hortonworks' Hadoop sandbox? 在Hortonworks Sandbox 2.4上,Spark使用SQLServer驱动程序会导致“找不到合适的驱动程序” - On Hortonworks Sandbox 2.4, Spark use of SQLServer driver results in “No Suitable Driver Found” “ docker run”命令中“ sandbox”是什么意思? - What is the meaning of “sandbox” in “docker run” command? 如何将数据从 spark 保存到谷歌云平台? - How to save data from spark to Google cloud platform? 从命令行将SparkConf设置传递给Spark - Passing SparkConf settings from the command line to Spark 如何从命令行检查 Spark 配置? - How to check Spark configuration from command line?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM