If I ran my jar file on local mode, it worked.
If I ran it on a cluster, it failed with the following errors from
nimbus.log. Why it got timed out?
-----------------------------
2012-04-05 06:17:51 ClientCnxn [INFO] Opening socket connection to
server
t01a08081.corp-01.xxx.com/10.1.152.81:2181
2012-04-05 06:17:51 ClientCnxn [INFO] Socket connection established to
t01a08081.corp-01.xxx.com/10.1.152.81:2181, initiating session
2012-04-05 06:17:51 ClientCnxn [INFO] Session establishment complete
on server
t01a08081.corp-01.xxx.com/10.1.152.81:2181, sessionid =
0x1367f6f6c800000, negotiated timeout = 20000
2012-04-05 06:17:51 zookeeper [INFO] Zookeeper state
update: :connected:none
2012-04-05 06:17:51 ZooKeeper [INFO] Session: 0x1367f6f6c800000 closed
2012-04-05 06:17:51 ClientCnxn [INFO] EventThread shut down
2012-04-05 06:17:51 CuratorFrameworkImpl [INFO] Starting
2012-04-05 06:17:51 ZooKeeper [INFO] Initiating client connection,
connectString=
10.1.152.81:2181/storm sessionTimeout=20000
watcher=com.netflix.curator.ConnectionState@192425a
2012-04-05 06:17:51 ClientCnxn [INFO] Opening socket connection to
server /
10.1.152.81:2181
2012-04-05 06:17:51 ClientCnxn [INFO] Socket connection established to
t01a08081.corp-01.xxx.com/10.1.152.81:2181, initiating session
2012-04-05 06:17:51 ClientCnxn [INFO] Session establishment complete
on server
t01a08081.corp-01.xxx.com/10.1.152.81:2181, sessionid =
0x1367f6f6c800001, negotiated timeout = 20000
2012-04-05 06:17:51 nimbus [INFO] Starting Nimbus server...
2012-04-05 06:18:32 nimbus [INFO] Uploading file from client to ["/
apang/disk1/stormtmp"]/nimbus/inbox/stormjar-c9a2edb5-43e5-4b48-
acdd-039a1b767e9c.jar
2012-04-05 06:18:32 nimbus [INFO] Finished uploading file from client:
["/apang/disk1/stormtmp"]/nimbus/inbox/stormjar-c9a2edb5-43e5-4b48-
acdd-039a1b767e9c.jar
2012-04-05 06:18:32 nimbus [INFO] Received topology submission for
test with conf {"topology.ackers" 1, "topology.kryo.register" nil,
"
storm.id" "test-1-1333577912", "topology.workers" 3, "topology.debug"
true}
2012-04-05 06:18:32 nimbus [INFO] Task test-1-1333577912:1 timed out
2012-04-05 06:18:32 nimbus [INFO] Task test-1-1333577912:2 timed out
2012-04-05 06:18:32 nimbus [INFO] Task test-1-1333577912:3 timed out
2012-04-05 06:18:32 nimbus [INFO] Task test-1-1333577912:4 timed out
2012-04-05 06:18:32 nimbus [INFO] Task test-1-1333577912:5 timed out
2012-04-05 06:18:32 nimbus [INFO] Task test-1-1333577912:6 timed out
2012-04-05 06:18:32 nimbus [INFO] Setting new assignment for storm id
test-1-1333577912: #:backtype.storm.daemon.common.Assignment{:master-
code-dir "[\"/apang/disk1/stormtmp\"]/nimbus/stormdist/
test-1-1333577912", :node->host {}, :task->node+port {}, :task->start-
time-secs {}}
2012-04-05 06:18:32 nimbus [INFO] Activating test: test-1-1333577912
2012-04-05 06:18:42 nimbus [INFO] Task test-1-1333577912:1 timed out
> > > > > com.a.ap.pan.PanguFileSystem.<clinit>(PanguFileSystem.java:
> > > Twitter: @nathanmarzhttp://nathanmarz.com-Hidequoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>