Unable to start zeppelin (Address in use)

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to start zeppelin (Address in use)

ÐΞ€ρ@Ҝ (๏̯͡๏)


Logs
===

INFO [2015-09-30 21:23:17,213] ({main} QuartzScheduler.java[initialize]:305) - Scheduler meta-data: Quartz Scheduler (v2.2.1) 'DefaultQuartzScheduler' with instanceId 'NON_CLUSTERED'

  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.

  NOT STARTED.

  Currently in standby mode.

  Number of jobs executed: 0

  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.

  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.


 INFO [2015-09-30 21:23:17,213] ({main} StdSchedulerFactory.java[instantiate]:1339) - Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'

 INFO [2015-09-30 21:23:17,213] ({main} StdSchedulerFactory.java[instantiate]:1343) - Quartz scheduler version: 2.2.1

 INFO [2015-09-30 21:23:17,214] ({main} QuartzScheduler.java[start]:575) - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.

 INFO [2015-09-30 21:23:17,524] ({main} ServerImpl.java[initDestination]:94) - Setting the server's publish address to be /

 INFO [2015-09-30 21:23:17,670] ({main} StandardDescriptorProcessor.java[visitServlet]:284) - NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet

 WARN [2015-09-30 21:23:18,573] ({main} AbstractLifeCycle.java[setFailed]:204) - FAILED SelectChannelConnector@0.0.0.0:8080: 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:444)

at sun.nio.ch.Net.bind(Net.java:436)

at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)

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.zeppelin.server.ZeppelinServer.main(ZeppelinServer.java:103)

 WARN [2015-09-30 21:23:18,576] ({main} AbstractLifeCycle.java[setFailed]:204) - FAILED org.eclipse.jetty.server.Server@1ed55aac: java.net.BindException: Address already in use

java.net.BindException: Address already in use


Investigation

==========

$ ps -ef | grep zeppelin

root      6652     1  0 Aug03 ?        00:00:00 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/AmbariAgent.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root      6660  6652  2 Aug03 ?        1-06:20:50 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/main.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root     28630  4479  0 21:22 pts/0    00:00:00 su - zeppelin

zeppelin 28631 28630  0 21:22 pts/0    00:00:00 -bash

zeppelin 28867 28631  1 21:24 pts/0    00:00:00 ps -ef

zeppelin 28868 28631  0 21:24 pts/0    00:00:00 grep zeppelin

[zeppelin@zeppelin-3529 incubator-zeppelin]$ 


Steps

=====

$ ./bin/zeppelin-daemon.sh stop

Zeppelin stop                                              [  OK  ]

[zeppelin@zeppelin-3529 incubator-zeppelin]$ rm -rf logs/*

[zeppelin@zeppelin-3529 incubator-zeppelin]$ ./bin/zeppelin-daemon.sh start

Zeppelin start                                             [  OK  ]

[zeppelin@zeppelin-3529 incubator-zeppelin]$


Any suggestions ?

Latest Git code + Box Plot graph PR + compilation error fixes for box plot PR


--
Deepak

Reply | Threaded
Open this post in threaded view
|

Re: Unable to start zeppelin (Address in use)

Corneau Damien
Address already in use, doesn't have to be Zeppelin necessary.

Do a: ps aux | grep zeppelin

to see if its running. If it is, then kill -9 the processes

On Thu, Oct 1, 2015 at 1:25 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:


Logs
===

INFO [2015-09-30 21:23:17,213] ({main} QuartzScheduler.java[initialize]:305) - Scheduler meta-data: Quartz Scheduler (v2.2.1) 'DefaultQuartzScheduler' with instanceId 'NON_CLUSTERED'

  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.

  NOT STARTED.

  Currently in standby mode.

  Number of jobs executed: 0

  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.

  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.


 INFO [2015-09-30 21:23:17,213] ({main} StdSchedulerFactory.java[instantiate]:1339) - Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'

 INFO [2015-09-30 21:23:17,213] ({main} StdSchedulerFactory.java[instantiate]:1343) - Quartz scheduler version: 2.2.1

 INFO [2015-09-30 21:23:17,214] ({main} QuartzScheduler.java[start]:575) - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.

 INFO [2015-09-30 21:23:17,524] ({main} ServerImpl.java[initDestination]:94) - Setting the server's publish address to be /

 INFO [2015-09-30 21:23:17,670] ({main} StandardDescriptorProcessor.java[visitServlet]:284) - NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet

 WARN [2015-09-30 21:23:18,573] ({main} AbstractLifeCycle.java[setFailed]:204) - FAILED SelectChannelConnector@0.0.0.0:8080: 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:444)

at sun.nio.ch.Net.bind(Net.java:436)

at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)

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.zeppelin.server.ZeppelinServer.main(ZeppelinServer.java:103)

 WARN [2015-09-30 21:23:18,576] ({main} AbstractLifeCycle.java[setFailed]:204) - FAILED org.eclipse.jetty.server.Server@1ed55aac: java.net.BindException: Address already in use

java.net.BindException: Address already in use


Investigation

==========

$ ps -ef | grep zeppelin

root      6652     1  0 Aug03 ?        00:00:00 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/AmbariAgent.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root      6660  6652  2 Aug03 ?        1-06:20:50 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/main.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root     28630  4479  0 21:22 pts/0    00:00:00 su - zeppelin

zeppelin 28631 28630  0 21:22 pts/0    00:00:00 -bash

zeppelin 28867 28631  1 21:24 pts/0    00:00:00 ps -ef

zeppelin 28868 28631  0 21:24 pts/0    00:00:00 grep zeppelin

[zeppelin@zeppelin-3529 incubator-zeppelin]$ 


Steps

=====

$ ./bin/zeppelin-daemon.sh stop

Zeppelin stop                                              [  OK  ]

[zeppelin@zeppelin-3529 incubator-zeppelin]$ rm -rf logs/*

[zeppelin@zeppelin-3529 incubator-zeppelin]$ ./bin/zeppelin-daemon.sh start

Zeppelin start                                             [  OK  ]

[zeppelin@zeppelin-3529 incubator-zeppelin]$


Any suggestions ?

Latest Git code + Box Plot graph PR + compilation error fixes for box plot PR


--
Deepak


Reply | Threaded
Open this post in threaded view
|

Re: Unable to start zeppelin (Address in use)

madhuka udantha
In reply to this post by ÐΞ€ρ@Ҝ (๏̯͡๏)

On Thu, Oct 1, 2015 at 9:55 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
java.net.BindException: Address already in use

you have another process bound to the same port.

Check which processes are listening on this port. Kill the process if it is ok.


--
Reply | Threaded
Open this post in threaded view
|

Re: Unable to start zeppelin (Address in use)

ÐΞ€ρ@Ҝ (๏̯͡๏)
If you see my investigation section earlier.

Investigation

==========

$ ps -ef | grep zeppelin


there is nothing.


On Wed, Sep 30, 2015 at 9:32 PM, madhuka udantha <[hidden email]> wrote:

On Thu, Oct 1, 2015 at 9:55 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
java.net.BindException: Address already in use

you have another process bound to the same port.

Check which processes are listening on this port. Kill the process if it is ok.


--



--
Deepak

Reply | Threaded
Open this post in threaded view
|

Re: Unable to start zeppelin (Address in use)

ÐΞ€ρ@Ҝ (๏̯͡๏)

$ ps aux | grep zeppelin

root      6652  0.0  0.0 212676 13052 ?        S    Aug03   0:00 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/AmbariAgent.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root      6660  2.1 15.8 4606312 3928832 ?     Sl   Aug03 1821:53 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/main.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root     29811  0.0  0.0 158120  1820 pts/0    S    21:45   0:00 su - zeppelin

zeppelin 29812  0.0  0.0 108304  1984 pts/0    S    21:45   0:00 -bash

zeppelin 29914  2.0  0.0 121124  1260 pts/0    R+   21:47   0:00 ps aux

zeppelin 29915  0.0  0.0 103240   880 pts/0    S+   21:47   0:00 grep zeppelin

[zeppelin@zeppelin-3529 ~]$ 


On Wed, Sep 30, 2015 at 9:44 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
If you see my investigation section earlier.

Investigation

==========

$ ps -ef | grep zeppelin


there is nothing.


On Wed, Sep 30, 2015 at 9:32 PM, madhuka udantha <[hidden email]> wrote:

On Thu, Oct 1, 2015 at 9:55 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
java.net.BindException: Address already in use

you have another process bound to the same port.

Check which processes are listening on this port. Kill the process if it is ok.


--



--
Deepak




--
Deepak

Reply | Threaded
Open this post in threaded view
|

Re: Unable to start zeppelin (Address in use)

Corneau Damien
'Check which processes are listening on this port. Kill the process if it is ok.'

'doesn't have to be Zeppelin necessary'

On Thu, Oct 1, 2015 at 1:47 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:

$ ps aux | grep zeppelin

root      6652  0.0  0.0 212676 13052 ?        S    Aug03   0:00 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/AmbariAgent.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root      6660  2.1 15.8 4606312 3928832 ?     Sl   Aug03 1821:53 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/main.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root     29811  0.0  0.0 158120  1820 pts/0    S    21:45   0:00 su - zeppelin

zeppelin 29812  0.0  0.0 108304  1984 pts/0    S    21:45   0:00 -bash

zeppelin 29914  2.0  0.0 121124  1260 pts/0    R+   21:47   0:00 ps aux

zeppelin 29915  0.0  0.0 103240   880 pts/0    S+   21:47   0:00 grep zeppelin

[zeppelin@zeppelin-3529 ~]$ 


On Wed, Sep 30, 2015 at 9:44 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
If you see my investigation section earlier.

Investigation

==========

$ ps -ef | grep zeppelin


there is nothing.


On Wed, Sep 30, 2015 at 9:32 PM, madhuka udantha <[hidden email]> wrote:

On Thu, Oct 1, 2015 at 9:55 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
java.net.BindException: Address already in use

you have another process bound to the same port.

Check which processes are listening on this port. Kill the process if it is ok.


--



--
Deepak




--
Deepak


Reply | Threaded
Open this post in threaded view
|

Re: Unable to start zeppelin (Address in use)

madhuka udantha
In reply to this post by ÐΞ€ρ@Ҝ (๏̯͡๏)
Hi,

1. Try to find any other process running on port which zeppelin is try to start / run. (some time it can be some app rather zeppelin)

2. BTW stop / kill all the process which with zeppelin. (If it is zeppelin)


On Thu, Oct 1, 2015 at 10:17 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:

$ ps aux | grep zeppelin

root      6652  0.0  0.0 212676 13052 ?        S    Aug03   0:00 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/AmbariAgent.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root      6660  2.1 15.8 4606312 3928832 ?     Sl   Aug03 1821:53 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/main.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root     29811  0.0  0.0 158120  1820 pts/0    S    21:45   0:00 su - zeppelin

zeppelin 29812  0.0  0.0 108304  1984 pts/0    S    21:45   0:00 -bash

zeppelin 29914  2.0  0.0 121124  1260 pts/0    R+   21:47   0:00 ps aux

zeppelin 29915  0.0  0.0 103240   880 pts/0    S+   21:47   0:00 grep zeppelin

[zeppelin@zeppelin-3529 ~]$ 


On Wed, Sep 30, 2015 at 9:44 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
If you see my investigation section earlier.

Investigation

==========

$ ps -ef | grep zeppelin


there is nothing.


On Wed, Sep 30, 2015 at 9:32 PM, madhuka udantha <[hidden email]> wrote:

On Thu, Oct 1, 2015 at 9:55 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
java.net.BindException: Address already in use

you have another process bound to the same port.

Check which processes are listening on this port. Kill the process if it is ok.


--



--
Deepak




--
Deepak




--
Reply | Threaded
Open this post in threaded view
|

Re: Unable to start zeppelin (Address in use)

ÐΞ€ρ@Ҝ (๏̯͡๏)
In reply to this post by Corneau Damien
Which port do i check and what is the command ?

Log says

WARN [2015-09-30 21:24:41,926] ({main} AbstractLifeCycle.java[setFailed]:204) - FAILED SelectChannelConnector@0.0.0.0:8080: 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:444)

        at sun.nio.ch.Net.bind(Net.java:436)

        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)

        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.zeppelin.server.ZeppelinServer.main(ZeppelinServer.java:103)

 WARN [2015-09-30 21:24:41,928] ({main} AbstractLifeCycle.java[setFailed]:204) - FAILED org.eclipse.jetty.server.Server@6405ae77: java.net.BindException: Address already in use

java.net.BindException: Address already in use


On Wed, Sep 30, 2015 at 9:53 PM, Corneau Damien <[hidden email]> wrote:
'Check which processes are listening on this port. Kill the process if it is ok.'

'doesn't have to be Zeppelin necessary'

On Thu, Oct 1, 2015 at 1:47 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:

$ ps aux | grep zeppelin

root      6652  0.0  0.0 212676 13052 ?        S    Aug03   0:00 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/AmbariAgent.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root      6660  2.1 15.8 4606312 3928832 ?     Sl   Aug03 1821:53 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/main.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root     29811  0.0  0.0 158120  1820 pts/0    S    21:45   0:00 su - zeppelin

zeppelin 29812  0.0  0.0 108304  1984 pts/0    S    21:45   0:00 -bash

zeppelin 29914  2.0  0.0 121124  1260 pts/0    R+   21:47   0:00 ps aux

zeppelin 29915  0.0  0.0 103240   880 pts/0    S+   21:47   0:00 grep zeppelin

[zeppelin@zeppelin-3529 ~]$ 


On Wed, Sep 30, 2015 at 9:44 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
If you see my investigation section earlier.

Investigation

==========

$ ps -ef | grep zeppelin


there is nothing.


On Wed, Sep 30, 2015 at 9:32 PM, madhuka udantha <[hidden email]> wrote:

On Thu, Oct 1, 2015 at 9:55 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
java.net.BindException: Address already in use

you have another process bound to the same port.

Check which processes are listening on this port. Kill the process if it is ok.


--



--
Deepak




--
Deepak





--
Deepak

Reply | Threaded
Open this post in threaded view
|

Re: Unable to start zeppelin (Address in use)

ÐΞ€ρ@Ҝ (๏̯͡๏)
In reply to this post by madhuka udantha
Tried both, before posting :)

On Wed, Sep 30, 2015 at 9:53 PM, madhuka udantha <[hidden email]> wrote:
Hi,

1. Try to find any other process running on port which zeppelin is try to start / run. (some time it can be some app rather zeppelin)

2. BTW stop / kill all the process which with zeppelin. (If it is zeppelin)


On Thu, Oct 1, 2015 at 10:17 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:

$ ps aux | grep zeppelin

root      6652  0.0  0.0 212676 13052 ?        S    Aug03   0:00 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/AmbariAgent.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root      6660  2.1 15.8 4606312 3928832 ?     Sl   Aug03 1821:53 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/main.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root     29811  0.0  0.0 158120  1820 pts/0    S    21:45   0:00 su - zeppelin

zeppelin 29812  0.0  0.0 108304  1984 pts/0    S    21:45   0:00 -bash

zeppelin 29914  2.0  0.0 121124  1260 pts/0    R+   21:47   0:00 ps aux

zeppelin 29915  0.0  0.0 103240   880 pts/0    S+   21:47   0:00 grep zeppelin

[zeppelin@zeppelin-3529 ~]$ 


On Wed, Sep 30, 2015 at 9:44 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
If you see my investigation section earlier.

Investigation

==========

$ ps -ef | grep zeppelin


there is nothing.


On Wed, Sep 30, 2015 at 9:32 PM, madhuka udantha <[hidden email]> wrote:

On Thu, Oct 1, 2015 at 9:55 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
java.net.BindException: Address already in use

you have another process bound to the same port.

Check which processes are listening on this port. Kill the process if it is ok.


--



--
Deepak




--
Deepak




--



--
Deepak

Reply | Threaded
Open this post in threaded view
|

Re: Unable to start zeppelin (Address in use)

madhuka udantha
Hi,

Find ports in windows[1] and I think you in Linux and here[2], answer on "answered Jul 20 '12 at 16:39 veer7"[2]

[1] http://madhukaudantha.blogspot.com/2012/06/find-port-and-killing-port-task-in.html

On Thu, Oct 1, 2015 at 10:25 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
Tried both, before posting :)

On Wed, Sep 30, 2015 at 9:53 PM, madhuka udantha <[hidden email]> wrote:
Hi,

1. Try to find any other process running on port which zeppelin is try to start / run. (some time it can be some app rather zeppelin)

2. BTW stop / kill all the process which with zeppelin. (If it is zeppelin)


On Thu, Oct 1, 2015 at 10:17 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:

$ ps aux | grep zeppelin

root      6652  0.0  0.0 212676 13052 ?        S    Aug03   0:00 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/AmbariAgent.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root      6660  2.1 15.8 4606312 3928832 ?     Sl   Aug03 1821:53 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/main.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root     29811  0.0  0.0 158120  1820 pts/0    S    21:45   0:00 su - zeppelin

zeppelin 29812  0.0  0.0 108304  1984 pts/0    S    21:45   0:00 -bash

zeppelin 29914  2.0  0.0 121124  1260 pts/0    R+   21:47   0:00 ps aux

zeppelin 29915  0.0  0.0 103240   880 pts/0    S+   21:47   0:00 grep zeppelin

[zeppelin@zeppelin-3529 ~]$ 


On Wed, Sep 30, 2015 at 9:44 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
If you see my investigation section earlier.

Investigation

==========

$ ps -ef | grep zeppelin


there is nothing.


On Wed, Sep 30, 2015 at 9:32 PM, madhuka udantha <[hidden email]> wrote:

On Thu, Oct 1, 2015 at 9:55 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
java.net.BindException: Address already in use

you have another process bound to the same port.

Check which processes are listening on this port. Kill the process if it is ok.


--



--
Deepak




--
Deepak




--



--
Deepak




--
Reply | Threaded
Open this post in threaded view
|

Re: Unable to start zeppelin (Address in use)

ÐΞ€ρ@Ҝ (๏̯͡๏)
What port do i need to check ? Logs do not contain port number.

On Wed, Sep 30, 2015 at 10:02 PM, madhuka udantha <[hidden email]> wrote:
Hi,

Find ports in windows[1] and I think you in Linux and here[2], answer on "answered Jul 20 '12 at 16:39 veer7"[2]

[1] http://madhukaudantha.blogspot.com/2012/06/find-port-and-killing-port-task-in.html

On Thu, Oct 1, 2015 at 10:25 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
Tried both, before posting :)

On Wed, Sep 30, 2015 at 9:53 PM, madhuka udantha <[hidden email]> wrote:
Hi,

1. Try to find any other process running on port which zeppelin is try to start / run. (some time it can be some app rather zeppelin)

2. BTW stop / kill all the process which with zeppelin. (If it is zeppelin)


On Thu, Oct 1, 2015 at 10:17 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:

$ ps aux | grep zeppelin

root      6652  0.0  0.0 212676 13052 ?        S    Aug03   0:00 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/AmbariAgent.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root      6660  2.1 15.8 4606312 3928832 ?     Sl   Aug03 1821:53 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/main.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root     29811  0.0  0.0 158120  1820 pts/0    S    21:45   0:00 su - zeppelin

zeppelin 29812  0.0  0.0 108304  1984 pts/0    S    21:45   0:00 -bash

zeppelin 29914  2.0  0.0 121124  1260 pts/0    R+   21:47   0:00 ps aux

zeppelin 29915  0.0  0.0 103240   880 pts/0    S+   21:47   0:00 grep zeppelin

[zeppelin@zeppelin-3529 ~]$ 


On Wed, Sep 30, 2015 at 9:44 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
If you see my investigation section earlier.

Investigation

==========

$ ps -ef | grep zeppelin


there is nothing.


On Wed, Sep 30, 2015 at 9:32 PM, madhuka udantha <[hidden email]> wrote:

On Thu, Oct 1, 2015 at 9:55 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
java.net.BindException: Address already in use

you have another process bound to the same port.

Check which processes are listening on this port. Kill the process if it is ok.


--



--
Deepak




--
Deepak




--



--
Deepak




--



--
Deepak

Reply | Threaded
Open this post in threaded view
|

Re: Unable to start zeppelin (Address in use)

madhuka udantha
In reply to this post by ÐΞ€ρ@Ҝ (๏̯͡๏)


On Thu, Oct 1, 2015 at 9:55 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:


Logs
===

INFO [2015-09-30 21:23:17,213] ({main} QuartzScheduler.java[initialize]:305) - Scheduler meta-data: Quartz Scheduler (v2.2.1) 'DefaultQuartzScheduler' with instanceId 'NON_CLUSTERED'

  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.

  NOT STARTED.

ndardDescriptorProcessor.java[visitServlet]:284) - NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet

 WARN [2015-09-30 21:23:18,573] ({main} AbstractLifeCycle.java[setFailed]:204) - FAILED SelectChannelConnector@0.0.0.0:8080: java.net.BindException: Address already in use

 "SelectChannelConnector@0.0.0.0:8080: java.net.BindException: Address already in use"
@<host>:<port>

java.net.BindException: Address already in use

at sun.nio.ch.Net.bind0(Native Method)

at sun.nio.ch.Net.bind(Net.java:444)

at sun.nio.ch.Net.bind(Net.java:436)

at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)

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.zeppelin.server.ZeppelinServer.main(ZeppelinServer.java:103)

 WARN [2015-09-30 21:23:18,576] ({main} AbstractLifeCycle.java[setFailed]:204) - FAILED org.eclipse.jetty.server.Server@1ed55aac: java.net.BindException: Address already in use

java.net.BindException: Address already in use


Investigation

==========

$ ps -ef | grep zeppelin

root      6652     1  0 Aug03 ?        00:00:00 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/AmbariAgent.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root      6660  6652  2 Aug03 ?        1-06:20:50 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/main.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root     28630  4479  0 21:22 pts/0    00:00:00 su - zeppelin

zeppelin 28631 28630  0 21:22 pts/0    00:00:00 -bash

zeppelin 28867 28631  1 21:24 pts/0    00:00:00 ps -ef

zeppelin 28868 28631  0 21:24 pts/0    00:00:00 grep zeppelin

[zeppelin@zeppelin-3529 incubator-zeppelin]$ 


Steps

=====

$ ./bin/zeppelin-daemon.sh stop

Zeppelin stop                                              [  OK  ]

[zeppelin@zeppelin-3529 incubator-zeppelin]$ rm -rf logs/*

[zeppelin@zeppelin-3529 incubator-zeppelin]$ ./bin/zeppelin-daemon.sh start

Zeppelin start                                             [  OK  ]

[zeppelin@zeppelin-3529 incubator-zeppelin]$


Any suggestions ?

Latest Git code + Box Plot graph PR + compilation error fixes for box plot PR


--
Deepak




--
Reply | Threaded
Open this post in threaded view
|

Re: Unable to start zeppelin (Address in use)

ÐΞ€ρ@Ҝ (๏̯͡๏)
Changed the port in zeppelin-conf fixed.



On Wed, Sep 30, 2015 at 10:07 PM, madhuka udantha <[hidden email]> wrote:


On Thu, Oct 1, 2015 at 9:55 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:


Logs
===

INFO [2015-09-30 21:23:17,213] ({main} QuartzScheduler.java[initialize]:305) - Scheduler meta-data: Quartz Scheduler (v2.2.1) 'DefaultQuartzScheduler' with instanceId 'NON_CLUSTERED'

  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.

  NOT STARTED.

ndardDescriptorProcessor.java[visitServlet]:284) - NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet

 WARN [2015-09-30 21:23:18,573] ({main} AbstractLifeCycle.java[setFailed]:204) - FAILED SelectChannelConnector@0.0.0.0:8080: java.net.BindException: Address already in use

 "SelectChannelConnector@0.0.0.0:8080: java.net.BindException: Address already in use"
@<host>:<port>

java.net.BindException: Address already in use

at sun.nio.ch.Net.bind0(Native Method)

at sun.nio.ch.Net.bind(Net.java:444)

at sun.nio.ch.Net.bind(Net.java:436)

at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)

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.zeppelin.server.ZeppelinServer.main(ZeppelinServer.java:103)

 WARN [2015-09-30 21:23:18,576] ({main} AbstractLifeCycle.java[setFailed]:204) - FAILED org.eclipse.jetty.server.Server@1ed55aac: java.net.BindException: Address already in use

java.net.BindException: Address already in use


Investigation

==========

$ ps -ef | grep zeppelin

root      6652     1  0 Aug03 ?        00:00:00 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/AmbariAgent.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root      6660  6652  2 Aug03 ?        1-06:20:50 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/main.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root     28630  4479  0 21:22 pts/0    00:00:00 su - zeppelin

zeppelin 28631 28630  0 21:22 pts/0    00:00:00 -bash

zeppelin 28867 28631  1 21:24 pts/0    00:00:00 ps -ef

zeppelin 28868 28631  0 21:24 pts/0    00:00:00 grep zeppelin

[zeppelin@zeppelin-3529 incubator-zeppelin]$ 


Steps

=====

$ ./bin/zeppelin-daemon.sh stop

Zeppelin stop                                              [  OK  ]

[zeppelin@zeppelin-3529 incubator-zeppelin]$ rm -rf logs/*

[zeppelin@zeppelin-3529 incubator-zeppelin]$ ./bin/zeppelin-daemon.sh start

Zeppelin start                                             [  OK  ]

[zeppelin@zeppelin-3529 incubator-zeppelin]$


Any suggestions ?

Latest Git code + Box Plot graph PR + compilation error fixes for box plot PR


--
Deepak




--



--
Deepak