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

2014-03-23 Thread Preeti Jain
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

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

2014-03-20 Thread David Pilato
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 x (your plugin) Run bin/elasticsearch Only those commands please. If it works, then something went wrong when you

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

2014-03-20 Thread Venu Krishna
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

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

2014-03-19 Thread Preeti Jain
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

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

2014-03-19 Thread David Pilato
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

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

2014-03-19 Thread Preeti Jain
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.

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

2014-03-19 Thread Preeti Jain
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

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

2014-03-19 Thread David Pilato
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

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

2014-03-19 Thread Preeti Jain
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