11/11/23 22:45:05 INFO namenode.NameNode: STARTUP_MSG:
/************************************************************
STARTUP_MSG: Starting NameNode
STARTUP_MSG: host = server01/블라블라
STARTUP_MSG: args = [-format]
STARTUP_MSG: version = 0.20.203.0
STARTUP_MSG: build = http://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security-203 -r 1099333; compiled by 'oom' on Wed May 4 07:57:50 PDT 2011
************************************************************/
11/11/23 22:45:06 INFO util.GSet: VM type = 32-bit
11/11/23 22:45:06 INFO util.GSet: 2% max memory = 19.33375 MB
11/11/23 22:45:06 INFO util.GSet: capacity = 2^22 = 4194304 entries
11/11/23 22:45:06 INFO util.GSet: recommended=4194304, actual=4194304
11/11/23 22:45:06 INFO namenode.FSNamesystem: fsOwner=hadoop
11/11/23 22:45:06 INFO namenode.FSNamesystem: supergroup=supergroup
11/11/23 22:45:06 INFO namenode.FSNamesystem: isPermissionEnabled=true
11/11/23 22:45:06 INFO namenode.FSNamesystem: dfs.block.invalidate.limit=100
11/11/23 22:45:06 INFO namenode.FSNamesystem: isAccessTokenEnabled=false accessKeyUpdateInterval=0 min(s), accessTokenLifetime=0 min(s)
11/11/23 22:45:06 INFO namenode.NameNode: Caching file names occuring more than 10 times
11/11/23 22:45:06 ERROR namenode.NameNode: java.io.IOException: Cannot create directory /data/name/current
at org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.clearDirectory(Storage.java:297)
at org.apache.hadoop.hdfs.server.namenode.FSImage.format(FSImage.java:1219)
at org.apache.hadoop.hdfs.server.namenode.FSImage.format(FSImage.java:1238)
at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:1038)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1145)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1162)
11/11/23 22:45:06 INFO namenode.NameNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at server01/블라블라
************************************************************/
구글 신께서는 정말 모르시는것이 없는걸까요?
solution : http://askubuntu.com/questions/35551/error-when-formatting-the-hadoop-filesystem
sudo ./hadoop namenode -format
/************************************************************
STARTUP_MSG: Starting NameNode
STARTUP_MSG: host = server01/블라블라
STARTUP_MSG: args = [-format]
STARTUP_MSG: version = 0.20.203.0
STARTUP_MSG: build = http://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security-203 -r 1099333; compiled by 'oom' on Wed May 4 07:57:50 PDT 2011
************************************************************/
11/11/23 22:45:06 INFO util.GSet: VM type = 32-bit
11/11/23 22:45:06 INFO util.GSet: 2% max memory = 19.33375 MB
11/11/23 22:45:06 INFO util.GSet: capacity = 2^22 = 4194304 entries
11/11/23 22:45:06 INFO util.GSet: recommended=4194304, actual=4194304
11/11/23 22:45:06 INFO namenode.FSNamesystem: fsOwner=hadoop
11/11/23 22:45:06 INFO namenode.FSNamesystem: supergroup=supergroup
11/11/23 22:45:06 INFO namenode.FSNamesystem: isPermissionEnabled=true
11/11/23 22:45:06 INFO namenode.FSNamesystem: dfs.block.invalidate.limit=100
11/11/23 22:45:06 INFO namenode.FSNamesystem: isAccessTokenEnabled=false accessKeyUpdateInterval=0 min(s), accessTokenLifetime=0 min(s)
11/11/23 22:45:06 INFO namenode.NameNode: Caching file names occuring more than 10 times
11/11/23 22:45:06 ERROR namenode.NameNode: java.io.IOException: Cannot create directory /data/name/current
at org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.clearDirectory(Storage.java:297)
at org.apache.hadoop.hdfs.server.namenode.FSImage.format(FSImage.java:1219)
at org.apache.hadoop.hdfs.server.namenode.FSImage.format(FSImage.java:1238)
at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:1038)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1145)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1162)
11/11/23 22:45:06 INFO namenode.NameNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at server01/블라블라
************************************************************/
구글 신께서는 정말 모르시는것이 없는걸까요?
solution : http://askubuntu.com/questions/35551/error-when-formatting-the-hadoop-filesystem
sudo ./hadoop namenode -format
'Study > Bigdata' 카테고리의 다른 글
맵리듀스 프로그래밍을 할때 log4j로 로그 찍어보기 (0) | 2012.07.08 |
---|---|
하둡 hadoop && ext3, ext4 , XFS (0) | 2012.01.26 |
hadoop port (0) | 2012.01.09 |
[hadoop]SHUTDOWN_MSG: Shutting down NameNode at java.net.UnknownHostException: hosts: hosts: 이름 혹은 서비스를 알 수 없습니다 (0) | 2011.11.23 |
RSA 인증으로 ssh 접속 안될때. (0) | 2011.11.23 |
hadoop ssh 포트 변경 (0) | 2011.11.23 |