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

网站开发设计比较好的公司跨境电商运营基础知识

网站开发设计比较好的公司,跨境电商运营基础知识,seo的流程是怎么样的,贷款超市网站开发cdh搭建hadoop集群这篇文章是关于如何在EC2实例上启动CDH4 MRv1或CDH4 Yarn集群的。 据说您可以在Whirr的帮助下在5分钟内启动一个集群#xff01; 当且仅当一切工作正常时#xff0c;这才是正确的#xff01; 希望本文在这方面对您有所帮助。 所以#xff0c;让我们划船… cdh搭建hadoop集群 这篇文章是关于如何在EC2实例上启动CDH4 MRv1或CDH4 Yarn集群的。 据说您可以在Whirr的帮助下在5分钟内启动一个集群 当且仅当一切工作正常时这才是正确的 希望本文在这方面对您有所帮助。 所以让我们划船... 下载Apache Whirr的稳定版本即。 来自以下链接的whirr-0.8.1.tar.gzwhirr-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.htmlcdh搭建hadoop集群
http://www.pierceye.com/news/372872/

相关文章:

  • 智能建站系统seo网站优化方案
  • 南宁网站建设找建站通成都seo推广
  • 网站做镜像的有什么用建设银行流水网站
  • 湖北网站定制开发价格表宣传片制作协议
  • 开网站要多少钱自己怎样做网站
  • 建设网站的教程免费的wordpress分类在哪设置
  • 电子书网站 跟我学做家常菜800网站建设与维护 教学大纲
  • 河南省住房城乡建设主管部门网站wordpress还有人在用吗
  • 好口碑关键词优化沈阳企业关键词优化
  • 外汇自动跟单网站开发wordpress支持中文
  • 南宁网站建设推广教育类网站框架
  • 定制网站建设服务公司摄影设计师招聘
  • 地图 添加到网站观点网站
  • 给分管领导网站建设情况汇报怎么写企业网站的发展历史
  • 佛山营销网站建设费用app制作器下载软件
  • 如何将优酷视频上传到自己网站万能网
  • 域名销售网站wordpress 数据库配置文件
  • 广州营销型网站建设怎么样做网站必须要认证吗
  • 网站开发主要内容免费商城平台
  • 青岛建站方案海兴县网站建设公司
  • 网站文案框架兰州网页制作公司网站
  • 专业网站有哪些平台wordpress那个版本
  • 网站建设按钮详情页设计图
  • 杭州公司注册代理中介深圳关键词优化软件
  • 乐清网站制作公司电话免费做初中试卷的网站
  • 注册一个网站的流程反向代理服务器做wordpress外网
  • 沁阳网站建设tomcat建网站
  • 品牌网站建设公司推荐网站建设公司3lue
  • 装修公司网站模版徐州品牌网站建设
  • 医疗网站建设计划书一级消防工程师考试科目