> Linux集群 > Hadoop >

hadoop关注点

http://hadoop.apache.org/common/docs/r0.18.3/hdfs_design.html

Browser Interface

A typical HDFS install configures a web server to expose the HDFS namespace through a configurable TCP port. This allows a user to navigate the HDFS namespace and view the contents of its files using a web browser.

浏览器接口

一个典型的HDFS安装会在一个可配置的TCP端口开启一个Web服务器用于暴露HDFS的名字空间。用户可以用浏览器来浏览HDFS的名字空间和查看文件的内容。

Overview

http://hadoop.apache.org/common/docs/r0.18.3/hdfs_user_guide.html

The NameNode and Datanodes have built in web servers that makes it easy to check current status of the cluster.

NameNodeDataNode有内置的Web服务器,方便用户检查集群的当前状态。

 

Web Interface

NameNode and DataNode each run an internal web server in order to display basic information about the current status of the cluster. With the default configuration, the NameNode front page is athttp://namenode-name:50070/. It lists the DataNodes in the cluster and basic statistics of the cluster. The web interface can also be used to browse the file system (using "Browse the file system" link on the NameNode front page).

Web接口

NameNodeDataNode各自启动了一个内置的Web服务器,显示了集群当前的基本状态和信息。在默认配置下NameNode的首页地址是http://namenode-name:50070/。这个页面列出了集群里的所有DataNode和集群的基本状态。这个Web接口也可以用来浏览整个文件系统(使用NameNode首页上的"Browse the file system"链接)。

Shell Commands

Hadoop includes various shell-like commands that directly interact with HDFS and other file systems that Hadoop supports. The command bin/hadoop fs -help lists the commands supported by Hadoop shell. Furthermore, the command bin/hadoop fs -help command-name displays more detailed help for a command. These commands support most of the normal files ystem operations like copying files, changing file permissions, etc. It also supports a few HDFS specific operations like changing replication of files.

 

Shell命令

Hadoop包括一系列的类shell的命令,可直接和HDFS以及其他Hadoop支持的文件系统进行交互。bin/hadoop fs -help 命令列出所有Hadoop Shell支持的命令。而 bin/hadoop fs -help command-name 命令能显示关于某个命令的详细信息。这些命令支持大多数普通文件系统的操作,比如复制文件、改变文件权限等。它还支持一些HDFS特有的操作,比如改变文件副本数目。

(责任编辑:IT)