Error in Elasticsearch NullPointerException at org.elasticsearch.plugins.PluginsService.loadSitePlugins


(Preeti Jain) #1

Hi ,

We suddenly started getting this error in Elasticsearch log

[2014-03-19 09:40:57,419][DEBUG][action.admin.cluster.node.info] [North]
failed to execute on node [B5a2wTMvQpGHOpO5oIjnug]
java.lang.NullPointerException
at
org.elasticsearch.plugins.PluginsService.loadSitePlugins(PluginsService.java:441)
at
org.elasticsearch.plugins.PluginsService.info(PluginsService.java:308)
at
org.elasticsearch.node.service.NodeService.info(NodeService.java:122)
at
org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.nodeOperation(TransportNodesInfoAction.java:100)
at
org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.nodeOperation(TransportNodesInfoAction.java:43)
at
org.elasticsearch.action.support.nodes.TransportNodesOperationAction$AsyncAction$2.run(TransportNodesOperationAction.java:146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

We are unable to perform any action on elasticsearch.

Any idea what could be the issue?

Regards,
Preeti

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9134e001-f459-463f-82d4-930dc3769893%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(David Pilato) #2

Which elasticsearch version are you using?

This could happen if you don't have privileges on plugins dir.

Often, you have installed elasticsearch with a given account but you installed plugin using sudo which ends up creating a plugin dir not readable by elasticsearch user.

This NPE has been fixed in recent version. Wondering if it was not correctly fixed or if you are running an old version or if it's something else.

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 19 mars 2014 à 09:44:58, Preeti Jain (itspreeti@gmail.com) a écrit:

Hi ,

We suddenly started getting this error in Elasticsearch log

[2014-03-19 09:40:57,419][DEBUG][action.admin.cluster.node.info] [North] failed to execute on node [B5a2wTMvQpGHOpO5oIjnug]
java.lang.NullPointerException
at org.elasticsearch.plugins.PluginsService.loadSitePlugins(PluginsService.java:441)
at org.elasticsearch.plugins.PluginsService.info(PluginsService.java:308)
at org.elasticsearch.node.service.NodeService.info(NodeService.java:122)
at org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.nodeOperation(TransportNodesInfoAction.java:100)
at org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.nodeOperation(TransportNodesInfoAction.java:43)
at org.elasticsearch.action.support.nodes.TransportNodesOperationAction$AsyncAction$2.run(TransportNodesOperationAction.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

We are unable to perform any action on elasticsearch.

Any idea what could be the issue?

Regards,
Preeti

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9134e001-f459-463f-82d4-930dc3769893%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.53295b1b.6de91b18.97ca%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/d/optout.


(Preeti Jain) #3

Hi David,

We are using version 1.0.1. We have following permission on plugins
directory :rwxr-xr-x

Regards,
Preeti

On Wednesday, March 19, 2014 2:23:47 PM UTC+5:30, David Pilato wrote:

Which elasticsearch version are you using?

This could happen if you don't have privileges on plugins dir.
Often, you have installed elasticsearch with a given account but you
installed plugin using sudo which ends up creating a plugin dir not
readable by elasticsearch user.

This NPE has been fixed in recent version. Wondering if it was not
correctly fixed or if you are running an old version or if it's something
else.

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 19 mars 2014 à 09:44:58, Preeti Jain (itsp...@gmail.com <javascript:>)
a écrit:

Hi ,

We suddenly started getting this error in Elasticsearch log

[2014-03-19 09:40:57,419][DEBUG][action.admin.cluster.node.info] [North]
failed to execute on node [B5a2wTMvQpGHOpO5oIjnug]
java.lang.NullPointerException
at
org.elasticsearch.plugins.PluginsService.loadSitePlugins(PluginsService.java:441)
at org.elasticsearch.plugins.PluginsService.info
(PluginsService.java:308)
at org.elasticsearch.node.service.NodeService.info
(NodeService.java:122)
at
org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.nodeOperation(TransportNodesInfoAction.java:100)
at
org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.nodeOperation(TransportNodesInfoAction.java:43)
at
org.elasticsearch.action.support.nodes.TransportNodesOperationAction$AsyncAction$2.run(TransportNodesOperationAction.java:146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

We are unable to perform any action on elasticsearch.

Any idea what could be the issue?

Regards,
Preeti

You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9134e001-f459-463f-82d4-930dc3769893%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/9134e001-f459-463f-82d4-930dc3769893%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/90440ccf-66b5-4fc8-bbf0-c710d51fcf9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Preeti Jain) #4

Also, this issue suddenly started coming up. We did installation yesterday,
indexed some data and were able to search it until this morning.

Regards,
Preeti

On Wednesday, March 19, 2014 2:23:47 PM UTC+5:30, David Pilato wrote:

Which elasticsearch version are you using?

This could happen if you don't have privileges on plugins dir.

Often, you have installed elasticsearch with a given account but you
installed plugin using sudo which ends up creating a plugin dir not
readable by elasticsearch user.

This NPE has been fixed in recent version. Wondering if it was not
correctly fixed or if you are running an old version or if it's something
else.

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 19 mars 2014 à 09:44:58, Preeti Jain (itsp...@gmail.com <javascript:>)
a écrit:

Hi ,

We suddenly started getting this error in Elasticsearch log

[2014-03-19 09:40:57,419][DEBUG][action.admin.cluster.node.info] [North]
failed to execute on node [B5a2wTMvQpGHOpO5oIjnug]
java.lang.NullPointerException
at
org.elasticsearch.plugins.PluginsService.loadSitePlugins(PluginsService.java:441)
at org.elasticsearch.plugins.PluginsService.info
(PluginsService.java:308)
at org.elasticsearch.node.service.NodeService.info
(NodeService.java:122)
at
org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.nodeOperation(TransportNodesInfoAction.java:100)
at
org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.nodeOperation(TransportNodesInfoAction.java:43)
at
org.elasticsearch.action.support.nodes.TransportNodesOperationAction$AsyncAction$2.run(TransportNodesOperationAction.java:146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

We are unable to perform any action on elasticsearch.

Any idea what could be the issue?

Regards,
Preeti

You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9134e001-f459-463f-82d4-930dc3769893%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/9134e001-f459-463f-82d4-930dc3769893%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/29beb3d3-2357-4e25-ac2f-954a2f933daf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(David Pilato) #5

I see. This fix has not been added in 1.0 branch but in 1.x: https://github.com/elasticsearch/elasticsearch/issues/5195

Could you check subdirs?
I think you have an issue with your directories.

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 19 mars 2014 à 10:03:55, Preeti Jain (itspreeti@gmail.com) a écrit:

Hi David,

We are using version 1.0.1. We have following permission on plugins directory :rwxr-xr-x

Regards,
Preeti

On Wednesday, March 19, 2014 2:23:47 PM UTC+5:30, David Pilato wrote:
Which elasticsearch version are you using?

This could happen if you don't have privileges on plugins dir.
Often, you have installed elasticsearch with a given account but you installed plugin using sudo which ends up creating a plugin dir not readable by elasticsearch user.

This NPE has been fixed in recent version. Wondering if it was not correctly fixed or if you are running an old version or if it's something else.

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 19 mars 2014 à 09:44:58, Preeti Jain (itsp...@gmail.com) a écrit:

Hi ,

We suddenly started getting this error in Elasticsearch log

[2014-03-19 09:40:57,419][DEBUG][action.admin.cluster.node.info] [North] failed to execute on node [B5a2wTMvQpGHOpO5oIjnug]
java.lang.NullPointerException
at org.elasticsearch.plugins.PluginsService.loadSitePlugins(PluginsService.java:441)
at org.elasticsearch.plugins.PluginsService.info(PluginsService.java:308)
at org.elasticsearch.node.service.NodeService.info(NodeService.java:122)
at org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.nodeOperation(TransportNodesInfoAction.java:100)
at org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.nodeOperation(TransportNodesInfoAction.java:43)
at org.elasticsearch.action.support.nodes.TransportNodesOperationAction$AsyncAction$2.run(TransportNodesOperationAction.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

We are unable to perform any action on elasticsearch.

Any idea what could be the issue?

Regards,
Preeti

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9134e001-f459-463f-82d4-930dc3769893%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/90440ccf-66b5-4fc8-bbf0-c710d51fcf9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.53295fda.70c6a529.97ca%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/d/optout.


(Preeti Jain) #6

Hi David

I have only one subdir inside plugins and it has following permissions

drwxrwxrwx 2 root root 4096 Mar 11 10:06 analysis-phonetic

Any more thoughts?

Regards,
Preeti
On Wednesday, March 19, 2014 2:44:01 PM UTC+5:30, David Pilato wrote:

I see. This fix has not been added in 1.0 branch but in 1.x:
https://github.com/elasticsearch/elasticsearch/issues/5195

Could you check subdirs?
I think you have an issue with your directories.

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 19 mars 2014 à 10:03:55, Preeti Jain (itsp...@gmail.com <javascript:>)
a écrit:

Hi David,

We are using version 1.0.1. We have following permission on plugins
directory :rwxr-xr-x

Regards,
Preeti

On Wednesday, March 19, 2014 2:23:47 PM UTC+5:30, David Pilato wrote:

Which elasticsearch version are you using?

This could happen if you don't have privileges on plugins dir.
Often, you have installed elasticsearch with a given account but you
installed plugin using sudo which ends up creating a plugin dir not
readable by elasticsearch user.

This NPE has been fixed in recent version. Wondering if it was not
correctly fixed or if you are running an old version or if it's something
else.

 -- 

David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 19 mars 2014 à 09:44:58, Preeti Jain (itsp...@gmail.com) a écrit:

Hi ,

We suddenly started getting this error in Elasticsearch log

[2014-03-19 09:40:57,419][DEBUG][action.admin.cluster.node.info]
[North] failed to execute on node [B5a2wTMvQpGHOpO5oIjnug]
java.lang.NullPointerException
at
org.elasticsearch.plugins.PluginsService.loadSitePlugins(PluginsService.java:441)
at org.elasticsearch.plugins.PluginsService.info
(PluginsService.java:308)
at org.elasticsearch.node.service.NodeService.info
(NodeService.java:122)
at
org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.nodeOperation(TransportNodesInfoAction.java:100)
at
org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.nodeOperation(TransportNodesInfoAction.java:43)
at
org.elasticsearch.action.support.nodes.TransportNodesOperationAction$AsyncAction$2.run(TransportNodesOperationAction.java:146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

We are unable to perform any action on elasticsearch.

Any idea what could be the issue?

Regards,
Preeti

You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9134e001-f459-463f-82d4-930dc3769893%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/9134e001-f459-463f-82d4-930dc3769893%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/90440ccf-66b5-4fc8-bbf0-c710d51fcf9f%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/90440ccf-66b5-4fc8-bbf0-c710d51fcf9f%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6a01e302-edc6-483d-862d-5d2ffc2d40da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(David Pilato) #7

No. I have no idea.
I think something is wrong with your installation.

Could you just

download elasticsearch 1.0.1 (zip or tar.gz file)
unzip it
Run bin/plugin -install xxxxx (your plugin)
Run bin/elasticsearch

Only those commands please.

If it works, then something went wrong when you installed your elasticsearch version.
Could you describe how you installed elasticsearch?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 20 mars 2014 à 05:09, Preeti Jain itspreeti@gmail.com a écrit :

Hi David

I have only one subdir inside plugins and it has following permissions

drwxrwxrwx 2 root root 4096 Mar 11 10:06 analysis-phonetic

Any more thoughts?

Regards,
Preeti

On Wednesday, March 19, 2014 2:44:01 PM UTC+5:30, David Pilato wrote:
I see. This fix has not been added in 1.0 branch but in 1.x: https://github.com/elasticsearch/elasticsearch/issues/5195

Could you check subdirs?
I think you have an issue with your directories.

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 19 mars 2014 à 10:03:55, Preeti Jain (itsp...@gmail.com) a écrit:

Hi David,

We are using version 1.0.1. We have following permission on plugins directory :rwxr-xr-x

Regards,
Preeti

On Wednesday, March 19, 2014 2:23:47 PM UTC+5:30, David Pilato wrote:
Which elasticsearch version are you using?

This could happen if you don't have privileges on plugins dir.
Often, you have installed elasticsearch with a given account but you installed plugin using sudo which ends up creating a plugin dir not readable by elasticsearch user.

This NPE has been fixed in recent version. Wondering if it was not correctly fixed or if you are running an old version or if it's something else.

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 19 mars 2014 à 09:44:58, Preeti Jain (itsp...@gmail.com) a écrit:

Hi ,

We suddenly started getting this error in Elasticsearch log

[2014-03-19 09:40:57,419][DEBUG][action.admin.cluster.node.info] [North] failed to execute on node [B5a2wTMvQpGHOpO5oIjnug]
java.lang.NullPointerException
at org.elasticsearch.plugins.PluginsService.loadSitePlugins(PluginsService.java:441)
at org.elasticsearch.plugins.PluginsService.info(PluginsService.java:308)
at org.elasticsearch.node.service.NodeService.info(NodeService.java:122)
at org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.nodeOperation(TransportNodesInfoAction.java:100)
at org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.nodeOperation(TransportNodesInfoAction.java:43)
at org.elasticsearch.action.support.nodes.TransportNodesOperationAction$AsyncAction$2.run(TransportNodesOperationAction.java:146)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

We are unable to perform any action on elasticsearch.

Any idea what could be the issue?

Regards,
Preeti

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9134e001-f459-463f-82d4-930dc3769893%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/90440ccf-66b5-4fc8-bbf0-c710d51fcf9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6a01e302-edc6-483d-862d-5d2ffc2d40da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/942302E5-EEC2-4345-8CA8-C08C605C55E5%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.


(Venu Krishna) #8

Hi Preeti Jain,
i am venu,i am new to this technology i.e.
elasticsearch,i am trying to do communicate between the java and
elasticsearch like ccommuniccation between java and oracle,i am surfing for
the examples but unable to get the required way.Can help to achieve the
Java ElasticSearch comunication(using Node or TransportClient).

On Wednesday, March 19, 2014 2:14:55 PM UTC+5:30, Preeti Jain wrote:

Hi ,

We suddenly started getting this error in Elasticsearch log

[2014-03-19 09:40:57,419][DEBUG][action.admin.cluster.node.info] [North]
failed to execute on node [B5a2wTMvQpGHOpO5oIjnug]
java.lang.NullPointerException
at
org.elasticsearch.plugins.PluginsService.loadSitePlugins(PluginsService.java:441)
at org.elasticsearch.plugins.PluginsService.info
(PluginsService.java:308)
at org.elasticsearch.node.service.NodeService.info
(NodeService.java:122)
at
org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.nodeOperation(TransportNodesInfoAction.java:100)
at
org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.nodeOperation(TransportNodesInfoAction.java:43)
at
org.elasticsearch.action.support.nodes.TransportNodesOperationAction$AsyncAction$2.run(TransportNodesOperationAction.java:146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

We are unable to perform any action on elasticsearch.

Any idea what could be the issue?

Regards,
Preeti

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7db6f15b-14b3-46c3-ae62-96b8253b903f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Preeti Jain) #9

Finally got this working. Our Java application that communicates with
elasticsearch is hosted in JBoss server. While creating the transport
client we were not passing elasticsearch home dir, plugin dir path
explicitly. The default path that was picked up had some wrong reference.
We managed to resolve the issue after passing the correct value to
path.home.

Regards,
Preeti

On Thursday, March 20, 2014 12:54:33 PM UTC+5:30, David Pilato wrote:

No. I have no idea.
I think something is wrong with your installation.

Could you just

download elasticsearch 1.0.1 (zip or tar.gz file)
unzip it
Run bin/plugin -install xxxxx (your plugin)
Run bin/elasticsearch

Only those commands please.

If it works, then something went wrong when you installed your
elasticsearch version.
Could you describe how you installed elasticsearch?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 20 mars 2014 à 05:09, Preeti Jain <itsp...@gmail.com <javascript:>> a
écrit :

Hi David

I have only one subdir inside plugins and it has following permissions

drwxrwxrwx 2 root root 4096 Mar 11 10:06 analysis-phonetic

Any more thoughts?

Regards,
Preeti
On Wednesday, March 19, 2014 2:44:01 PM UTC+5:30, David Pilato wrote:

I see. This fix has not been added in 1.0 branch but in 1.x:
https://github.com/elasticsearch/elasticsearch/issues/5195

Could you check subdirs?
I think you have an issue with your directories.

--
David Pilato | Technical Advocate | Elasticsearch.com
http://Elasticsearch.com

@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 19 mars 2014 à 10:03:55, Preeti Jain (itsp...@gmail.com) a écrit:

Hi David,

We are using version 1.0.1. We have following permission on plugins
directory :rwxr-xr-x

Regards,
Preeti

On Wednesday, March 19, 2014 2:23:47 PM UTC+5:30, David Pilato wrote:

Which elasticsearch version are you using?

This could happen if you don't have privileges on plugins dir.
Often, you have installed elasticsearch with a given account but you
installed plugin using sudo which ends up creating a plugin dir not
readable by elasticsearch user.

This NPE has been fixed in recent version. Wondering if it was not
correctly fixed or if you are running an old version or if it's something
else.

 -- 

David Pilato | Technical Advocate | Elasticsearch.com
http://Elasticsearch.com

@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 19 mars 2014 à 09:44:58, Preeti Jain (itsp...@gmail.com) a écrit:

Hi ,

We suddenly started getting this error in Elasticsearch log

[2014-03-19 09:40:57,419][DEBUG][action.admin.cluster.node.info]
[North] failed to execute on node [B5a2wTMvQpGHOpO5oIjnug]
java.lang.NullPointerException
at
org.elasticsearch.plugins.PluginsService.loadSitePlugins(PluginsService.java:441)
at org.elasticsearch.plugins.PluginsService.info
(PluginsService.java:308)
at org.elasticsearch.node.service.NodeService.info
(NodeService.java:122)
at
org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.nodeOperation(TransportNodesInfoAction.java:100)
at
org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.nodeOperation(TransportNodesInfoAction.java:43)
at
org.elasticsearch.action.support.nodes.TransportNodesOperationAction$AsyncAction$2.run(TransportNodesOperationAction.java:146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

We are unable to perform any action on elasticsearch.

Any idea what could be the issue?

Regards,
Preeti

You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearc...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9134e001-f459-463f-82d4-930dc3769893%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/9134e001-f459-463f-82d4-930dc3769893%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/90440ccf-66b5-4fc8-bbf0-c710d51fcf9f%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/90440ccf-66b5-4fc8-bbf0-c710d51fcf9f%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/6a01e302-edc6-483d-862d-5d2ffc2d40da%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/6a01e302-edc6-483d-862d-5d2ffc2d40da%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/df3e0e49-c153-43d0-bc1f-63cc494dd73b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #10