Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 31st, 2011  |  syntax: None  |  size: 4.59 KB  |  views: 109  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. hadoop version
  2. Hadoop 0.20.2-cdh3u2
  3. Subversion file:///tmp/topdir/BUILD/hadoop-0.20.2-cdh3u2 -r 95a824e4005b2a94fe1c11f1ef9db4c672ba43cb
  4. Compiled by root on Thu Oct 13 21:51:41 PDT 2011
  5. From source with checksum 644e5db6c59d45bca96cec7f220dda51
  6.  
  7. [root@kcomp hadoop]# hadoop namenode -format
  8. May not run daemons as root. Please specify HADOOP_NAMENODE_USER
  9.  
  10. [root@kcomp hadoop]# su - hadoop
  11. id: cannot find name for group ID 501
  12.  
  13. [hadoop@kcomp ~]$ hadoop namenode -format
  14. 11/10/31 17:09:19 INFO namenode.NameNode: STARTUP_MSG:
  15. /************************************************************
  16. STARTUP_MSG: Starting NameNode
  17. STARTUP_MSG:   host = java.net.UnknownHostException: kcomp: kcomp
  18. STARTUP_MSG:   args = [-format]
  19. STARTUP_MSG:   version = 0.20.2-cdh3u2
  20. STARTUP_MSG:   build = file:///tmp/topdir/BUILD/hadoop-0.20.2-cdh3u2 -r 95a824e4005b2a94fe1c11f1ef9db4c672ba43cb; compiled by 'root' on Thu Oct 13 21:51:41 PDT 2011
  21. ************************************************************/
  22. Re-format filesystem in /tmp/hadoop-hadoop/dfs/name ? (Y or N) Y
  23. 11/10/31 17:09:23 INFO util.GSet: VM type       = 64-bit
  24. 11/10/31 17:09:23 INFO util.GSet: 2% max memory = 17.77875 MB
  25. 11/10/31 17:09:23 INFO util.GSet: capacity      = 2^21 = 2097152 entries
  26. 11/10/31 17:09:23 INFO util.GSet: recommended=2097152, actual=2097152
  27. 11/10/31 17:09:23 INFO metrics.MetricsUtil: Unable to obtain hostName
  28. java.net.UnknownHostException: kcomp: kcomp
  29.         at java.net.InetAddress.getLocalHost(InetAddress.java:1438)
  30.         at org.apache.hadoop.metrics.MetricsUtil.getHostName(MetricsUtil.java:91)
  31.         at org.apache.hadoop.metrics.MetricsUtil.createRecord(MetricsUtil.java:80)
  32.         at org.apache.hadoop.security.UserGroupInformation$UgiMetrics.<init>(UserGroupInformation.java:99)
  33.         at org.apache.hadoop.security.UserGroupInformation.<clinit>(UserGroupInformation.java:178)
  34.         at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.setConfigurationParameters(FSNamesystem.java:446)
  35.         at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:435)
  36.         at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:1113)
  37.         at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1232)
  38.         at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1248)
  39. Caused by: java.net.UnknownHostException: kaulcomp
  40.         at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
  41.         at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:866)
  42.         at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1258)
  43.         at java.net.InetAddress.getLocalHost(InetAddress.java:1434)
  44.         ... 9 more
  45. 11/10/31 17:09:23 INFO namenode.FSNamesystem: fsOwner=hadoop
  46. 11/10/31 17:09:23 INFO namenode.FSNamesystem: supergroup=supergroup
  47. 11/10/31 17:09:23 INFO namenode.FSNamesystem: isPermissionEnabled=true
  48. 11/10/31 17:09:23 INFO namenode.FSNamesystem: dfs.block.invalidate.limit=1000
  49. 11/10/31 17:09:23 INFO namenode.FSNamesystem: isAccessTokenEnabled=false accessKeyUpdateInterval=0 min(s), accessTokenLifetime=0 min(s)
  50. 11/10/31 17:09:23 INFO metrics.MetricsUtil: Unable to obtain hostName
  51. java.net.UnknownHostException: kaulcomp: kcomp
  52.         at java.net.InetAddress.getLocalHost(InetAddress.java:1438)
  53.         at org.apache.hadoop.metrics.MetricsUtil.getHostName(MetricsUtil.java:91)
  54.         at org.apache.hadoop.metrics.MetricsUtil.createRecord(MetricsUtil.java:80)
  55.         at org.apache.hadoop.hdfs.server.namenode.FSDirectory.initialize(FSDirectory.java:85)
  56.         at org.apache.hadoop.hdfs.server.namenode.FSDirectory.<init>(FSDirectory.java:80)
  57.         at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:436)
  58.         at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:1113)
  59.         at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1232)
  60.         at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1248)
  61. Caused by: java.net.UnknownHostException: kcomp
  62.         at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
  63.         at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:866)
  64.         at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1258)
  65.         at java.net.InetAddress.getLocalHost(InetAddress.java:1434)
  66.         ... 8 more
  67. 11/10/31 17:09:23 INFO common.Storage: Image file of size 112 saved in 0 seconds.
  68. 11/10/31 17:09:24 INFO common.Storage: Storage directory /tmp/hadoop-hadoop/dfs/name has been successfully formatted.
  69. 11/10/31 17:09:24 INFO namenode.NameNode: SHUTDOWN_MSG:
  70. /************************************************************
  71. SHUTDOWN_MSG: Shutting down NameNode at java.net.UnknownHostException: kcomp: kcomp
  72. ************************************************************/
  73.  
  74.  
clone this paste RAW Paste Data