[英]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.