ilovesoup / hyracks

Automatically exported from code.google.com/p/hyracks
Apache License 2.0
0 stars 0 forks source link

Hyracks Asterix Stabilization Branch Install Error #76

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have checked out the hyracks_asterix_stabilization branch and am attempting 
to install it. I am running into a connection error. I have checked the 
following ports are not in use: 1098, 1099,  16001, 54583. Please help.

My system information:
Operating System  - Mac OS X 10.7.4
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-11M3635)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-415, mixed mode)

Last few terminal lines
-------------------

[INFO] 
[INFO] --- hyracks-virtualcluster-maven-plugin:0.2.1-SNAPSHOT:start-cc 
(hyracks-cc-start) @ textapp ---
[INFO] Executing Hyracks command: 
/Users/prestoncarman/Documents/smartsvn/hyracks_asterix_stabilization/hyracks-ex
amples/text-example/textapp/../../../hyracks-server/target/hyracks-server-0.2.1-
SNAPSHOT-binary-assembly/bin/hyrackscc with args [ -client-net-ip-address 
127.0.0.1 -cluster-net-ip-address 127.0.0.1]
Exception in thread "main" java.net.BindException: Address already in use
    at sun.nio.ch.Net.bind(Native Method)
    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126)
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
    at edu.uci.ics.hyracks.ipc.impl.IPCConnectionManager.<init>(IPCConnectionManager.java:66)
    at edu.uci.ics.hyracks.ipc.impl.IPCSystem.<init>(IPCSystem.java:40)
    at edu.uci.ics.hyracks.control.cc.ClusterControllerService.<init>(ClusterControllerService.java:124)
    at edu.uci.ics.hyracks.control.cc.CCDriver.main(CCDriver.java:32)
[INFO] 
[INFO] --- hyracks-virtualcluster-maven-plugin:0.2.1-SNAPSHOT:start-nc 
(hyracks-nc1-start) @ textapp ---
[INFO] Executing Hyracks command: 
/Users/prestoncarman/Documents/smartsvn/hyracks_asterix_stabilization/hyracks-ex
amples/text-example/textapp/../../../hyracks-server/target/hyracks-server-0.2.1-
SNAPSHOT-binary-assembly/bin/hyracksnc with args [ -cc-host localhost 
-data-ip-address 127.0.0.1 -node-id NC1 -cluster-net-ip-address 127.0.0.1]
Jun 12, 2012 12:38:27 PM edu.uci.ics.dcache.client.DCacheClient init
INFO: DCache client configuration:
    path: /tmp/dcache-client
    severs: localhost:54583
    local server: null
Jun 12, 2012 12:38:27 PM edu.uci.ics.hyracks.control.nc.NodeControllerService 
start
INFO: Starting NodeControllerService
[INFO] 
[INFO] --- hyracks-virtualcluster-maven-plugin:0.2.1-SNAPSHOT:start-nc 
(hyracks-nc2-start) @ textapp ---
[INFO] Executing Hyracks command: 
/Users/prestoncarman/Documents/smartsvn/hyracks_asterix_stabilization/hyracks-ex
amples/text-example/textapp/../../../hyracks-server/target/hyracks-server-0.2.1-
SNAPSHOT-binary-assembly/bin/hyracksnc with args [ -cc-host localhost 
-data-ip-address 127.0.0.1 -node-id NC2 -cluster-net-ip-address 127.0.0.1]
Jun 12, 2012 12:38:29 PM edu.uci.ics.dcache.client.DCacheClient init
INFO: DCache client configuration:
    path: /tmp/dcache-client
    severs: localhost:54583
    local server: null
Jun 12, 2012 12:38:29 PM edu.uci.ics.hyracks.control.nc.NodeControllerService 
start
INFO: Starting NodeControllerService
[INFO] 
[INFO] --- hyracks-virtualcluster-maven-plugin:0.2.1-SNAPSHOT:deploy-app 
(deploy-app) @ textapp ---
[INFO] Executing Hyracks command: 
/Users/prestoncarman/Documents/smartsvn/hyracks_asterix_stabilization/hyracks-ex
amples/text-example/textapp/../../../hyracks-cli/target/hyracks-cli-0.2.1-SNAPSH
OT-binary-assembly/bin/hyrackscli with args [null]
hyracks> connect to "localhost";
Connecting to host: localhost, port: 1098
java.net.ConnectException: Connection refused
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
    at edu.uci.ics.hyracks.ipc.impl.IPCConnectionManager$NetworkThread.run(IPCConnectionManager.java:278)

Original issue reported on code.google.com by ecarm...@ucr.edu on 12 Jun 2012 at 7:57

GoogleCodeExporter commented 9 years ago
It looks like you have an instance of Hyracks running on the machine where you 
are trying to perform the build. That is why you see the Address Already in Use 
message. Can you make sure that all instances of Hyracks are terminated when 
you start the build and try again?

Original comment by vinay...@gmail.com on 12 Jun 2012 at 9:03

GoogleCodeExporter commented 9 years ago
Found that a process was using port 1099. Once this process was killed the 
install proceeded as normal. The conflicting process appears to be software 
supplied by https://www.attotech.com. 
The install issue has been resolved.

Original comment by ecarm...@ucr.edu on 13 Jun 2012 at 7:45

GoogleCodeExporter commented 9 years ago
The change for this is done now.

Original comment by ecarm...@ucr.edu on 13 Jun 2012 at 7:49