Error encountered while attempting a dfsadmin -report
-----------------------------------------------------
Key: HDFS-2571
URL: https://issues.apache.org/jira/browse/HDFS-2571
Project: Hadoop HDFS
Issue Type: Bug
Components: name-node
Affects Versions: 0.23.0
Reporter: Harsh J
Priority: Minor
Saw this while trying some things on HDFS-2569
{code}
➜ hadoop-0.23.0 bin/hdfs dfsadmin -report
log4j:ERROR Could not find value for key log4j.appender.NullAppender
log4j:ERROR Could not instantiate appender named "NullAppender".
Configured Capacity: 4096 (4 KB)
Present Capacity: 4096 (4 KB)
DFS Remaining: 0 (0 KB)
DFS Used: 4096 (4 KB)
DFS Used%: 100%
Under replicated blocks: 0
Blocks with corrupt replicas: 0
Missing blocks: 0
-------------------------------------------------
Datanodes available: 1 (3 total, 2 dead)
Live datanodes:
Name: 127.0.0.1:50010 (localhost)
Decommission Status : Decommissioned
Configured Capacity: 499763888128 (465.44 GB)
DFS Used: 4096 (4 KB)
Non DFS Used: 134297399296 (125.07 GB)
DFS Remaining: 365466484736 (340.37 GB)
DFS Used%: 0%
DFS Remaining%: 73.13%
Last contact: Sun Nov 20 10:35:33 GMT+05:30 2011
Dead datanodes:
report: String index out of range: -1
{code}
The *report: String index out of range: -1* shouldn't appear so.
Exclude file content is:
{code}
➜ hadoop-0.23.0 cat ~/Work/installs/hadoop-0.23.0/build/test/excludes
192.168.1.23:50010
127.0.0.1:50010
localhost:50010
localhost
127.0.0.1
192.168.1.23
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira