当前位置: 首页 > news >正文

洛阳seo网站广东外贸网站建设企业

洛阳seo网站,广东外贸网站建设企业,电子商务主要就业方向,设计网站流程包括哪些这篇文章是关于如何在EC2实例上启动CDH4 MRv1或CDH4 Yarn集群的。 据说您可以在Whirr的帮助下在5分钟内启动一个集群#xff01; 当且仅当一切正常时#xff0c;这才是正确的#xff01; 希望本文在这方面对您有所帮助。 所以#xff0c;让我们划船... 下载Apache Whirr… 这篇文章是关于如何在EC2实例上启动CDH4 MRv1或CDH4 Yarn集群的。 据说您可以在Whirr的帮助下在5分钟内启动一个集群 当且仅当一切正常时这才是正确的 希望本文在这方面对您有所帮助。 所以让我们划船... 下载Apache Whirr的稳定版本即。 来自以下链接whirr-0.8.1.tar.gz的whirr-0.8.1.tar.gz 从压缩包中提取并生成密钥 $ tar -xzvf whirr-0.8.1.tar.gz $ cd whirr-0.8.1 生成密钥 $ ssh-keygen -t rsa -P -f ~/.ssh/id_rsa_whirr $ cd whirr-0.8.1 创建一个属性文件以使用该配置启动集群。 # Cluster name goes here whirr.cluster-nametestcluster# Change the number of machines in the cluster here # Using 3 DN and TT and 1JT and NN# Ganglia is configured whirr.instance-templates1 hadoop-jobtrackerhadoop-namenodeganglia-monitorganglia-metad,3 hadoop-datanodehadoop-tasktrackerganglia-monitor# Install JAVA whirr.java.install-functioninstall_openjdk whirr.java.install-functioninstall_oab_java## Install CDH4 MRV1 whirr.hadoop.install-functioninstall_cdh_hadoop whirr.hadoop.configure-functionconfigure_cdh_hadoop whirr.env.REPOcdh4# For EC2 set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables. whirr.provideraws-ec2 whirr.hardware-idc1.xlarge# Credentials should go here whirr.identityXXXXXXXXXXXXXXXXX whirr.credentialXXXXXXXXXXXXXXXXXXXX whirr.cluster-userwhirr whirr.private-key-file/home/ubuntu/.ssh/yourKey whirr.public-key-file/home/ubuntu/.ssh/yourKey.pub 现在让我告诉您如何避免头痛 群集名称使群集名称保持简单。 避免使用testClustertestCluster1等。 没有大写数字。 明智地确定所需的数据节点数。 如果未安装java则启动可能不会成功。 确保图像具有Java。 但是此属性文件可以解决此问题。 现在最好继续使用MRv1等到产品稳定发布后再切换到MRv2。 这是用于启动Hadoop集群的最小配置集。 但是您可以对此进行很多性能调整。 我是从ec2实例启动此集群的最初我遇到关于用户的错误。 在下面设置配置即可解决问题。 whirr.cluster-userwhirr 在启动之前为〜/ .ssh和whirr-0.8.1文件夹设置适当的权限。 好了我们已经准备好启动集群。 将属性文件命名为“ whirr_cdh.properties”。 $ cd whirr-0.8.1 $ bin/whirr launch-cluster --config whirr_cdh.properties 在控制台中您可以看到指向Namenode和JobTracker Web UI的链接。 最后它还会显示如何ssh到实例。 现在您应该已经生成了文件。 您将能够看到以下文件实例hadoop-proxy.sh和hadoop-site.xml 启动代理 $ sh hadoop-proxy.sh 打开另一个终端然后键入 您应该能够访问HDFS。 $ export HADOOP_CONF_DIR~/.whirr/testcluster/hadoop-site.xml $ hadoop fs -ls / 您也可以下载hadoop tarball并使用 $ bin/hadoop --config ~/.whirr/testcluster fs -ls / 好的 因此我知道除非您拥有网络用户界面否则您将不满意 Now, Launch Firefox (3.0v) Download the FoxyProxy extension by clicking this link:https://addons.mozilla.org/en-US/firefox/addon/2464. Steps to configure and access the UI Select Tools FoxyProxy Options Click the “Add New Proxy” button. Select “Manual Proxy Configuration” Enter “localhost” for the “Host or IP Address” field. Enter “6666″ for the “Port” field. Click on the “General” tab at the top of the dialog box. Enter “EC2″ for the “Proxy Name” field. Click on the “URL Patterns” tab at the top of the dialog box. Click the “Add New Pattern” button. Enter “EC2″ for the “Pattern Name” field. Enter “*compute-1.amazonaws.com*, *.ec2.internal*, *.compute-1.internal*” for the “URL pattern” field (not case sensitive) Select the “Whitelist” and “Wildcards” radio buttons. Click the “OK” button to dismiss the new URL pattern dialog box. Click the “OK” button to dismiss the new proxy dialog box. Completely disable the Foxyproxy for now. You should be able to see 2 proxy names after closing, default and EC2. Click on “Use proxy EC2 for all URLs” from the pop-up menu of FoxyProxy Copy the URL of JobTracker (can be seen while running proxy, ec2-***-**-***-**.********.amazonaws.com) and paste it in the browser. 所以我们很好 如果要启动MRv2请使用它。 ## Cluster name goes here. whirr.cluster-nameyarncluster# Change the number of machines in the cluster here whirr.instance-templates1 hadoop-namenodeyarn-resourcemanagermapreduce-historyserver,2 hadoop-datanodeyarn-nodemanager# Install JAVA whirr.java.install-functioninstall_openjdk whirr.java.install-functioninstall_oab_java## Install CDH4 Yarn whirr.hadoop.install-functioninstall_cdh_hadoop whirr.hadoop.configure-functionconfigure_cdh_hadoop whirr.yarn.configure-functionconfigure_cdh_yarn whirr.yarn.start-functionstart_cdh_yarn whirr.mr_jobhistory.start-functionstart_cdh_mr_jobhistory whirr.env.REPOcdh4 whirr.env.MAPREDUCE_VERSION2# For EC2 set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables. whirr.provideraws-ec2 whirr.hardware-idc1.xlarge# Credentials should go here whirr.identityXXXXXXXXXXXXXXXXX whirr.credentialXXXXXXXXXXXXXXXXXXXXXXXXXXXXX whirr.cluster-userwhirr whirr.private-key-file/home/ubuntu/.ssh/yourKey whirr.public-key-file/home/ubuntu/.ssh/yourKey.pub 和相同的过程 学习愉快 参考 Hadoop宿醉在TechieSpArK *博客上 使用我们JCG合作伙伴 Swathi V的Apache Whirr使用hadoop集群CDH4 。 翻译自: https://www.javacodegeeks.com/2013/02/hadoop-hangover-launch-a-hadoop-cluster-cdh4-using-apache-whirr.html
http://www.zqtcl.cn/news/516113/

相关文章:

  • 大麦网网站建设的功能定位wordpress图片不被收录
  • 做推广任务的网站渠道营销推广方案
  • 消防中队网站建设施工企业项目经理部管理人员对外行为的法律后果
  • 淘宝的网站建设情况仪器网站模板
  • 网站开发需要掌握的知识什么软件是做网站模板的
  • wap网站管理系统wordpress评论分页不显示不出来
  • 泗阳住房建设局网站泉州网站建设工程
  • 陕西省住房城乡建设部门户网站做百度移动端网站软件
  • 濮阳公司建站怎么自己做网站app
  • 美辰网站建设个人网站如何做移动端
  • 郑州模板网站建设网页在线代理
  • 学生做网站的工作室网站建设项目表
  • .net网站开发教程百度贴吧微网站设计基本要求
  • 无锡网站建设哪家公司好咨询网站建设
  • 优秀的企业网站设计wordpress登陆后台总是跳转首页
  • 国外html5特效网站宁波江北区建设局网站
  • 购物网站哪个是正品商城网站模板下载
  • 网站名称 规则技术支持 石家庄网站建设
  • 专门做私人定制旅游的网站专做韩餐网站
  • 网站 续费wordpress首页调用指定分类
  • 2008系统怎么做网站免费设计软件下载
  • 做电音的软件的专业下载网站宁波俄语网站建设
  • 北?? 网站建设旅游手机网站开发
  • 乐清做网站的网站备案容易通过吗
  • 网站qq登录 开发一个小型网站开发成本
  • 湖北网络建设公司网站js跳转到别的网站
  • 郑州网站app开发的汽车网站 源码
  • 河南网站建设企业做网站多少钱西宁君博示范
  • 沈阳有做网站的吗青浦手机网站制作
  • 腾讯云免费建站建立一个网站英语