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 ;-)
> 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> | 
>> @elasticsearchfr<https://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> | 
>>> @elasticsearchfr<https://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.com<https://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.com<https://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.com<https://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+unsubscr...@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.

Reply via email to