我尝试在openstack上使用spark和hdfs在VM centos上安装alluxio1.2,但安装不起作用。 Spark和hdfs已经安装并正常工作
ERROR logger.type (AlluxioMaster.java:main) - Uncaught exception while running Alluxio master, stopping it and exiting.
java.lang.RuntimeException: java.net.BindException: Address already in use
at com.google.common.base.Throwables.propagate(Throwables.java:160)
at alluxio.web.UIWebServer.startWebServer(UIWebServer.java:164)
at alluxio.master.AlluxioMaster.startServingWebServer(AlluxioMaster.java:467)
at alluxio.master.AlluxioMaster.startServing(AlluxioMaster.java:452)
at alluxio.master.AlluxioMaster.startServing(AlluxioMaster.java:447)
at alluxio.master.AlluxioMaster.start(AlluxioMaster.java:389)
at alluxio.master.AlluxioMaster.main(AlluxioMaster.java:86)
Caused by: java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:187)
at alluxio.web.UIWebServer.startWebServer(UIWebServer.java:154)
... 5 more
是否有特殊安装在一台openstack机器上安装alluxio?
答案 0 :(得分:3)
看起来Alluxio master的Web UI无法启动,因为该地址已被使用。如果端口被另一个进程占用,则会发生这种情况。默认情况下,Alluxio Web UI使用端口19999作为Web UI。如果您希望其他进程使用该端口,则可以通过将配置参数(http://www.alluxio.org/docs/master/en/Configuration-Settings.html#master-configuration),alluxio.master.web.port
更改为另一个端口号来更改Alluxio主Web UI端口。