zoukankan      html  css  js  c++  java
  • Hadoop 集群的基准测试

    集群搭建完毕之后,需要对集群进行基准测试

         第一方面:基本测试

                服务启动,是否可用,简单的应用  

               *hdfs

                     读写操作

                     bin/hdfs dfs -mkdir - p /user/chris/tmp/conf

                     bin/hdfs dfs -put etc/hadoop/xxx.xml /user /chris/tmp/conf

                    bin/hdfs dfs -text /user /chris/tmp/conf

               *yarn

                   run jarn

                *mapreduce

                   bin/jar jar share/hadoop/mapreduce/hadoop*example*.jar wordcount /user/chris/mapreduce/wordcount/input /user/chris/mapreduce/wordcount/output

                 可以多弄几个mapreduce 跑

        第二方面:基准测试

                 测试集群的性能

                *hdfs

                     写数据

                     读数据

                *多弄一些小文件,测试namenode

                *测试yarn,测网络传输

                *测试mapreduce

         第三方面:监控集群

               cloudera manager(第三方软件)

                      部署安装集群

                      监控集群

                      配置同步集群

                      预警

  • 相关阅读:
    Collections和Arrays常用方法
    集合(三)------双列集合
    集合(二)------单列集合
    集合(一)----------概述
    泛型
    线程
    Math类和Random类(数学公式相关类)
    时间相关的类
    Runtime类及其常用方法
    第65题:有效数字
  • 原文地址:https://www.cnblogs.com/pickKnow/p/10820128.html
Copyright © 2011-2022 走看看