所需端口54321,54322在H2o中的R上不可用错误

时间:2016-08-01 15:17:50

标签: java port h2o

我无法在MRO3.3中启动H2o h2o.init()给出了以下输出

08-02 00:40:36.543 127.0.0.1:54321       19672  main      INFO: ----- H2O started  -----
08-02 00:40:36.610 127.0.0.1:54321       19672  main      INFO: Build git branch: rel-turan
08-02 00:40:36.610 127.0.0.1:54321       19672  main      INFO: Build git hash: e2959c131831f8d5dad8c92eebdf0ad4a4e78d09
08-02 00:40:36.610 127.0.0.1:54321       19672  main      INFO: Build git describe: jenkins-rel-turan-3
08-02 00:40:36.610 127.0.0.1:54321       19672  main      INFO: Build project version: 3.8.1.3
08-02 00:40:36.610 127.0.0.1:54321       19672  main      INFO: Built by: 'jenkins'
08-02 00:40:36.611 127.0.0.1:54321       19672  main      INFO: Built on: '2016-03-06 14:54:19'
08-02 00:40:36.611 127.0.0.1:54321       19672  main      INFO: Java availableProcessors: 4
08-02 00:40:36.611 127.0.0.1:54321       19672  main      INFO: Java heap totalMemory: 150.0 MB
08-02 00:40:36.611 127.0.0.1:54321       19672  main      INFO: Java heap maxMemory: 1.72 GB
08-02 00:40:36.611 127.0.0.1:54321       19672  main      INFO: Java version: Java 1.8.0_91 (from Oracle Corporation)
08-02 00:40:36.611 127.0.0.1:54321       19672  main      INFO: JVM launch parameters: [-ea]
08-02 00:40:36.611 127.0.0.1:54321       19672  main      INFO: OS version: Linux 4.4.0-31-generic (amd64)
08-02 00:40:36.611 127.0.0.1:54321       19672  main      INFO: Machine physical memory: 7.73 GB
08-02 00:40:36.612 127.0.0.1:54321       19672  main      INFO: X-h2o-cluster-id: 1470078635582
08-02 00:40:36.612 127.0.0.1:54321       19672  main      INFO: User name: 'chaithanya'
08-02 00:40:36.612 127.0.0.1:54321       19672  main      INFO: Opted out of sending usage metrics.
08-02 00:40:36.612 127.0.0.1:54321       19672  main      INFO: Possible IP Address: wlo1 (wlo1), fe80:0:0:0:d5a6:487d:f375:a2e%wlo1
08-02 00:40:36.612 127.0.0.1:54321       19672  main      INFO: Possible IP Address: wlo1 (wlo1), 10.42.0.1
08-02 00:40:36.612 127.0.0.1:54321       19672  main      INFO: Possible IP Address: enp8s0 (enp8s0), fe80:0:0:0:1c9a:f547:b84:a5da%enp8s0
08-02 00:40:36.612 127.0.0.1:54321       19672  main      INFO: Possible IP Address: enp8s0 (enp8s0), 10.105.34.74
08-02 00:40:36.612 127.0.0.1:54321       19672  main      INFO: Possible IP Address: lo (lo), 0:0:0:0:0:0:0:1%lo
08-02 00:40:36.613 127.0.0.1:54321       19672  main      INFO: Possible IP Address: lo (lo), 127.0.0.1
08-02 00:40:36.613 127.0.0.1:54321       19672  main      FATAL: On /127.0.0.1 some of the required ports 54321, 54322 are not available, change -port PORT and try again.

输出:

Exception in thread "main" java.lang.AssertionError
        at water.AutoBuffer.<init>(AutoBuffer.java:165)
        at water.UDPRebooted$T.send(UDPRebooted.java:25)
        at water.H2O.shutdown(H2O.java:519)
        at water.H2O.die(H2O.java:1770)
        at water.init.NetworkInit.initializeNetworkSockets(NetworkInit.java:410)
        at water.H2O.startLocalNode(H2O.java:1294)
        at water.H2O.main(H2O.java:1705)
        at water.H2OStarter.start(H2OStarter.java:21)
        at water.H2OStarter.start(H2OStarter.java:36)
        at water.H2OApp.main(H2OApp.java:5)

即使我更改了端口,也无法访问h2o 我尝试重新安装java和h2o但到目前为止没有运气

1 个答案:

答案 0 :(得分:1)

日志的最后一行解释了这个问题:

08-02 00:40:36.613 127.0.0.1:54321       19672  main      FATAL: On /127.0.0.1 some of the required ports 54321, 54322 are not available, change -port PORT and try again.

它说,&#34;一些所需的端口54321,54322不可用&#34;。确保这些端口可用,或者如果它们不可用,那么只需使用port中的h2o.init()参数在另一个端口上启动H2O。