没有HDFS 和mapreduCe 是不是要先搭一个?
localhost: starting secondarynamenode, logging to /opt/hadoop-1.2.1/libexec/../logs/hadoop-root-secondarynamenode-wangxue-dfv-test-no-del.novalocal.out
localhost: Exception in thread "main" java.net.UnknownHostException: unknown host: imooc
localhost: at org.apache.hadoop.ipc.Client$Connection.<init>(Client.java:236)
localhost: at org.apache.hadoop.ipc.Client.getConnection(Client.java:1239)
localhost: at org.apache.hadoop.ipc.Client.call(Client.java:1093)
localhost: at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:229)
localhost: at com.sun.proxy.$Proxy5.getProtocolVersion(Unknown Source)
localhost: at org.apache.hadoop.ipc.RPC.checkVersion(RPC.java:422)
localhost: at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:414)
localhost: at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:392)