Member since
10-27-2016
122
Posts
13
Kudos Received
3
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1575 | 01-08-2017 07:14 PM | |
6473 | 12-07-2016 06:17 PM | |
4571 | 11-08-2016 08:49 PM |
11-08-2016
08:15 PM
looks like ipv6? I will disable ipv6 and reboot, might help
... View more
11-08-2016
08:12 PM
Hi, thanks for the reply. I stopped the server, closed my browsers and ran that command and got the following output [root@sandbox ~]# netstat -tnlpa | grep 8080
tcp6 0 0 :::8080 :::* LISTEN 3124/docker-proxy
tcp6 0 0 :::18080 :::* LISTEN 2916/docker-proxy
... View more
11-08-2016
07:06 PM
Hi, i followed this tutorial http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_Installing_HDP_AMB/content/ch_Getting_Ready.html on top of the sandbox, maybe thats the problem I didnt follow step 5, the local repositories. I have given the sandbox and the node static ip addresses and they can access each other and the internet no problem, both are vms I can ssh without password to the host i want to add and i am using Centos7.
... View more
11-07-2016
06:02 PM
Hi, i installed the ambari-server on the sandbox and am getting the above error when trying to add a node. I gave the sandbox a static ip address. The following command " netstat -nap | grep 8080" gives this output tcp6 0 0 :::8080 :::* LISTEN 3180/docker-proxy
tcp6 0 0 :::18080 :::* LISTEN 2959/docker-proxy
Even when i change the static ip i get the same error. I can ssh into the node no problem.
... View more
Labels:
- Labels:
-
Apache Ambari
11-03-2016
05:10 PM
Hi @Timothy Spann. I had already swithched NiFi to 9090. Im not using Pis anymore, i was trying to use a centos vm. i think im just going to start from scratch and forget about the sandbox
... View more
11-03-2016
01:19 PM
I started the server and tried again, here is the log output 03 Nov 2016 12:30:39,508 ERROR [main] AmbariServer:518 - Could not bind to serve r port - instance may already be running. Terminating this instance.
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:437)
at sun.nio.ch.Net.bind(Net.java:429)
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(SelectChanne lConnector.java:187)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector. java:316)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectCha nnelConnector.java:265)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife Cycle.java:64)
at org.eclipse.jetty.server.Server.doStart(Server.java:293)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife Cycle.java:64)
at org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.jav a:497)
at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.ja va:715)
03 Nov 2016 12:30:39,509 ERROR [main] AmbariServer:717 - Failed to run the Ambar i Server
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:437)
at sun.nio.ch.Net.bind(Net.java:429)
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(SelectChanne lConnector.java:187)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector. java:316)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectCha nnelConnector.java:265)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife Cycle.java:64)
at org.eclipse.jetty.server.Server.doStart(Server.java:293)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife Cycle.java:64)
at org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.jav a:497)
at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.ja va:715)
03 Nov 2016 12:30:39,511 INFO [main] ContextHandler:843 - stopped o.e.j.s.Servl etContextHandler{/,file:/usr/lib/ambari-server/web/}
03 Nov 2016 12:30:39,523 INFO [main] ELContextCleaner:63 - javax.el.BeanELResol ver purged
03 Nov 2016 12:30:39,523 INFO [main] ContextHandler:843 - stopped o.e.j.w.WebAp pContext{/views/ADMIN_VIEW/2.1.0/INSTANCE,file:/var/lib/ambari-server/resources/ views/work/ADMIN_VIEW%7B2.1.0%7D/},/var/lib/ambari-server/resources/views/work/A DMIN_VIEW{2.1.0}
... View more
11-03-2016
12:29 PM
Hi, they are the permissions i have in use, on the ambari agent side. I didnt change permissions on the server side. I changed the static ip on both machines but it still failed. Does the ambari-server need to be started or stopped when attempting to add a host? I have followed this link for the set up https://community.hortonworks.com/storage/attachments/4023-network-and-prereq-setup.pdf On this setup link, i didnt do step 5"using a local repository", i followed the rest of the steps though http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_Installing_HDP_AMB/content/_using_a_local_repository.html
... View more
11-03-2016
11:16 AM
I have given the sandbox a static ip address, so when i open Ambari i enter 192.168.1.90:8080. Could this be an issue.I noticed in the log "adress already in use"
... View more
11-03-2016
11:11 AM
Hi @Timothy Spann, i stopped the server and tried again. It still failed. Because the server is stopped i cant see what the issue is in in the log.The ambari-agent log produces the same response as before. Connection refused
... View more
11-03-2016
12:06 AM
This is snippet from the server 02 Nov 2016 22:14:41,980 WARN [main] AbstractLifeCycle:204 - FAILED org.eclipse.jetty.server.Server@33ef393a: java.net.BindException: Address already in use
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:437)
at sun.nio.ch.Net.bind(Net.java:429)
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 org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:316)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.Server.doStart(Server.java:293)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.java:497)
at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:715)
02 Nov 2016 22:14:41,980 ERROR [main] AmbariServer:518 - Could not bind to server port - instance may already be running. Terminating this instance.
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:437)
at sun.nio.ch.Net.bind(Net.java:429)
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 org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:316)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.Server.doStart(Server.java:293)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.java:497)
at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:715)
02 Nov 2016 22:14:41,980 ERROR [main] AmbariServer:717 - Failed to run the Ambari Server
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:437)
at sun.nio.ch.Net.bind(Net.java:429)
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 org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:316)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.Server.doStart(Server.java:293)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.java:497)
at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:715)
02 Nov 2016 22:14:41,983 INFO [main] ContextHandler:843 - stopped o.e.j.s.ServletContextHandler{/,file:/usr/lib/ambari-server/web/}
02 Nov 2016 22:14:41,986 INFO [main] ELContextCleaner:63 - javax.el.BeanELResolver purged
02 Nov 2016 22:14:41,986 INFO [main] ContextHandler:843 - stopped o.e.j.w.WebAppContext{/views/ADMIN_VIEW/2.1.0/INSTANCE,file:/var/lib/ambari-server/resources/views/work/ADMIN_VIEW%7B2.1.0%7D/},/var/lib/ambari-server/resources/views/work/ADMIN_VIEW{2.1.0}
... View more