《Hadoop The Definitive Guide》ch10 Administering Hadoop
来源:互联网 发布:mac怎么设置屏幕背景 编辑:程序博客网 时间:2024/05/01 15:27
1. 集群基准测试程序
c01s02h01ate1:nomad2 # hadoop jar /local/hadoop/hadoop-0.20.203.0/hadoop-test-0.20.203.0.jar An example program must be given as the first argument.Valid program names are: DFSCIOTest: Distributed i/o benchmark of libhdfs. DistributedFSCheck: Distributed checkup of the file system consistency. MRReliabilityTest: A program that tests the reliability of the MR framework by injecting faults/failures TestDFSIO: Distributed i/o benchmark. dfsthroughput: measure hdfs throughput filebench: Benchmark SequenceFile(Input|Output)Format (block,record compressed and uncompressed), Text(Input|Output)Format (compressed and uncompressed) loadgen: Generic map/reduce load generator mapredtest: A map/reduce test check. mrbench: A map/reduce benchmark that can create many small jobs nnbench: A benchmark that stresses the namenode. testarrayfile: A test for flat files of binary key/value pairs. testbigmapoutput: A map/reduce program that works on a very big non-splittable file and does identity map/reduce testfilesystem: A test for FileSystem read/write. testipc: A test for ipc. testmapredsort: A map/reduce program that validates the map-reduce framework's sort. testrpc: A test for rpc. testsequencefile: A test for flat files of binary key value pairs. testsequencefileinputformat: A test for sequence file input format. testsetfile: A test for flat files of binary key/value pairs. testtextinputformat: A test for text input format. threadedmapbench: A map/reduce benchmark that compares the performance of maps with multiple spills over maps with 1 spill
c01s02h01ate1:nomad2 # hadoop jar /local/hadoop/hadoop-0.20.203.0/hadoop-test-0.20.203.0.jar DFSCIOTestTestDFSIO.0.0.4Usage: TestDFSIO -read | -write | -clean [-nrFiles N] [-fileSize MB] [-resFile resultFileName] [-bufferSize Bytes]
2. safe mode
c01s02h01ate1:nomad2 # hadoop dfsadmin -safemode getSafe mode is OFF
c01s02h01ate1:nomad2 # hadoop dfsadmin -refreshNodes
3. web界面
http://c01s0201ate2:50075/blockScannerReport
http://c01s0201ate1:50030/logLevel?log=org.apache.hadoop.mapred.JobTracker
http://c01s0201ate1:50030/stacks
4. 负载平衡
c01s02h01ate1:nomad2 # start-balancer.sh starting balancer, logging to /local/hadoop/hadoop-0.20.203.0/bin/../logs/hadoop-nomad2-balancer-c01s02h01ate1.outTime Stamp Iteration# Bytes Already Moved Bytes Left To Move Bytes Being MovedThe cluster is balanced. Exiting...Balancing took 413.0 milliseconds
- 《Hadoop The Definitive Guide》ch10 Administering Hadoop
- Hadoop Definitive Guide --- Chapter 10. Administering Hadoop
- Hadoop- The Definitive Guide 笔记
- Hadoop经典书籍----- Hadoop: The Definitive Guide
- Notes for Hadoop the definitive guide
- Hadoop- The Definitive Guide 笔记2
- 《Hadoop The Definitive Guide》ch12 HBase
- 《Hadoop The Definitive Guide》ch13 ZooKeeper
- 《Hadoop The Definitive Guide》ch11 Pig
- 《Hadoop The Definitive Guide》ch02 MapReduce
- 《Hadoop The Definitive Guide》ch08 MapReduce Features
- 《Hadoop The Definitive Guide》ch14 Case Studies
- Notes for Hadoop the definitive guide
- Hadoop YARN Installation: The definitive guide
- Hadoop:The Definitive Guide 4th Edition
- Hadoop The Definitive Guide 4th Editon
- 《Hadoop The Definitive Guide》ch03 The Hadoop Distributed Filesystem
- Hadoop definitive guide
- poj 4052 Hrinity 2012 金华邀请赛 AC自动机 DFA
- 【转载】性能调优攻略
- SAP MM之移动类型(Movement type-MVT)
- 《Hadoop The Definitive Guide》ch09 Setting Up a Hadoop Cluster
- 筛选法输出100以内的所有素数
- 《Hadoop The Definitive Guide》ch10 Administering Hadoop
- yum chrome
- POJ2492 A Bug's Life
- QTP_QTP学习笔记(1)
- 用Wi-Fi,谁说一定要有热点?
- redis培训学习总结
- C#语言cts类型
- 关于一个int *ptr=(int *)(&a+1)问题的探讨
- 互斥锁