简体   繁体   English

Azure上的Hadoop创建新群集

[英]Hadoop on Azure Create New Cluster

I am able to create a new Hadoop cluster through the interface, but need to create a new cluster on request. 我可以通过界面创建一个新的Hadoop集群,但需要根据请求创建一个新的集群。 Does anyone know if an API exists to create a new cluster? 有谁知道是否存在创建新集群的API?

Not yet. 还没。 As of now (Preview) you must be using Windows Azure Management Portal Interface to create Hadoop cluster in your windows Azure Subscription. 截至目前(预览),您必须使用Windows Azure管理门户界面在Windows Azure订阅中创建Hadoop集群。

As most of the Windows Azure Management functionalities are available on Powershell, it is possible to have such functionality built into Powershell over REST as described here however I don't know any immediate plans. 由于大多数Windows Azure管理功能都可以在Powershell上使用,因此可以通过REST在Powershell中内置这些功能,如此处所述但我不知道任何直接的计划。

Yes, you can. 是的你可以。

The Azure CLI allows you to control HDInsight clusters from a batch file for example. 例如,Azure CLI允许您从批处理文件控制HDInsight群集。 You then get a bunch of HDInsight control functions. 然后,您将获得一堆HDInsight控制功能。 Type 类型

azure hdinsight

to see all the built in help. 看到所有内置的帮助。 It covers all the basics (listing, creating configuring clusters) and the multiple storage account functionality. 它涵盖了所有基础知识(列出,创建配置群集)和多个存储帐户功能。

This is I believe based on the nodejs sdk. 我相信这是基于nodejs sdk的。 To get going, install nodejs and 要开始,请安装nodejs和

npm install azure-cli

This should give you what you need to be able to manage the clusters from the command line. 这应该为您提供了从命令行管理集群所需的功能。

By asking "Create a new Hadoop cluster", I believe you mean Hadoop HDInsight Cluster. 通过询问“创建一个新的Hadoop集群”,我相信你的意思是Hadoop HDInsight集群。

If yes, then we can create a powershell(.ps1) script, which can do the job for you. 如果是,那么我们可以创建一个powershell(.ps1)脚本,它可以为您完成工作。 Here is the sample script which might be useful. 这是可能有用的示例脚本。

http://mydailyfindingsit.blogspot.in/2016/01/create-script-hdinsight-cluster.html http://mydailyfindingsit.blogspot.in/2016/01/create-script-hdinsight-cluster.html

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

相关问题 无法在Azure数据工厂中创建按需hadoop群集; AdditionalProperties无效 - Fail to create in-demand hadoop cluster in Azure Data Factory; additionalProperties is not active HDInsight与Azure上的虚拟Hadoop群集 - HDInsight vs. Virtualized Hadoop Cluster on Azure Azure HDInsight:hadoop群集中的头节点是什么? - Azure HDInsight : what is head node in a hadoop cluster? 无法在 Azure 上创建 AKS 群集 - Unable to create AKS cluster on Azure 如何将较大的文件上传到Azure Hadoop集群? - how can i upload larger files into azure hadoop cluster? 如何获取新Azure群集的kubernetes凭据? - How to get kubernetes credentials for new Azure cluster? Azure HDinsight创建具有附加存储帐户的群集 - azure hdinsight create cluster with additional storage account 无法创建 Azure AKS 群集:CreateRoleAssignmentError - Cannot create Azure AKS cluster: CreateRoleAssignmentError 如何使用Sqoop将数据从Oracle DB成功传输到Microsoft Azure HDInsights中的Hadoop群集 - How to use Sqoop to successfully transfer data from an Oracle DB to an Hadoop cluster in Microsoft Azure HDInsights 在不创建新集群的情况下在 azure 数据块中执行 spark-submit - Execute spark-submit in azure databricks without creating new cluster
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM