Hi,
I restarted my elasticsearch service and it started normally.
The log file contents are as below:
[2012-08-01 07:15:56,398][WARN ][bootstrap ] jvm uses the client vm, make sure to run `java` with the server vm for best performance by adding `-server` to the command line
[2012-08-01 07:15:56,403][INFO ][node ] [Warhawk] {0.19.8}[3124]: initializing ...
[2012-08-01 07:15:56,484][INFO ][plugins ] [Warhawk] loaded [jetty], sites [bigdesk, head]
[2012-08-01 07:15:59,555][INFO ][node ] [Warhawk] {0.19.8}[3124]: initialized
[2012-08-01 07:15:59,555][INFO ][node ] [Warhawk] {0.19.8}[3124]: starting ...
[2012-08-01 07:15:59,803][INFO ][transport ] [Warhawk] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/
192.168.2.2:9300]}
[2012-08-01 07:16:03,181][INFO ][cluster.service ] [Warhawk] new_master [Warhawk][V8EIJFCMR-K4NXFSXGmwMw][inet[/192.168.2.2:9300]], reason: zen-disco-join (elected_as_master)
[2012-08-01 07:16:03,255][INFO ][discovery ] [Warhawk] PaRaG/V8EIJFCMR-K4NXFSXGmwMw
[2012-08-01 07:16:03,677][INFO ][org.eclipse.jetty.server.Server] [Warhawk] jetty-8.1.4.v20120524
[2012-08-01 07:16:03,906][INFO ][gateway ] [Warhawk] recovered [5] indices into cluster_state
[2012-08-01 07:16:04,027][INFO ][http ] [Warhawk] bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/
192.168.2.2:9200]}
[2012-08-01 07:16:04,027][INFO ][node ] [Warhawk] {0.19.8}[3124]: started
soon afterwards, i restarted the service and then i got the error again.
[2012-08-01 07:19:41,747][WARN ][bootstrap ] jvm uses the client vm, make sure to run `java` with the server vm for best performance by adding `-server` to the command line
[2012-08-01 07:19:41,751][INFO ][node ] [Link] {0.19.8}[1196]: initializing ...
[2012-08-01 07:19:41,766][INFO ][plugins ] [Link] loaded [jetty], sites [bigdesk, head]
[2012-08-01 07:19:44,384][INFO ][node ] [Link] {0.19.8}[1196]: initialized
[2012-08-01 07:19:44,384][INFO ][node ] [Link] {0.19.8}[1196]: starting ...
[2012-08-01 07:19:44,643][INFO ][transport ] [Link] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/
192.168.2.2:9300]}
[2012-08-01 07:19:48,074][INFO ][cluster.service ] [Link] new_master [Link][gCJHFIApQSmnxugHpLHe7g][inet[/192.168.2.2:9300]], reason: zen-disco-join (elected_as_master)
[2012-08-01 07:19:48,099][INFO ][discovery ] [Link] PaRaG/gCJHFIApQSmnxugHpLHe7g
[2012-08-01 07:19:48,304][INFO ][org.eclipse.jetty.server.Server] [Link] jetty-8.1.4.v20120524
[2012-08-01 07:19:48,631][INFO ][http ] [Link] bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/
192.168.2.2:9200]}
[2012-08-01 07:19:48,631][INFO ][node ] [Link] {0.19.8}[1196]: started
[2012-08-01 07:19:48,756][INFO ][gateway ] [Link] recovered [5] indices into cluster_state
[2012-08-01 07:20:00,736][WARN ][org.eclipse.jetty.server.AbstractHttpConnection] [Link] /
java.lang.NoClassDefFoundError: com/sonian/elasticsearch/http/jetty/JettyHttpServerRestRequest
at com.sonian.elasticsearch.http.jetty.handler.JettyHttpServerTransportHandler.handle(JettyHttpServerTransportHandler.java:66)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:499)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
at org.eclipse.jetty.server.Server.handle(Server.java:350)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454)
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:890)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:944)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:630)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:620)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.sonian.elasticsearch.http.jetty.JettyHttpServerRestRequest
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 15 more
[2012-08-01 07:20:03,023][WARN ][org.eclipse.jetty.server.AbstractHttpConnection] [Link] /
java.lang.NoClassDefFoundError: com/sonian/elasticsearch/http/jetty/JettyHttpServerRestRequest
at com.sonian.elasticsearch.http.jetty.handler.JettyHttpServerTransportHandler.handle(JettyHttpServerTransportHandler.java:66)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:499)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
at org.eclipse.jetty.server.Server.handle(Server.java:350)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454)
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:890)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:944)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:630)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:620)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538)
at java.lang.Thread.run(Unknown Source)
I get this error as soon as the service is started and i am unable to use elastic search till i restart the service a couple of times.
Hope this helps.
Please let me know if you need more information.
regards,
-Parag