博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Hadoop CLI MiniCluster
阅读量:7286 次
发布时间:2019-06-30

本文共 2289 字,大约阅读时间需要 7 分钟。

CLI MiniCluster

Use the climonicluster, users can simply start and stop a single-node hadoop cluster witha single command, and without the need to set any environment variables ormanage configuration files. The cli monicluster starts both a mapreduce and hdfclusters. This is useful cases where users want to quickly experiment with areal hadoop cluyster or test non-java programs that rely on significant hadoopfunctionality.

From inside theroot directory of the extracted tarball, you can tsrat the cli miniclusterusing the following command:

$ bin/hadoop jarhadoop-test-*.jar minicluster -jtport JT_PORT -nnport NN_PORT

In the example command above,JT_PORT and NN_PORT should be replaced by the user's choice of these portnumbers. If not specified, random free ports will be used.

$ bin/hadoop jarhadoop-test-*.jar minicluster -jtport JT_PORT -nnport NN_PORT

Unknown program'minicluster' chosen.

Valid program namesare:

  DFSCIOTest: Distributed i/o benchmark oflibhdfs.

  DistributedFSCheck: Distributed checkup ofthe file system consistency.

  MRReliabilityTest: A program that tests thereliability of the MR framework by injecting faults/failures

  TestDFSIO: Distributed i/o benchmark.

  dfsthroughput: measure hdfs throughput

  filebench: BenchmarkSequenceFile(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 cancreate many small jobs

  nnbench: A benchmark that stresses thenamenode.

  testarrayfile: A test for flat files ofbinary key/value pairs.

  testbigmapoutput: A map/reduce program thatworks on a very big non-splittable file and does identity map/reduce

  testfilesystem: A test for FileSystemread/write.

  testipc: A test for ipc.

  testmapredsort: A map/reduce program thatvalidates the map-reduce framework's sort.

  testrpc: A test for rpc.

  testsequencefile: A test for flat files ofbinary key value pairs.

  testsequencefileinputformat: A test forsequence file input format.

  testsetfile: A test for flat files of binarykey/value pairs.

  testtextinputformat: A test for text inputformat.

  threadedmapbench: A map/reduce benchmark thatcompares the performance of maps with multiple spills over maps with 1 spill

转载地址:http://nccjm.baihongyu.com/

你可能感兴趣的文章
C# 创建 Access 库表
查看>>
arm-linux-guneabihf-g++ no such file or dirctory
查看>>
AsyncTask和Handler对比
查看>>
Struts2应用开发视频教程与源码合集
查看>>
C++ 服务器端写出数据时意外停止问题
查看>>
关于Mantel Test
查看>>
django显示SQL语句
查看>>
SecureCRT连接Mysql乱码
查看>>
Classes inside interface
查看>>
P2P行业风险分析与安全防御
查看>>
《创业者--互联网+、资本+、文化+ 创业箴言》
查看>>
NYXImagesKit
查看>>
PutioKit
查看>>
JHTickerView
查看>>
proguard
查看>>
Mac上常用的命令收集
查看>>
开源 免费 java CMS - FreeCMS1.5-简历管理
查看>>
centos7安装docker
查看>>
Mongodb 高级应用篇
查看>>
JVM_bind
查看>>