Skip to Main Content
Hadoop管理手冊
book

Hadoop管理手冊

by Eric Sammer
February 2014
Intermediate to advanced content levelIntermediate to advanced
312 pages
6h 28m
Chinese
GoTop Information, Inc.
Content preview from Hadoop管理手冊
124
|
第五章:安裝與設定
一個名稱節點、連到該名稱節點的資料節點個數,與總空間容量。叢集等級的頁面有
助於取得聯盟叢集與所有名稱節點的整體資訊。
5-1
聯盟名稱節點-單一名稱節點頁面(
single namenode view
您可以從叢集中的任一台設定好的機器,使用
hdfs dfs
指令來對每一個名稱節點進行
測試操作。因為叢集是聯盟式的(且我們還沒設定
ViewFS
),執行時,您將需要指定
欲連線的名稱節點的主機名稱與連線埠。於範例
5-16
中,我們產生了一個
1GB
的檔
案,並將它複製到兩個獨立的檔案系統名稱空間。
NameNode
聯盟
|
125
5-2
聯盟名稱節點-叢集頁面(
cluster view
範例
5-16
驗證
HDFS
聯盟的功能
# generate around 1GB of junk to play with
[root@hadoop-fed02 conf]# dd if=/dev/zero of=1gb-junk bs=1024 count=$((1024 * 1024))
# put a copy in the slice managed by hadoop-fed01
[root@hadoop-fed02 conf]# sudo -u hdfs ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

HBase管理指南

HBase管理指南

Posts & Telecom Press, Yifeng Jiang
Python应用开发指南

Python应用开发指南

Posts & Telecom Press, Ninad Sathaye
Python机器学习案例精解

Python机器学习案例精解

Posts & Telecom Press, Yuxi (Hayden) Liu
自然语言处理与计算语言学

自然语言处理与计算语言学

Posts & Telecom Press, Bhargav Srinivasa-Desikan

Publisher Resources

ISBN: 9789862769973