91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

hadoop運行實例分析

發布時間:2021-12-10 13:40:30 來源:億速云 閱讀:152 作者:iii 欄目:大數據

這篇文章主要講解了“hadoop運行實例分析”,文中的講解內容簡單清晰,易于學習與理解,下面請大家跟著小編的思路慢慢深入,一起來研究和學習“hadoop運行實例分析”吧!

1.找到examples的jar包

2.創建輸入和輸出目錄

3.將需要分隔的文件上傳到wc_input目錄下

4.查看上傳的文件

5.hadoop jar /hadoop_soft/hadoop-2.7.2/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.2.jar wordcount /wc_input/* /wc_output/

 [root@hadoop input]# hadoop jar /hadoop_soft/hadoop-2.7.2/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.2.jar wordcount /wc_input/* /wc_output/
17/08/15 10:25:24 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
17/08/15 10:25:25 INFO client.RMProxy: Connecting to ResourceManager at /192.168.1.120:18040
17/08/15 10:25:27 INFO input.FileInputFormat: Total input paths to process : 2
17/08/15 10:25:27 INFO mapreduce.JobSubmitter: number of splits:2
17/08/15 10:25:28 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1502762082449_0001
17/08/15 10:25:28 INFO impl.YarnClientImpl: Submitted application application_1502762082449_0001
17/08/15 10:25:29 INFO mapreduce.Job: The url to track the job: http://hadoop:18088/proxy/application_1502762082449_0001/
17/08/15 10:25:29 INFO mapreduce.Job: Running job: job_1502762082449_0001
17/08/15 10:25:48 INFO mapreduce.Job: Job job_1502762082449_0001 running in uber mode : true
17/08/15 10:25:48 INFO mapreduce.Job:  map 0% reduce 0%
17/08/15 10:25:50 INFO mapreduce.Job:  map 100% reduce 0%
17/08/15 10:25:51 INFO mapreduce.Job:  map 100% reduce 100%
17/08/15 10:25:51 INFO mapreduce.Job: Job job_1502762082449_0001 completed successfully
17/08/15 10:25:52 INFO mapreduce.Job: Counters: 52
 File System Counters
  FILE: Number of bytes read=276
  FILE: Number of bytes written=545
  FILE: Number of read operations=0
  FILE: Number of large read operations=0
  FILE: Number of write operations=0
  HDFS: Number of bytes read=798
  HDFS: Number of bytes written=398613
  HDFS: Number of read operations=66
  HDFS: Number of large read operations=0
  HDFS: Number of write operations=23
 Job Counters
  Launched map tasks=2
  Launched reduce tasks=1
  Other local map tasks=2
  Total time spent by all maps in occupied slots (ms)=1972
  Total time spent by all reduces in occupied slots (ms)=803
  TOTAL_LAUNCHED_UBERTASKS=3
  NUM_UBER_SUBMAPS=2
  NUM_UBER_SUBREDUCES=1
  Total time spent by all map tasks (ms)=1972
  Total time spent by all reduce tasks (ms)=803
  Total vcore-milliseconds taken by all map tasks=1972
  Total vcore-milliseconds taken by all reduce tasks=803
  Total megabyte-milliseconds taken by all map tasks=2019328
  Total megabyte-milliseconds taken by all reduce tasks=822272
 Map-Reduce Framework
  Map input records=5
  Map output records=11
  Map output bytes=111
  Map output materialized bytes=109
  Input split bytes=210
  Combine input records=11
  Combine output records=8
  Reduce input groups=7
  Reduce shuffle bytes=109
  Reduce input records=8
  Reduce output records=7
  Spilled Records=16
  Shuffled Maps =2
  Failed Shuffles=0
  Merged Map outputs=2
  GC time elapsed (ms)=637
  CPU time spent (ms)=1820
  Physical memory (bytes) snapshot=830070784
  Virtual memory (bytes) snapshot=8998096896
  Total committed heap usage (bytes)=500510720
 Shuffle Errors
  BAD_ID=0
  CONNECTION=0
  IO_ERROR=0
  WRONG_LENGTH=0
  WRONG_MAP=0
  WRONG_REDUCE=0
 File Input Format Counters
  Bytes Read=70
 File Output Format Counters
  Bytes Written=57

6.查看運行結果

7.檢查結果數據

感謝各位的閱讀,以上就是“hadoop運行實例分析”的內容了,經過本文的學習后,相信大家對hadoop運行實例分析這一問題有了更深刻的體會,具體使用情況還需要大家實踐驗證。這里是億速云,小編將為大家推送更多相關知識點的文章,歡迎關注!

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

垣曲县| 雷波县| 余江县| 突泉县| 右玉县| 绥中县| 达尔| 筠连县| 泰和县| 张家口市| 合阳县| 孟津县| 两当县| 沛县| 东乡县| 咸阳市| 大英县| 琼海市| 屏东县| 达拉特旗| 淮安市| 鹤岗市| 修武县| 松滋市| 儋州市| 彭泽县| 准格尔旗| 乌恰县| 墨竹工卡县| 无锡市| 沽源县| 务川| 新乡县| 文安县| 普兰县| 武平县| 油尖旺区| 天峨县| 扎兰屯市| 高雄县| 安吉县|