Database Reference
In-Depth Information
[hadoop@hc1nn ~]$ hadoop fsck /
Connecting to namenode via http://hc1nn:50070
FSCK started by hadoop (auth:SIMPLE) from /192.168.1.107 for path / at Mon Mar 24 18:42:09 NZDT 2014
..........Status: HEALTHY
Total size: 4716611 B
Total dirs: 14
Total files:10
Total blocks (validated): 9 (avg. block size 524067 B)
Minimally replicated blocks: 9 (100.0 %)
Over-replicated blocks: 0 (0.0 %)
Under-replicated blocks: 0 (0.0 %)
Mis-replicated blocks: 0 (0.0 %)
Default replication factor: 2
Average block replication: 2.0
Corrupt blocks: 0
Missing replicas: 0 (0.0 %)
Number of data-nodes: 3
Number of racks: 1
FSCK ended at Mon Mar 24 18:42:09 NZDT 2014 in 9 milliseconds
The filesystem under path '/' is HEALTHY
You can use the job command to list jobs, although this example shows no jobs currently running:
[hadoop@hc1nn lib]$ hadoop job -list all
14/03/24 18:53:49 INFO service.AbstractService:
Service:org.apache.hadoop.yarn.client.YarnClientImpl is inited.
14/03/24 18:53:50 INFO service.AbstractService:
Service:org.apache.hadoop.yarn.client.YarnClientImpl is started.
Total jobs:0
JobId State StartTime UserName Queue Priority UsedContainers RsvdContainers UsedMem
RsvdMem NeededMem AM info
To determine which version of Hadoop you are using, as well as the checksum and dates, you use the
version command:
[hadoop@hc1nn lib]$ hadoop version
Hadoop 2.0.0-cdh4.6.0
Subversion git://centos32-6-slave.sf.cloudera.com/data/1/jenkins/workspace/generic-package-
centos32-6/topdir/BUILD/hadoop-2.0.0-cdh4.6.0/src/hadoop-common-project/hadoop-common -r
8e266e052e423af592871e2dfe09d54c03f6a0e8
Compiled by jenkins on Wed Feb 26 01:59:02 PST 2014
From source with checksum a9d36604dfb55479c0648f2653c69095
This command was run using /usr/lib/hadoop/hadoop-common-2.0.0-cdh4.6.0.jar
The version output above shows that you are using Cloudera CDH 4.6, which is actually Hadoop version 2.0.0. It
also shows when the release was built and by whom.
Search WWH ::




Custom Search