NullPointer with plugins

I just insalled a new plugin and when I start elasticsearch I get:

Am I doing something wrong?

[root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...

  • NullPointerException[null]

s

[root@ip-10-80-140-242 ~]# ls -ltr
/usr/share/elasticsearch/plugins/head/_site
total 40
-rw------- 1 root root 559 Nov 12 14:16 LICENCE
-rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js
-rw------- 1 root root 3843 Nov 12 14:16 README.textile
drwx------ 4 root root 4096 Nov 12 14:16 dist
-rw------- 1 root root 735 Nov 12 14:16 package.json
-rw------- 1 root root 1025 Nov 12 14:16 index.html
-rw------- 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project
drwx------ 4 root root 4096 Nov 12 14:16 src
drwx------ 3 root root 4096 Nov 12 14:16 test
[root@ip-10-80-140-242 ~]# ls -ltr
/usr/share/elasticsearch/plugins/paramedic/_site
total 136
-rw------- 1 root root 4021 Nov 12 14:19 README.md
-rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE
-rw------- 1 root root 897 Nov 12 14:19 Rakefile
drwx------ 2 root root 4096 Nov 12 14:19 audio
drwx------ 3 root root 4096 Nov 12 14:19 css
-rw------- 1 root root 99068 Nov 12 14:19
elasticsearch-paramedic-screenshot.png
-rw------- 1 root root 7611 Nov 12 14:19 index.html
drwx------ 2 root root 4096 Nov 12 14:19 img
drwx------ 3 root root 4096 Nov 12 14:19 js

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

I don't think it could be caused by site plugins.
Can you see anything else in logs then this single line?

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

Le 12 novembre 2013 at 20:25:22, Mohit Anchlia (mohitanchlia@gmail.com) a écrit:

I just insalled a new plugin and when I start elasticsearch I get:

Am I doing something wrong?
[root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...

  • NullPointerException[null]

s

[root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/head/_site
total 40
-rw------- 1 root root 559 Nov 12 14:16 LICENCE
-rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js
-rw------- 1 root root 3843 Nov 12 14:16 README.textile
drwx------ 4 root root 4096 Nov 12 14:16 dist
-rw------- 1 root root 735 Nov 12 14:16 package.json
-rw------- 1 root root 1025 Nov 12 14:16 index.html
-rw------- 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project
drwx------ 4 root root 4096 Nov 12 14:16 src
drwx------ 3 root root 4096 Nov 12 14:16 test
[root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/paramedic/_site
total 136
-rw------- 1 root root 4021 Nov 12 14:19 README.md
-rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE
-rw------- 1 root root 897 Nov 12 14:19 Rakefile
drwx------ 2 root root 4096 Nov 12 14:19 audio
drwx------ 3 root root 4096 Nov 12 14:19 css
-rw------- 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png
-rw------- 1 root root 7611 Nov 12 14:19 index.html
drwx------ 2 root root 4096 Nov 12 14:19 img
drwx------ 3 root root 4096 Nov 12 14:19 js

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

After I move the plugin directories the problem goes away. I don't see
anything in logs even with TRACE enabled.

On Tue, Nov 12, 2013 at 1:26 PM, David Pilato david@pilato.fr wrote:

I don't think it could be caused by site plugins.
Can you see anything else in logs then this single line?

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

Le 12 novembre 2013 at 20:25:22, Mohit Anchlia (mohitanchlia@gmail.com//mohitanchlia@gmail.com)
a écrit:

I just insalled a new plugin and when I start elasticsearch I get:

Am I doing something wrong?

[root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...

  • NullPointerException[null]

s

[root@ip-10-80-140-242 ~]# ls -ltr
/usr/share/elasticsearch/plugins/head/_site
total 40
-rw------- 1 root root 559 Nov 12 14:16 LICENCE
-rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js
-rw------- 1 root root 3843 Nov 12 14:16 README.textile
drwx------ 4 root root 4096 Nov 12 14:16 dist
-rw------- 1 root root 735 Nov 12 14:16 package.json
-rw------- 1 root root 1025 Nov 12 14:16 index.html
-rw------- 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project
drwx------ 4 root root 4096 Nov 12 14:16 src
drwx------ 3 root root 4096 Nov 12 14:16 test
[root@ip-10-80-140-242 ~]# ls -ltr
/usr/share/elasticsearch/plugins/paramedic/_site
total 136
-rw------- 1 root root 4021 Nov 12 14:19 README.md
-rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE
-rw------- 1 root root 897 Nov 12 14:19 Rakefile
drwx------ 2 root root 4096 Nov 12 14:19 audio
drwx------ 3 root root 4096 Nov 12 14:19 css
-rw------- 1 root root 99068 Nov 12 14:19
elasticsearch-paramedic-screenshot.png
-rw------- 1 root root 7611 Nov 12 14:19 index.html
drwx------ 2 root root 4096 Nov 12 14:19 img
drwx------ 3 root root 4096 Nov 12 14:19 js

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Is there anything that I can try to fix this issue

On Tue, Nov 12, 2013 at 2:27 PM, Mohit Anchlia mohitanchlia@gmail.comwrote:

After I move the plugin directories the problem goes away. I don't see
anything in logs even with TRACE enabled.

On Tue, Nov 12, 2013 at 1:26 PM, David Pilato david@pilato.fr wrote:

I don't think it could be caused by site plugins.
Can you see anything else in logs then this single line?

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

Le 12 novembre 2013 at 20:25:22, Mohit Anchlia (mohitanchlia@gmail.com//mohitanchlia@gmail.com)
a écrit:

I just insalled a new plugin and when I start elasticsearch I get:

Am I doing something wrong?

[root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...

  • NullPointerException[null]

s

[root@ip-10-80-140-242 ~]# ls -ltr
/usr/share/elasticsearch/plugins/head/_site
total 40
-rw------- 1 root root 559 Nov 12 14:16 LICENCE
-rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js
-rw------- 1 root root 3843 Nov 12 14:16 README.textile
drwx------ 4 root root 4096 Nov 12 14:16 dist
-rw------- 1 root root 735 Nov 12 14:16 package.json
-rw------- 1 root root 1025 Nov 12 14:16 index.html
-rw------- 1 root root 103 Nov 12 14:16
elasticsearch-head.sublime-project
drwx------ 4 root root 4096 Nov 12 14:16 src
drwx------ 3 root root 4096 Nov 12 14:16 test
[root@ip-10-80-140-242 ~]# ls -ltr
/usr/share/elasticsearch/plugins/paramedic/_site
total 136
-rw------- 1 root root 4021 Nov 12 14:19 README.md
-rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE
-rw------- 1 root root 897 Nov 12 14:19 Rakefile
drwx------ 2 root root 4096 Nov 12 14:19 audio
drwx------ 3 root root 4096 Nov 12 14:19 css
-rw------- 1 root root 99068 Nov 12 14:19
elasticsearch-paramedic-screenshot.png
-rw------- 1 root root 7611 Nov 12 14:19 index.html
drwx------ 2 root root 4096 Nov 12 14:19 img
drwx------ 3 root root 4096 Nov 12 14:19 js

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Wondering if you have only those dirs in plugins dir.
Do you have any hidden directory?

What is your Elasticsearch version?
How did you install the plugins?

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

Le 15 nov. 2013 à 19:06, Mohit Anchlia mohitanchlia@gmail.com a écrit :

Is there anything that I can try to fix this issue

On Tue, Nov 12, 2013 at 2:27 PM, Mohit Anchlia mohitanchlia@gmail.com wrote:
After I move the plugin directories the problem goes away. I don't see anything in logs even with TRACE enabled.

On Tue, Nov 12, 2013 at 1:26 PM, David Pilato david@pilato.fr wrote:
I don't think it could be caused by site plugins.
Can you see anything else in logs then this single line?

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

Le 12 novembre 2013 at 20:25:22, Mohit Anchlia (mohitanchlia@gmail.com) a écrit:

I just insalled a new plugin and when I start elasticsearch I get:

Am I doing something wrong?
[root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...

  • NullPointerException[null]

s

[root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/head/_site
total 40
-rw------- 1 root root 559 Nov 12 14:16 LICENCE
-rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js
-rw------- 1 root root 3843 Nov 12 14:16 README.textile
drwx------ 4 root root 4096 Nov 12 14:16 dist
-rw------- 1 root root 735 Nov 12 14:16 package.json
-rw------- 1 root root 1025 Nov 12 14:16 index.html
-rw------- 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project
drwx------ 4 root root 4096 Nov 12 14:16 src
drwx------ 3 root root 4096 Nov 12 14:16 test
[root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/paramedic/_site
total 136
-rw------- 1 root root 4021 Nov 12 14:19 README.md
-rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE
-rw------- 1 root root 897 Nov 12 14:19 Rakefile
drwx------ 2 root root 4096 Nov 12 14:19 audio
drwx------ 3 root root 4096 Nov 12 14:19 css
-rw------- 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png
-rw------- 1 root root 7611 Nov 12 14:19 index.html
drwx------ 2 root root 4096 Nov 12 14:19 img
drwx------ 3 root root 4096 Nov 12 14:19 js

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

I downloaded plugin and then used -url file:///path/file.zip -install

I am using the latest .90.6

On Fri, Nov 15, 2013 at 10:57 AM, David Pilato david@pilato.fr wrote:

Wondering if you have only those dirs in plugins dir.
Do you have any hidden directory?

What is your Elasticsearch version?
How did you install the plugins?

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

Le 15 nov. 2013 à 19:06, Mohit Anchlia mohitanchlia@gmail.com a écrit :

Is there anything that I can try to fix this issue

On Tue, Nov 12, 2013 at 2:27 PM, Mohit Anchlia mohitanchlia@gmail.comwrote:

After I move the plugin directories the problem goes away. I don't see
anything in logs even with TRACE enabled.

On Tue, Nov 12, 2013 at 1:26 PM, David Pilato david@pilato.fr wrote:

I don't think it could be caused by site plugins.
Can you see anything else in logs then this single line?

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

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

Le 12 novembre 2013 at 20:25:22, Mohit Anchlia (mohitanchlia@gmail.com//mohitanchlia@gmail.com)
a écrit:

I just insalled a new plugin and when I start elasticsearch I get:

Am I doing something wrong?

[root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...

  • NullPointerException[null]

s

[root@ip-10-80-140-242 ~]# ls -ltr
/usr/share/elasticsearch/plugins/head/_site
total 40
-rw------- 1 root root 559 Nov 12 14:16 LICENCE
-rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js
-rw------- 1 root root 3843 Nov 12 14:16 README.textile
drwx------ 4 root root 4096 Nov 12 14:16 dist
-rw------- 1 root root 735 Nov 12 14:16 package.json
-rw------- 1 root root 1025 Nov 12 14:16 index.html
-rw------- 1 root root 103 Nov 12 14:16
elasticsearch-head.sublime-project
drwx------ 4 root root 4096 Nov 12 14:16 src
drwx------ 3 root root 4096 Nov 12 14:16 test
[root@ip-10-80-140-242 ~]# ls -ltr
/usr/share/elasticsearch/plugins/paramedic/_site
total 136
-rw------- 1 root root 4021 Nov 12 14:19 README.md
-rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE
-rw------- 1 root root 897 Nov 12 14:19 Rakefile
drwx------ 2 root root 4096 Nov 12 14:19 audio
drwx------ 3 root root 4096 Nov 12 14:19 css
-rw------- 1 root root 99068 Nov 12 14:19
elasticsearch-paramedic-screenshot.png
-rw------- 1 root root 7611 Nov 12 14:19 index.html
drwx------ 2 root root 4096 Nov 12 14:19 img
drwx------ 3 root root 4096 Nov 12 14:19 js

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Could you run ls -la ./plugins/

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

Le 15 nov. 2013 à 20:38, Mohit Anchlia mohitanchlia@gmail.com a écrit :

I downloaded plugin and then used -url file:///path/file.zip -install

I am using the latest .90.6

On Fri, Nov 15, 2013 at 10:57 AM, David Pilato david@pilato.fr wrote:
Wondering if you have only those dirs in plugins dir.
Do you have any hidden directory?

What is your Elasticsearch version?
How did you install the plugins?

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

Le 15 nov. 2013 à 19:06, Mohit Anchlia mohitanchlia@gmail.com a écrit :

Is there anything that I can try to fix this issue

On Tue, Nov 12, 2013 at 2:27 PM, Mohit Anchlia mohitanchlia@gmail.com wrote:
After I move the plugin directories the problem goes away. I don't see anything in logs even with TRACE enabled.

On Tue, Nov 12, 2013 at 1:26 PM, David Pilato david@pilato.fr wrote:
I don't think it could be caused by site plugins.
Can you see anything else in logs then this single line?

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

Le 12 novembre 2013 at 20:25:22, Mohit Anchlia (mohitanchlia@gmail.com) a écrit:

I just insalled a new plugin and when I start elasticsearch I get:

Am I doing something wrong?
[root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...

  • NullPointerException[null]

s

[root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/head/_site
total 40
-rw------- 1 root root 559 Nov 12 14:16 LICENCE
-rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js
-rw------- 1 root root 3843 Nov 12 14:16 README.textile
drwx------ 4 root root 4096 Nov 12 14:16 dist
-rw------- 1 root root 735 Nov 12 14:16 package.json
-rw------- 1 root root 1025 Nov 12 14:16 index.html
-rw------- 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project
drwx------ 4 root root 4096 Nov 12 14:16 src
drwx------ 3 root root 4096 Nov 12 14:16 test
[root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/paramedic/_site
total 136
-rw------- 1 root root 4021 Nov 12 14:19 README.md
-rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE
-rw------- 1 root root 897 Nov 12 14:19 Rakefile
drwx------ 2 root root 4096 Nov 12 14:19 audio
drwx------ 3 root root 4096 Nov 12 14:19 css
-rw------- 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png
-rw------- 1 root root 7611 Nov 12 14:19 index.html
drwx------ 2 root root 4096 Nov 12 14:19 img
drwx------ 3 root root 4096 Nov 12 14:19 js

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

[root@ip-10-80-140-242 ~]# ls -la plugins/
total 16
drwx------ 4 root root 4096 Nov 12 14:19 .
dr-xr-x---. 5 root root 4096 Nov 14 13:53 ..
drwxr-xr-x 3 root root 4096 Nov 12 14:16 head
drwxr-xr-x 3 root root 4096 Nov 12 14:19 paramedic
[root@ip-10-80-140-242 ~]# ls -la plugins/*
plugins/head:
total 12
drwxr-xr-x 3 root root 4096 Nov 12 14:16 .
drwx------ 4 root root 4096 Nov 12 14:19 ..
drwxr-xr-x 5 root root 4096 Nov 12 14:16 _site

plugins/paramedic:
total 12
drwxr-xr-x 3 root root 4096 Nov 12 14:19 .
drwx------ 4 root root 4096 Nov 12 14:19 ..
drwxr-xr-x 6 root root 4096 Nov 12 14:19 _site
[root@ip-10-80-140-242 ~]# ls -la plugins//
plugins/head/_site:
total 56
drwxr-xr-x 5 root root 4096 Nov 12 14:16 .
drwxr-xr-x 3 root root 4096 Nov 12 14:16 ..
drwxr-xr-x 4 root root 4096 Nov 12 14:16 dist
-rwxr-xr-x 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project
-rwxr-xr-x 1 root root 62 Nov 12 14:16 .gitignore
-rwxr-xr-x 1 root root 4440 Nov 12 14:16 Gruntfile.js
-rwxr-xr-x 1 root root 1025 Nov 12 14:16 index.html
-rwxr-xr-x 1 root root 435 Nov 12 14:16 .jshintrc
-rwxr-xr-x 1 root root 559 Nov 12 14:16 LICENCE
-rwxr-xr-x 1 root root 735 Nov 12 14:16 package.json
-rwxr-xr-x 1 root root 3843 Nov 12 14:16 README.textile
drwxr-xr-x 4 root root 4096 Nov 12 14:16 src
drwxr-xr-x 3 root root 4096 Nov 12 14:16 test

plugins/paramedic/_site:
total 148
drwxr-xr-x 6 root root 4096 Nov 12 14:19 .
drwxr-xr-x 3 root root 4096 Nov 12 14:19 ..
drwxr-xr-x 2 root root 4096 Nov 12 14:19 audio
drwxr-xr-x 3 root root 4096 Nov 12 14:19 css
-rwxr-xr-x 1 root root 99068 Nov 12 14:19
elasticsearch-paramedic-screenshot.png
-rwxr-xr-x 1 root root 15 Nov 12 14:19 .gitignore
drwxr-xr-x 2 root root 4096 Nov 12 14:19 img
-rwxr-xr-x 1 root root 7611 Nov 12 14:19 index.html
drwxr-xr-x 3 root root 4096 Nov 12 14:19 js
-rwxr-xr-x 1 root root 1053 Nov 12 14:19 MIT-LICENSE
-rwxr-xr-x 1 root root 897 Nov 12 14:19 Rakefile
-rwxr-xr-x 1 root root 4021 Nov 12 14:19 README.md
[root@ip-10-80-140-242 ~]#

On Fri, Nov 15, 2013 at 12:41 PM, David Pilato david@pilato.fr wrote:

Could you run ls -la ./plugins/

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

Le 15 nov. 2013 à 20:38, Mohit Anchlia mohitanchlia@gmail.com a écrit :

I downloaded plugin and then used -url file:///path/file.zip -install

I am using the latest .90.6

On Fri, Nov 15, 2013 at 10:57 AM, David Pilato david@pilato.fr wrote:

Wondering if you have only those dirs in plugins dir.
Do you have any hidden directory?

What is your Elasticsearch version?
How did you install the plugins?

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

Le 15 nov. 2013 à 19:06, Mohit Anchlia mohitanchlia@gmail.com a écrit :

Is there anything that I can try to fix this issue

On Tue, Nov 12, 2013 at 2:27 PM, Mohit Anchlia mohitanchlia@gmail.comwrote:

After I move the plugin directories the problem goes away. I don't see
anything in logs even with TRACE enabled.

On Tue, Nov 12, 2013 at 1:26 PM, David Pilato david@pilato.fr wrote:

I don't think it could be caused by site plugins.
Can you see anything else in logs then this single line?

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

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

Le 12 novembre 2013 at 20:25:22, Mohit Anchlia (mohitanchlia@gmail.com//mohitanchlia@gmail.com)
a écrit:

I just insalled a new plugin and when I start elasticsearch I get:

Am I doing something wrong?

[root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...

  • NullPointerException[null]

s

[root@ip-10-80-140-242 ~]# ls -ltr
/usr/share/elasticsearch/plugins/head/_site
total 40
-rw------- 1 root root 559 Nov 12 14:16 LICENCE
-rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js
-rw------- 1 root root 3843 Nov 12 14:16 README.textile
drwx------ 4 root root 4096 Nov 12 14:16 dist
-rw------- 1 root root 735 Nov 12 14:16 package.json
-rw------- 1 root root 1025 Nov 12 14:16 index.html
-rw------- 1 root root 103 Nov 12 14:16
elasticsearch-head.sublime-project
drwx------ 4 root root 4096 Nov 12 14:16 src
drwx------ 3 root root 4096 Nov 12 14:16 test
[root@ip-10-80-140-242 ~]# ls -ltr
/usr/share/elasticsearch/plugins/paramedic/_site
total 136
-rw------- 1 root root 4021 Nov 12 14:19 README.md
-rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE
-rw------- 1 root root 897 Nov 12 14:19 Rakefile
drwx------ 2 root root 4096 Nov 12 14:19 audio
drwx------ 3 root root 4096 Nov 12 14:19 css
-rw------- 1 root root 99068 Nov 12 14:19
elasticsearch-paramedic-screenshot.png
-rw------- 1 root root 7611 Nov 12 14:19 index.html
drwx------ 2 root root 4096 Nov 12 14:19 img
drwx------ 3 root root 4096 Nov 12 14:19 js

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Could you gist your full log with TRACE level?

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

Le 15 nov. 2013 à 22:12, Mohit Anchlia mohitanchlia@gmail.com a écrit :

[root@ip-10-80-140-242 ~]# ls -la plugins/
total 16
drwx------ 4 root root 4096 Nov 12 14:19 .
dr-xr-x---. 5 root root 4096 Nov 14 13:53 ..
drwxr-xr-x 3 root root 4096 Nov 12 14:16 head
drwxr-xr-x 3 root root 4096 Nov 12 14:19 paramedic
[root@ip-10-80-140-242 ~]# ls -la plugins/*
plugins/head:
total 12
drwxr-xr-x 3 root root 4096 Nov 12 14:16 .
drwx------ 4 root root 4096 Nov 12 14:19 ..
drwxr-xr-x 5 root root 4096 Nov 12 14:16 _site

plugins/paramedic:
total 12
drwxr-xr-x 3 root root 4096 Nov 12 14:19 .
drwx------ 4 root root 4096 Nov 12 14:19 ..
drwxr-xr-x 6 root root 4096 Nov 12 14:19 _site
[root@ip-10-80-140-242 ~]# ls -la plugins//
plugins/head/_site:
total 56
drwxr-xr-x 5 root root 4096 Nov 12 14:16 .
drwxr-xr-x 3 root root 4096 Nov 12 14:16 ..
drwxr-xr-x 4 root root 4096 Nov 12 14:16 dist
-rwxr-xr-x 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project
-rwxr-xr-x 1 root root 62 Nov 12 14:16 .gitignore
-rwxr-xr-x 1 root root 4440 Nov 12 14:16 Gruntfile.js
-rwxr-xr-x 1 root root 1025 Nov 12 14:16 index.html
-rwxr-xr-x 1 root root 435 Nov 12 14:16 .jshintrc
-rwxr-xr-x 1 root root 559 Nov 12 14:16 LICENCE
-rwxr-xr-x 1 root root 735 Nov 12 14:16 package.json
-rwxr-xr-x 1 root root 3843 Nov 12 14:16 README.textile
drwxr-xr-x 4 root root 4096 Nov 12 14:16 src
drwxr-xr-x 3 root root 4096 Nov 12 14:16 test

plugins/paramedic/_site:
total 148
drwxr-xr-x 6 root root 4096 Nov 12 14:19 .
drwxr-xr-x 3 root root 4096 Nov 12 14:19 ..
drwxr-xr-x 2 root root 4096 Nov 12 14:19 audio
drwxr-xr-x 3 root root 4096 Nov 12 14:19 css
-rwxr-xr-x 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png
-rwxr-xr-x 1 root root 15 Nov 12 14:19 .gitignore
drwxr-xr-x 2 root root 4096 Nov 12 14:19 img
-rwxr-xr-x 1 root root 7611 Nov 12 14:19 index.html
drwxr-xr-x 3 root root 4096 Nov 12 14:19 js
-rwxr-xr-x 1 root root 1053 Nov 12 14:19 MIT-LICENSE
-rwxr-xr-x 1 root root 897 Nov 12 14:19 Rakefile
-rwxr-xr-x 1 root root 4021 Nov 12 14:19 README.md
[root@ip-10-80-140-242 ~]#

On Fri, Nov 15, 2013 at 12:41 PM, David Pilato david@pilato.fr wrote:
Could you run ls -la ./plugins/

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

Le 15 nov. 2013 à 20:38, Mohit Anchlia mohitanchlia@gmail.com a écrit :

I downloaded plugin and then used -url file:///path/file.zip -install

I am using the latest .90.6

On Fri, Nov 15, 2013 at 10:57 AM, David Pilato david@pilato.fr wrote:
Wondering if you have only those dirs in plugins dir.
Do you have any hidden directory?

What is your Elasticsearch version?
How did you install the plugins?

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

Le 15 nov. 2013 à 19:06, Mohit Anchlia mohitanchlia@gmail.com a écrit :

Is there anything that I can try to fix this issue

On Tue, Nov 12, 2013 at 2:27 PM, Mohit Anchlia mohitanchlia@gmail.com wrote:
After I move the plugin directories the problem goes away. I don't see anything in logs even with TRACE enabled.

On Tue, Nov 12, 2013 at 1:26 PM, David Pilato david@pilato.fr wrote:
I don't think it could be caused by site plugins.
Can you see anything else in logs then this single line?

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

Le 12 novembre 2013 at 20:25:22, Mohit Anchlia (mohitanchlia@gmail.com) a écrit:

I just insalled a new plugin and when I start elasticsearch I get:

Am I doing something wrong?
[root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...

  • NullPointerException[null]

s

[root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/head/_site
total 40
-rw------- 1 root root 559 Nov 12 14:16 LICENCE
-rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js
-rw------- 1 root root 3843 Nov 12 14:16 README.textile
drwx------ 4 root root 4096 Nov 12 14:16 dist
-rw------- 1 root root 735 Nov 12 14:16 package.json
-rw------- 1 root root 1025 Nov 12 14:16 index.html
-rw------- 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project
drwx------ 4 root root 4096 Nov 12 14:16 src
drwx------ 3 root root 4096 Nov 12 14:16 test
[root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/paramedic/_site
total 136
-rw------- 1 root root 4021 Nov 12 14:19 README.md
-rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE
-rw------- 1 root root 897 Nov 12 14:19 Rakefile
drwx------ 2 root root 4096 Nov 12 14:19 audio
drwx------ 3 root root 4096 Nov 12 14:19 css
-rw------- 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png
-rw------- 1 root root 7611 Nov 12 14:19 index.html
drwx------ 2 root root 4096 Nov 12 14:19 img
drwx------ 3 root root 4096 Nov 12 14:19 js

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

By gist you mean upload the logs and commands?

On Fri, Nov 15, 2013 at 1:39 PM, David Pilato david@pilato.fr wrote:

Could you gist your full log with TRACE level?

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

Le 15 nov. 2013 à 22:12, Mohit Anchlia mohitanchlia@gmail.com a écrit :

[root@ip-10-80-140-242 ~]# ls -la plugins/
total 16
drwx------ 4 root root 4096 Nov 12 14:19 .
dr-xr-x---. 5 root root 4096 Nov 14 13:53 ..
drwxr-xr-x 3 root root 4096 Nov 12 14:16 head
drwxr-xr-x 3 root root 4096 Nov 12 14:19 paramedic
[root@ip-10-80-140-242 ~]# ls -la plugins/*
plugins/head:
total 12
drwxr-xr-x 3 root root 4096 Nov 12 14:16 .
drwx------ 4 root root 4096 Nov 12 14:19 ..
drwxr-xr-x 5 root root 4096 Nov 12 14:16 _site

plugins/paramedic:
total 12
drwxr-xr-x 3 root root 4096 Nov 12 14:19 .
drwx------ 4 root root 4096 Nov 12 14:19 ..
drwxr-xr-x 6 root root 4096 Nov 12 14:19 _site
[root@ip-10-80-140-242 ~]# ls -la plugins//
plugins/head/_site:
total 56
drwxr-xr-x 5 root root 4096 Nov 12 14:16 .
drwxr-xr-x 3 root root 4096 Nov 12 14:16 ..
drwxr-xr-x 4 root root 4096 Nov 12 14:16 dist
-rwxr-xr-x 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project
-rwxr-xr-x 1 root root 62 Nov 12 14:16 .gitignore
-rwxr-xr-x 1 root root 4440 Nov 12 14:16 Gruntfile.js
-rwxr-xr-x 1 root root 1025 Nov 12 14:16 index.html
-rwxr-xr-x 1 root root 435 Nov 12 14:16 .jshintrc
-rwxr-xr-x 1 root root 559 Nov 12 14:16 LICENCE
-rwxr-xr-x 1 root root 735 Nov 12 14:16 package.json
-rwxr-xr-x 1 root root 3843 Nov 12 14:16 README.textile
drwxr-xr-x 4 root root 4096 Nov 12 14:16 src
drwxr-xr-x 3 root root 4096 Nov 12 14:16 test

plugins/paramedic/_site:
total 148
drwxr-xr-x 6 root root 4096 Nov 12 14:19 .
drwxr-xr-x 3 root root 4096 Nov 12 14:19 ..
drwxr-xr-x 2 root root 4096 Nov 12 14:19 audio
drwxr-xr-x 3 root root 4096 Nov 12 14:19 css
-rwxr-xr-x 1 root root 99068 Nov 12 14:19
elasticsearch-paramedic-screenshot.png
-rwxr-xr-x 1 root root 15 Nov 12 14:19 .gitignore
drwxr-xr-x 2 root root 4096 Nov 12 14:19 img
-rwxr-xr-x 1 root root 7611 Nov 12 14:19 index.html
drwxr-xr-x 3 root root 4096 Nov 12 14:19 js
-rwxr-xr-x 1 root root 1053 Nov 12 14:19 MIT-LICENSE
-rwxr-xr-x 1 root root 897 Nov 12 14:19 Rakefile
-rwxr-xr-x 1 root root 4021 Nov 12 14:19 README.md
[root@ip-10-80-140-242 ~]#

On Fri, Nov 15, 2013 at 12:41 PM, David Pilato david@pilato.fr wrote:

Could you run ls -la ./plugins/

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

Le 15 nov. 2013 à 20:38, Mohit Anchlia mohitanchlia@gmail.com a écrit :

I downloaded plugin and then used -url file:///path/file.zip -install

I am using the latest .90.6

On Fri, Nov 15, 2013 at 10:57 AM, David Pilato david@pilato.fr wrote:

Wondering if you have only those dirs in plugins dir.
Do you have any hidden directory?

What is your Elasticsearch version?
How did you install the plugins?

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

Le 15 nov. 2013 à 19:06, Mohit Anchlia mohitanchlia@gmail.com a
écrit :

Is there anything that I can try to fix this issue

On Tue, Nov 12, 2013 at 2:27 PM, Mohit Anchlia mohitanchlia@gmail.comwrote:

After I move the plugin directories the problem goes away. I don't see
anything in logs even with TRACE enabled.

On Tue, Nov 12, 2013 at 1:26 PM, David Pilato david@pilato.fr wrote:

I don't think it could be caused by site plugins.
Can you see anything else in logs then this single line?

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

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

Le 12 novembre 2013 at 20:25:22, Mohit Anchlia (mohitanchlia@gmail.com//mohitanchlia@gmail.com)
a écrit:

I just insalled a new plugin and when I start elasticsearch I get:

Am I doing something wrong?

[root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...

  • NullPointerException[null]

s

[root@ip-10-80-140-242 ~]# ls -ltr
/usr/share/elasticsearch/plugins/head/_site
total 40
-rw------- 1 root root 559 Nov 12 14:16 LICENCE
-rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js
-rw------- 1 root root 3843 Nov 12 14:16 README.textile
drwx------ 4 root root 4096 Nov 12 14:16 dist
-rw------- 1 root root 735 Nov 12 14:16 package.json
-rw------- 1 root root 1025 Nov 12 14:16 index.html
-rw------- 1 root root 103 Nov 12 14:16
elasticsearch-head.sublime-project
drwx------ 4 root root 4096 Nov 12 14:16 src
drwx------ 3 root root 4096 Nov 12 14:16 test
[root@ip-10-80-140-242 ~]# ls -ltr
/usr/share/elasticsearch/plugins/paramedic/_site
total 136
-rw------- 1 root root 4021 Nov 12 14:19 README.md
-rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE
-rw------- 1 root root 897 Nov 12 14:19 Rakefile
drwx------ 2 root root 4096 Nov 12 14:19 audio
drwx------ 3 root root 4096 Nov 12 14:19 css
-rw------- 1 root root 99068 Nov 12 14:19
elasticsearch-paramedic-screenshot.png
-rw------- 1 root root 7611 Nov 12 14:19 index.html
drwx------ 2 root root 4096 Nov 12 14:19 img
drwx------ 3 root root 4096 Nov 12 14:19 js

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

I meant post that on gist.github.com

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

Le 15 nov. 2013 à 22:56, Mohit Anchlia mohitanchlia@gmail.com a écrit :

By gist you mean upload the logs and commands?

On Fri, Nov 15, 2013 at 1:39 PM, David Pilato david@pilato.fr wrote:
Could you gist your full log with TRACE level?

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

Le 15 nov. 2013 à 22:12, Mohit Anchlia mohitanchlia@gmail.com a écrit :

[root@ip-10-80-140-242 ~]# ls -la plugins/
total 16
drwx------ 4 root root 4096 Nov 12 14:19 .
dr-xr-x---. 5 root root 4096 Nov 14 13:53 ..
drwxr-xr-x 3 root root 4096 Nov 12 14:16 head
drwxr-xr-x 3 root root 4096 Nov 12 14:19 paramedic
[root@ip-10-80-140-242 ~]# ls -la plugins/*
plugins/head:
total 12
drwxr-xr-x 3 root root 4096 Nov 12 14:16 .
drwx------ 4 root root 4096 Nov 12 14:19 ..
drwxr-xr-x 5 root root 4096 Nov 12 14:16 _site

plugins/paramedic:
total 12
drwxr-xr-x 3 root root 4096 Nov 12 14:19 .
drwx------ 4 root root 4096 Nov 12 14:19 ..
drwxr-xr-x 6 root root 4096 Nov 12 14:19 _site
[root@ip-10-80-140-242 ~]# ls -la plugins//
plugins/head/_site:
total 56
drwxr-xr-x 5 root root 4096 Nov 12 14:16 .
drwxr-xr-x 3 root root 4096 Nov 12 14:16 ..
drwxr-xr-x 4 root root 4096 Nov 12 14:16 dist
-rwxr-xr-x 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project
-rwxr-xr-x 1 root root 62 Nov 12 14:16 .gitignore
-rwxr-xr-x 1 root root 4440 Nov 12 14:16 Gruntfile.js
-rwxr-xr-x 1 root root 1025 Nov 12 14:16 index.html
-rwxr-xr-x 1 root root 435 Nov 12 14:16 .jshintrc
-rwxr-xr-x 1 root root 559 Nov 12 14:16 LICENCE
-rwxr-xr-x 1 root root 735 Nov 12 14:16 package.json
-rwxr-xr-x 1 root root 3843 Nov 12 14:16 README.textile
drwxr-xr-x 4 root root 4096 Nov 12 14:16 src
drwxr-xr-x 3 root root 4096 Nov 12 14:16 test

plugins/paramedic/_site:
total 148
drwxr-xr-x 6 root root 4096 Nov 12 14:19 .
drwxr-xr-x 3 root root 4096 Nov 12 14:19 ..
drwxr-xr-x 2 root root 4096 Nov 12 14:19 audio
drwxr-xr-x 3 root root 4096 Nov 12 14:19 css
-rwxr-xr-x 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png
-rwxr-xr-x 1 root root 15 Nov 12 14:19 .gitignore
drwxr-xr-x 2 root root 4096 Nov 12 14:19 img
-rwxr-xr-x 1 root root 7611 Nov 12 14:19 index.html
drwxr-xr-x 3 root root 4096 Nov 12 14:19 js
-rwxr-xr-x 1 root root 1053 Nov 12 14:19 MIT-LICENSE
-rwxr-xr-x 1 root root 897 Nov 12 14:19 Rakefile
-rwxr-xr-x 1 root root 4021 Nov 12 14:19 README.md
[root@ip-10-80-140-242 ~]#

On Fri, Nov 15, 2013 at 12:41 PM, David Pilato david@pilato.fr wrote:
Could you run ls -la ./plugins/

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

Le 15 nov. 2013 à 20:38, Mohit Anchlia mohitanchlia@gmail.com a écrit :

I downloaded plugin and then used -url file:///path/file.zip -install

I am using the latest .90.6

On Fri, Nov 15, 2013 at 10:57 AM, David Pilato david@pilato.fr wrote:
Wondering if you have only those dirs in plugins dir.
Do you have any hidden directory?

What is your Elasticsearch version?
How did you install the plugins?

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

Le 15 nov. 2013 à 19:06, Mohit Anchlia mohitanchlia@gmail.com a écrit :

Is there anything that I can try to fix this issue

On Tue, Nov 12, 2013 at 2:27 PM, Mohit Anchlia mohitanchlia@gmail.com wrote:
After I move the plugin directories the problem goes away. I don't see anything in logs even with TRACE enabled.

On Tue, Nov 12, 2013 at 1:26 PM, David Pilato david@pilato.fr wrote:
I don't think it could be caused by site plugins.
Can you see anything else in logs then this single line?

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

Le 12 novembre 2013 at 20:25:22, Mohit Anchlia (mohitanchlia@gmail.com) a écrit:

I just insalled a new plugin and when I start elasticsearch I get:

Am I doing something wrong?
[root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...

  • NullPointerException[null]

s

[root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/head/_site
total 40
-rw------- 1 root root 559 Nov 12 14:16 LICENCE
-rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js
-rw------- 1 root root 3843 Nov 12 14:16 README.textile
drwx------ 4 root root 4096 Nov 12 14:16 dist
-rw------- 1 root root 735 Nov 12 14:16 package.json
-rw------- 1 root root 1025 Nov 12 14:16 index.html
-rw------- 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project
drwx------ 4 root root 4096 Nov 12 14:16 src
drwx------ 3 root root 4096 Nov 12 14:16 test
[root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/paramedic/_site
total 136
-rw------- 1 root root 4021 Nov 12 14:19 README.md
-rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE
-rw------- 1 root root 897 Nov 12 14:19 Rakefile
drwx------ 2 root root 4096 Nov 12 14:19 audio
drwx------ 3 root root 4096 Nov 12 14:19 css
-rw------- 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png
-rw------- 1 root root 7611 Nov 12 14:19 index.html
drwx------ 2 root root 4096 Nov 12 14:19 img
drwx------ 3 root root 4096 Nov 12 14:19 js

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

This is the only log entry I got in es:

[2013-11-15 18:08:32,326][INFO ][node ] [10.80.140.242] version[0.90.6],
pid[22125], build[e2a24ef/2013-11-04T13:55:15Z]

[2013-11-15 18:08:32,326][INFO ][node ] [10.80.140.242] initializing ...

[2013-11-15 18:08:32,326][DEBUG][node ] [10.80.140.242] using home
[/usr/share/elasticsearch], config [/etc/elasticsearch], data [[/data/es]],
logs [/var/log/elasticsearch], work [/tmp/elasticsearch], plugins
[/usr/share/elasticsearch/plugins]

[2013-11-15 18:08:32,331][DEBUG][bootstrap ] Exception

java.lang.NullPointerException

at
org.elasticsearch.plugins.PluginsService.loadPluginsIntoClassLoader(PluginsService.java:367)

at org.elasticsearch.plugins.PluginsService.(PluginsService.java:92)

at
org.elasticsearch.node.internal.InternalNode.(InternalNode.java:135)

at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)

at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:68)

at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:201)

at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)

On Fri, Nov 15, 2013 at 2:26 PM, David Pilato david@pilato.fr wrote:

I meant post that on gist.github.com

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

Le 15 nov. 2013 à 22:56, Mohit Anchlia mohitanchlia@gmail.com a écrit :

By gist you mean upload the logs and commands?

On Fri, Nov 15, 2013 at 1:39 PM, David Pilato david@pilato.fr wrote:

Could you gist your full log with TRACE level?

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

Le 15 nov. 2013 à 22:12, Mohit Anchlia mohitanchlia@gmail.com a écrit :

[root@ip-10-80-140-242 ~]# ls -la plugins/
total 16
drwx------ 4 root root 4096 Nov 12 14:19 .
dr-xr-x---. 5 root root 4096 Nov 14 13:53 ..
drwxr-xr-x 3 root root 4096 Nov 12 14:16 head
drwxr-xr-x 3 root root 4096 Nov 12 14:19 paramedic
[root@ip-10-80-140-242 ~]# ls -la plugins/*
plugins/head:
total 12
drwxr-xr-x 3 root root 4096 Nov 12 14:16 .
drwx------ 4 root root 4096 Nov 12 14:19 ..
drwxr-xr-x 5 root root 4096 Nov 12 14:16 _site

plugins/paramedic:
total 12
drwxr-xr-x 3 root root 4096 Nov 12 14:19 .
drwx------ 4 root root 4096 Nov 12 14:19 ..
drwxr-xr-x 6 root root 4096 Nov 12 14:19 _site
[root@ip-10-80-140-242 ~]# ls -la plugins//
plugins/head/_site:
total 56
drwxr-xr-x 5 root root 4096 Nov 12 14:16 .
drwxr-xr-x 3 root root 4096 Nov 12 14:16 ..
drwxr-xr-x 4 root root 4096 Nov 12 14:16 dist
-rwxr-xr-x 1 root root 103 Nov 12 14:16
elasticsearch-head.sublime-project
-rwxr-xr-x 1 root root 62 Nov 12 14:16 .gitignore
-rwxr-xr-x 1 root root 4440 Nov 12 14:16 Gruntfile.js
-rwxr-xr-x 1 root root 1025 Nov 12 14:16 index.html
-rwxr-xr-x 1 root root 435 Nov 12 14:16 .jshintrc
-rwxr-xr-x 1 root root 559 Nov 12 14:16 LICENCE
-rwxr-xr-x 1 root root 735 Nov 12 14:16 package.json
-rwxr-xr-x 1 root root 3843 Nov 12 14:16 README.textile
drwxr-xr-x 4 root root 4096 Nov 12 14:16 src
drwxr-xr-x 3 root root 4096 Nov 12 14:16 test

plugins/paramedic/_site:
total 148
drwxr-xr-x 6 root root 4096 Nov 12 14:19 .
drwxr-xr-x 3 root root 4096 Nov 12 14:19 ..
drwxr-xr-x 2 root root 4096 Nov 12 14:19 audio
drwxr-xr-x 3 root root 4096 Nov 12 14:19 css
-rwxr-xr-x 1 root root 99068 Nov 12 14:19
elasticsearch-paramedic-screenshot.png
-rwxr-xr-x 1 root root 15 Nov 12 14:19 .gitignore
drwxr-xr-x 2 root root 4096 Nov 12 14:19 img
-rwxr-xr-x 1 root root 7611 Nov 12 14:19 index.html
drwxr-xr-x 3 root root 4096 Nov 12 14:19 js
-rwxr-xr-x 1 root root 1053 Nov 12 14:19 MIT-LICENSE
-rwxr-xr-x 1 root root 897 Nov 12 14:19 Rakefile
-rwxr-xr-x 1 root root 4021 Nov 12 14:19 README.md
[root@ip-10-80-140-242 ~]#

On Fri, Nov 15, 2013 at 12:41 PM, David Pilato david@pilato.fr wrote:

Could you run ls -la ./plugins/

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

Le 15 nov. 2013 à 20:38, Mohit Anchlia mohitanchlia@gmail.com a
écrit :

I downloaded plugin and then used -url file:///path/file.zip -install

I am using the latest .90.6

On Fri, Nov 15, 2013 at 10:57 AM, David Pilato david@pilato.fr wrote:

Wondering if you have only those dirs in plugins dir.
Do you have any hidden directory?

What is your Elasticsearch version?
How did you install the plugins?

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

Le 15 nov. 2013 à 19:06, Mohit Anchlia mohitanchlia@gmail.com a
écrit :

Is there anything that I can try to fix this issue

On Tue, Nov 12, 2013 at 2:27 PM, Mohit Anchlia mohitanchlia@gmail.comwrote:

After I move the plugin directories the problem goes away. I don't see
anything in logs even with TRACE enabled.

On Tue, Nov 12, 2013 at 1:26 PM, David Pilato david@pilato.fr wrote:

I don't think it could be caused by site plugins.
Can you see anything else in logs then this single line?

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

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

Le 12 novembre 2013 at 20:25:22, Mohit Anchlia (
mohitanchlia@gmail.com //mohitanchlia@gmail.com) a écrit:

I just insalled a new plugin and when I start elasticsearch I get:

Am I doing something wrong?

[root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...

  • NullPointerException[null]

s

[root@ip-10-80-140-242 ~]# ls -ltr
/usr/share/elasticsearch/plugins/head/_site
total 40
-rw------- 1 root root 559 Nov 12 14:16 LICENCE
-rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js
-rw------- 1 root root 3843 Nov 12 14:16 README.textile
drwx------ 4 root root 4096 Nov 12 14:16 dist
-rw------- 1 root root 735 Nov 12 14:16 package.json
-rw------- 1 root root 1025 Nov 12 14:16 index.html
-rw------- 1 root root 103 Nov 12 14:16
elasticsearch-head.sublime-project
drwx------ 4 root root 4096 Nov 12 14:16 src
drwx------ 3 root root 4096 Nov 12 14:16 test
[root@ip-10-80-140-242 ~]# ls -ltr
/usr/share/elasticsearch/plugins/paramedic/_site
total 136
-rw------- 1 root root 4021 Nov 12 14:19 README.md
-rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE
-rw------- 1 root root 897 Nov 12 14:19 Rakefile
drwx------ 2 root root 4096 Nov 12 14:19 audio
drwx------ 3 root root 4096 Nov 12 14:19 css
-rw------- 1 root root 99068 Nov 12 14:19
elasticsearch-paramedic-screenshot.png
-rw------- 1 root root 7611 Nov 12 14:19 index.html
drwx------ 2 root root 4096 Nov 12 14:19 img
drwx------ 3 root root 4096 Nov 12 14:19 js

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Ha thanks! That helps a lot.

Cause is: (extracted from File.listFile() javadoc)

An array of abstract pathnames denoting the files and directories in the directory denoted by this abstract pathname. The array will be empty if the directory is empty. Returns null if this abstract pathname does not denote a directory, or if an I/O error occurs.

Could you ls -l plugins

I think it's your directory is rwx only for root user and may be you are trying to launch elasticsearch from another Linux user or something.

That said, I'm going to fix this NPE and log a better error than this one.

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

Le 16 nov. 2013 à 00:09, Mohit Anchlia mohitanchlia@gmail.com a écrit :

This is the only log entry I got in es:

[2013-11-15 18:08:32,326][INFO ][node ] [10.80.140.242] version[0.90.6], pid[22125], build[e2a24ef/2013-11-04T13:55:15Z]

[2013-11-15 18:08:32,326][INFO ][node ] [10.80.140.242] initializing ...

[2013-11-15 18:08:32,326][DEBUG][node ] [10.80.140.242] using home [/usr/share/elasticsearch], config [/etc/elasticsearch], data [[/data/es]], logs [/var/log/elasticsearch], work [/tmp/elasticsearch], plugins [/usr/share/elasticsearch/plugins]

[2013-11-15 18:08:32,331][DEBUG][bootstrap ] Exception

java.lang.NullPointerException

at org.elasticsearch.plugins.PluginsService.loadPluginsIntoClassLoader(PluginsService.java:367)

at org.elasticsearch.plugins.PluginsService.(PluginsService.java:92)

at org.elasticsearch.node.internal.InternalNode.(InternalNode.java:135)

at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)

at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:68)

at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:201)

at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)

On Fri, Nov 15, 2013 at 2:26 PM, David Pilato david@pilato.fr wrote:
I meant post that on gist.github.com

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

Le 15 nov. 2013 à 22:56, Mohit Anchlia mohitanchlia@gmail.com a écrit :

By gist you mean upload the logs and commands?

On Fri, Nov 15, 2013 at 1:39 PM, David Pilato david@pilato.fr wrote:
Could you gist your full log with TRACE level?

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

Le 15 nov. 2013 à 22:12, Mohit Anchlia mohitanchlia@gmail.com a écrit :

[root@ip-10-80-140-242 ~]# ls -la plugins/
total 16
drwx------ 4 root root 4096 Nov 12 14:19 .
dr-xr-x---. 5 root root 4096 Nov 14 13:53 ..
drwxr-xr-x 3 root root 4096 Nov 12 14:16 head
drwxr-xr-x 3 root root 4096 Nov 12 14:19 paramedic
[root@ip-10-80-140-242 ~]# ls -la plugins/*
plugins/head:
total 12
drwxr-xr-x 3 root root 4096 Nov 12 14:16 .
drwx------ 4 root root 4096 Nov 12 14:19 ..
drwxr-xr-x 5 root root 4096 Nov 12 14:16 _site

plugins/paramedic:
total 12
drwxr-xr-x 3 root root 4096 Nov 12 14:19 .
drwx------ 4 root root 4096 Nov 12 14:19 ..
drwxr-xr-x 6 root root 4096 Nov 12 14:19 _site
[root@ip-10-80-140-242 ~]# ls -la plugins//
plugins/head/_site:
total 56
drwxr-xr-x 5 root root 4096 Nov 12 14:16 .
drwxr-xr-x 3 root root 4096 Nov 12 14:16 ..
drwxr-xr-x 4 root root 4096 Nov 12 14:16 dist
-rwxr-xr-x 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project
-rwxr-xr-x 1 root root 62 Nov 12 14:16 .gitignore
-rwxr-xr-x 1 root root 4440 Nov 12 14:16 Gruntfile.js
-rwxr-xr-x 1 root root 1025 Nov 12 14:16 index.html
-rwxr-xr-x 1 root root 435 Nov 12 14:16 .jshintrc
-rwxr-xr-x 1 root root 559 Nov 12 14:16 LICENCE
-rwxr-xr-x 1 root root 735 Nov 12 14:16 package.json
-rwxr-xr-x 1 root root 3843 Nov 12 14:16 README.textile
drwxr-xr-x 4 root root 4096 Nov 12 14:16 src
drwxr-xr-x 3 root root 4096 Nov 12 14:16 test

plugins/paramedic/_site:
total 148
drwxr-xr-x 6 root root 4096 Nov 12 14:19 .
drwxr-xr-x 3 root root 4096 Nov 12 14:19 ..
drwxr-xr-x 2 root root 4096 Nov 12 14:19 audio
drwxr-xr-x 3 root root 4096 Nov 12 14:19 css
-rwxr-xr-x 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png
-rwxr-xr-x 1 root root 15 Nov 12 14:19 .gitignore
drwxr-xr-x 2 root root 4096 Nov 12 14:19 img
-rwxr-xr-x 1 root root 7611 Nov 12 14:19 index.html
drwxr-xr-x 3 root root 4096 Nov 12 14:19 js
-rwxr-xr-x 1 root root 1053 Nov 12 14:19 MIT-LICENSE
-rwxr-xr-x 1 root root 897 Nov 12 14:19 Rakefile
-rwxr-xr-x 1 root root 4021 Nov 12 14:19 README.md
[root@ip-10-80-140-242 ~]#

On Fri, Nov 15, 2013 at 12:41 PM, David Pilato david@pilato.fr wrote:
Could you run ls -la ./plugins/

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

Le 15 nov. 2013 à 20:38, Mohit Anchlia mohitanchlia@gmail.com a écrit :

I downloaded plugin and then used -url file:///path/file.zip -install

I am using the latest .90.6

On Fri, Nov 15, 2013 at 10:57 AM, David Pilato david@pilato.fr wrote:
Wondering if you have only those dirs in plugins dir.
Do you have any hidden directory?

What is your Elasticsearch version?
How did you install the plugins?

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

Le 15 nov. 2013 à 19:06, Mohit Anchlia mohitanchlia@gmail.com a écrit :

Is there anything that I can try to fix this issue

On Tue, Nov 12, 2013 at 2:27 PM, Mohit Anchlia mohitanchlia@gmail.com wrote:
After I move the plugin directories the problem goes away. I don't see anything in logs even with TRACE enabled.

On Tue, Nov 12, 2013 at 1:26 PM, David Pilato david@pilato.fr wrote:
I don't think it could be caused by site plugins.
Can you see anything else in logs then this single line?

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

Le 12 novembre 2013 at 20:25:22, Mohit Anchlia (mohitanchlia@gmail.com) a écrit:

I just insalled a new plugin and when I start elasticsearch I get:

Am I doing something wrong?
[root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...

  • NullPointerException[null]

s

[root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/head/_site
total 40
-rw------- 1 root root 559 Nov 12 14:16 LICENCE
-rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js
-rw------- 1 root root 3843 Nov 12 14:16 README.textile
drwx------ 4 root root 4096 Nov 12 14:16 dist
-rw------- 1 root root 735 Nov 12 14:16 package.json
-rw------- 1 root root 1025 Nov 12 14:16 index.html
-rw------- 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project
drwx------ 4 root root 4096 Nov 12 14:16 src
drwx------ 3 root root 4096 Nov 12 14:16 test
[root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/paramedic/_site
total 136
-rw------- 1 root root 4021 Nov 12 14:19 README.md
-rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE
-rw------- 1 root root 897 Nov 12 14:19 Rakefile
drwx------ 2 root root 4096 Nov 12 14:19 audio
drwx------ 3 root root 4096 Nov 12 14:19 css
-rw------- 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png
-rw------- 1 root root 7611 Nov 12 14:19 index.html
drwx------ 2 root root 4096 Nov 12 14:19 img
drwx------ 3 root root 4096 Nov 12 14:19 js

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

That worked! I was using elasticsearch user

On Fri, Nov 15, 2013 at 5:36 PM, David Pilato david@pilato.fr wrote:

Ha thanks! That helps a lot.

Cause is: (extracted from File.listFile() javadoc)

An array of abstract pathnames denoting the files and directories in the
directory denoted by this abstract pathname. The array will be empty if the
directory is empty. Returns null if this abstract pathname does not
denote a directory, or if an I/O error occurs.

Could you ls -l plugins

I think it's your directory is rwx only for root user and may be you are
trying to launch elasticsearch from another Linux user or something.

That said, I'm going to fix this NPE and log a better error than this one.

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

Le 16 nov. 2013 à 00:09, Mohit Anchlia mohitanchlia@gmail.com a écrit :

This is the only log entry I got in es:

[2013-11-15 18:08:32,326][INFO ][node ] [10.80.140.242] version[0.90.6],
pid[22125], build[e2a24ef/2013-11-04T13:55:15Z]

[2013-11-15 18:08:32,326][INFO ][node ] [10.80.140.242] initializing ...

[2013-11-15 18:08:32,326][DEBUG][node ] [10.80.140.242] using home
[/usr/share/elasticsearch], config [/etc/elasticsearch], data [[/data/es]],
logs [/var/log/elasticsearch], work [/tmp/elasticsearch], plugins
[/usr/share/elasticsearch/plugins]

[2013-11-15 18:08:32,331][DEBUG][bootstrap ] Exception

java.lang.NullPointerException

at
org.elasticsearch.plugins.PluginsService.loadPluginsIntoClassLoader(PluginsService.java:367)

at org.elasticsearch.plugins.PluginsService.(PluginsService.java:92)

at
org.elasticsearch.node.internal.InternalNode.(InternalNode.java:135)

at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)

at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:68)

at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:201)

at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)

On Fri, Nov 15, 2013 at 2:26 PM, David Pilato david@pilato.fr wrote:

I meant post that on gist.github.com

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

Le 15 nov. 2013 à 22:56, Mohit Anchlia mohitanchlia@gmail.com a écrit :

By gist you mean upload the logs and commands?

On Fri, Nov 15, 2013 at 1:39 PM, David Pilato david@pilato.fr wrote:

Could you gist your full log with TRACE level?

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

Le 15 nov. 2013 à 22:12, Mohit Anchlia mohitanchlia@gmail.com a
écrit :

[root@ip-10-80-140-242 ~]# ls -la plugins/
total 16
drwx------ 4 root root 4096 Nov 12 14:19 .
dr-xr-x---. 5 root root 4096 Nov 14 13:53 ..
drwxr-xr-x 3 root root 4096 Nov 12 14:16 head
drwxr-xr-x 3 root root 4096 Nov 12 14:19 paramedic
[root@ip-10-80-140-242 ~]# ls -la plugins/*
plugins/head:
total 12
drwxr-xr-x 3 root root 4096 Nov 12 14:16 .
drwx------ 4 root root 4096 Nov 12 14:19 ..
drwxr-xr-x 5 root root 4096 Nov 12 14:16 _site

plugins/paramedic:
total 12
drwxr-xr-x 3 root root 4096 Nov 12 14:19 .
drwx------ 4 root root 4096 Nov 12 14:19 ..
drwxr-xr-x 6 root root 4096 Nov 12 14:19 _site
[root@ip-10-80-140-242 ~]# ls -la plugins//
plugins/head/_site:
total 56
drwxr-xr-x 5 root root 4096 Nov 12 14:16 .
drwxr-xr-x 3 root root 4096 Nov 12 14:16 ..
drwxr-xr-x 4 root root 4096 Nov 12 14:16 dist
-rwxr-xr-x 1 root root 103 Nov 12 14:16
elasticsearch-head.sublime-project
-rwxr-xr-x 1 root root 62 Nov 12 14:16 .gitignore
-rwxr-xr-x 1 root root 4440 Nov 12 14:16 Gruntfile.js
-rwxr-xr-x 1 root root 1025 Nov 12 14:16 index.html
-rwxr-xr-x 1 root root 435 Nov 12 14:16 .jshintrc
-rwxr-xr-x 1 root root 559 Nov 12 14:16 LICENCE
-rwxr-xr-x 1 root root 735 Nov 12 14:16 package.json
-rwxr-xr-x 1 root root 3843 Nov 12 14:16 README.textile
drwxr-xr-x 4 root root 4096 Nov 12 14:16 src
drwxr-xr-x 3 root root 4096 Nov 12 14:16 test

plugins/paramedic/_site:
total 148
drwxr-xr-x 6 root root 4096 Nov 12 14:19 .
drwxr-xr-x 3 root root 4096 Nov 12 14:19 ..
drwxr-xr-x 2 root root 4096 Nov 12 14:19 audio
drwxr-xr-x 3 root root 4096 Nov 12 14:19 css
-rwxr-xr-x 1 root root 99068 Nov 12 14:19
elasticsearch-paramedic-screenshot.png
-rwxr-xr-x 1 root root 15 Nov 12 14:19 .gitignore
drwxr-xr-x 2 root root 4096 Nov 12 14:19 img
-rwxr-xr-x 1 root root 7611 Nov 12 14:19 index.html
drwxr-xr-x 3 root root 4096 Nov 12 14:19 js
-rwxr-xr-x 1 root root 1053 Nov 12 14:19 MIT-LICENSE
-rwxr-xr-x 1 root root 897 Nov 12 14:19 Rakefile
-rwxr-xr-x 1 root root 4021 Nov 12 14:19 README.md
[root@ip-10-80-140-242 ~]#

On Fri, Nov 15, 2013 at 12:41 PM, David Pilato david@pilato.fr wrote:

Could you run ls -la ./plugins/

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

Le 15 nov. 2013 à 20:38, Mohit Anchlia mohitanchlia@gmail.com a
écrit :

I downloaded plugin and then used -url file:///path/file.zip -install

I am using the latest .90.6

On Fri, Nov 15, 2013 at 10:57 AM, David Pilato david@pilato.fr wrote:

Wondering if you have only those dirs in plugins dir.
Do you have any hidden directory?

What is your Elasticsearch version?
How did you install the plugins?

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

Le 15 nov. 2013 à 19:06, Mohit Anchlia mohitanchlia@gmail.com a
écrit :

Is there anything that I can try to fix this issue

On Tue, Nov 12, 2013 at 2:27 PM, Mohit Anchlia <mohitanchlia@gmail.com

wrote:

After I move the plugin directories the problem goes away. I don't
see anything in logs even with TRACE enabled.

On Tue, Nov 12, 2013 at 1:26 PM, David Pilato david@pilato.frwrote:

I don't think it could be caused by site plugins.
Can you see anything else in logs then this single line?

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

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

Le 12 novembre 2013 at 20:25:22, Mohit Anchlia (
mohitanchlia@gmail.com //mohitanchlia@gmail.com) a écrit:

I just insalled a new plugin and when I start elasticsearch I get:

Am I doing something wrong?

[root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...

  • NullPointerException[null]

s

[root@ip-10-80-140-242 ~]# ls -ltr
/usr/share/elasticsearch/plugins/head/_site
total 40
-rw------- 1 root root 559 Nov 12 14:16 LICENCE
-rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js
-rw------- 1 root root 3843 Nov 12 14:16 README.textile
drwx------ 4 root root 4096 Nov 12 14:16 dist
-rw------- 1 root root 735 Nov 12 14:16 package.json
-rw------- 1 root root 1025 Nov 12 14:16 index.html
-rw------- 1 root root 103 Nov 12 14:16
elasticsearch-head.sublime-project
drwx------ 4 root root 4096 Nov 12 14:16 src
drwx------ 3 root root 4096 Nov 12 14:16 test
[root@ip-10-80-140-242 ~]# ls -ltr
/usr/share/elasticsearch/plugins/paramedic/_site
total 136
-rw------- 1 root root 4021 Nov 12 14:19 README.md
-rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE
-rw------- 1 root root 897 Nov 12 14:19 Rakefile
drwx------ 2 root root 4096 Nov 12 14:19 audio
drwx------ 3 root root 4096 Nov 12 14:19 css
-rw------- 1 root root 99068 Nov 12 14:19
elasticsearch-paramedic-screenshot.png
-rw------- 1 root root 7611 Nov 12 14:19 index.html
drwx------ 2 root root 4096 Nov 12 14:19 img
drwx------ 3 root root 4096 Nov 12 14:19 js

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Related issue opened here: https://github.com/elasticsearch/elasticsearch/issues/4186

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

Le 16 novembre 2013 at 04:26:05, Mohit Anchlia (mohitanchlia@gmail.com) a écrit:

That worked! I was using elasticsearch user

On Fri, Nov 15, 2013 at 5:36 PM, David Pilato david@pilato.fr wrote:
Ha thanks! That helps a lot.

Cause is: (extracted from File.listFile() javadoc)

An array of abstract pathnames denoting the files and directories in the directory denoted by this abstract pathname. The array will be empty if the directory is empty. Returns null if this abstract pathname does not denote a directory, or if an I/O error occurs.

Could you ls -l plugins

I think it's your directory is rwx only for root user and may be you are trying to launch elasticsearch from another Linux user or something.

That said, I'm going to fix this NPE and log a better error than this one.

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

Le 16 nov. 2013 à 00:09, Mohit Anchlia mohitanchlia@gmail.com a écrit :

This is the only log entry I got in es:

[2013-11-15 18:08:32,326][INFO ][node ] [10.80.140.242] version[0.90.6], pid[22125], build[e2a24ef/2013-11-04T13:55:15Z]

[2013-11-15 18:08:32,326][INFO ][node ] [10.80.140.242] initializing ...

[2013-11-15 18:08:32,326][DEBUG][node ] [10.80.140.242] using home [/usr/share/elasticsearch], config [/etc/elasticsearch], data [[/data/es]], logs [/var/log/elasticsearch], work [/tmp/elasticsearch], plugins [/usr/share/elasticsearch/plugins]

[2013-11-15 18:08:32,331][DEBUG][bootstrap ] Exception

java.lang.NullPointerException

at org.elasticsearch.plugins.PluginsService.loadPluginsIntoClassLoader(PluginsService.java:367)

at org.elasticsearch.plugins.PluginsService.(PluginsService.java:92)

at org.elasticsearch.node.internal.InternalNode.(InternalNode.java:135)

at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)

at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:68)

at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:201)

at org.elasticsearch.bootstrap.ElasticSearch.main(ElasticSearch.java:32)

On Fri, Nov 15, 2013 at 2:26 PM, David Pilato david@pilato.fr wrote:
I meant post that on gist.github.com

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

Le 15 nov. 2013 à 22:56, Mohit Anchlia mohitanchlia@gmail.com a écrit :

By gist you mean upload the logs and commands?

On Fri, Nov 15, 2013 at 1:39 PM, David Pilato david@pilato.fr wrote:
Could you gist your full log with TRACE level?

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

Le 15 nov. 2013 à 22:12, Mohit Anchlia mohitanchlia@gmail.com a écrit :

[root@ip-10-80-140-242 ~]# ls -la plugins/
total 16
drwx------ 4 root root 4096 Nov 12 14:19 .
dr-xr-x---. 5 root root 4096 Nov 14 13:53 ..
drwxr-xr-x 3 root root 4096 Nov 12 14:16 head
drwxr-xr-x 3 root root 4096 Nov 12 14:19 paramedic
[root@ip-10-80-140-242 ~]# ls -la plugins/*
plugins/head:
total 12
drwxr-xr-x 3 root root 4096 Nov 12 14:16 .
drwx------ 4 root root 4096 Nov 12 14:19 ..
drwxr-xr-x 5 root root 4096 Nov 12 14:16 _site

plugins/paramedic:
total 12
drwxr-xr-x 3 root root 4096 Nov 12 14:19 .
drwx------ 4 root root 4096 Nov 12 14:19 ..
drwxr-xr-x 6 root root 4096 Nov 12 14:19 _site
[root@ip-10-80-140-242 ~]# ls -la plugins//
plugins/head/_site:
total 56
drwxr-xr-x 5 root root 4096 Nov 12 14:16 .
drwxr-xr-x 3 root root 4096 Nov 12 14:16 ..
drwxr-xr-x 4 root root 4096 Nov 12 14:16 dist
-rwxr-xr-x 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project
-rwxr-xr-x 1 root root 62 Nov 12 14:16 .gitignore
-rwxr-xr-x 1 root root 4440 Nov 12 14:16 Gruntfile.js
-rwxr-xr-x 1 root root 1025 Nov 12 14:16 index.html
-rwxr-xr-x 1 root root 435 Nov 12 14:16 .jshintrc
-rwxr-xr-x 1 root root 559 Nov 12 14:16 LICENCE
-rwxr-xr-x 1 root root 735 Nov 12 14:16 package.json
-rwxr-xr-x 1 root root 3843 Nov 12 14:16 README.textile
drwxr-xr-x 4 root root 4096 Nov 12 14:16 src
drwxr-xr-x 3 root root 4096 Nov 12 14:16 test

plugins/paramedic/_site:
total 148
drwxr-xr-x 6 root root 4096 Nov 12 14:19 .
drwxr-xr-x 3 root root 4096 Nov 12 14:19 ..
drwxr-xr-x 2 root root 4096 Nov 12 14:19 audio
drwxr-xr-x 3 root root 4096 Nov 12 14:19 css
-rwxr-xr-x 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png
-rwxr-xr-x 1 root root 15 Nov 12 14:19 .gitignore
drwxr-xr-x 2 root root 4096 Nov 12 14:19 img
-rwxr-xr-x 1 root root 7611 Nov 12 14:19 index.html
drwxr-xr-x 3 root root 4096 Nov 12 14:19 js
-rwxr-xr-x 1 root root 1053 Nov 12 14:19 MIT-LICENSE
-rwxr-xr-x 1 root root 897 Nov 12 14:19 Rakefile
-rwxr-xr-x 1 root root 4021 Nov 12 14:19 README.md
[root@ip-10-80-140-242 ~]#

On Fri, Nov 15, 2013 at 12:41 PM, David Pilato david@pilato.fr wrote:
Could you run ls -la ./plugins/

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

Le 15 nov. 2013 à 20:38, Mohit Anchlia mohitanchlia@gmail.com a écrit :

I downloaded plugin and then used -url file:///path/file.zip -install

I am using the latest .90.6

On Fri, Nov 15, 2013 at 10:57 AM, David Pilato david@pilato.fr wrote:
Wondering if you have only those dirs in plugins dir.
Do you have any hidden directory?

What is your Elasticsearch version?
How did you install the plugins?

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

Le 15 nov. 2013 à 19:06, Mohit Anchlia mohitanchlia@gmail.com a écrit :

Is there anything that I can try to fix this issue

On Tue, Nov 12, 2013 at 2:27 PM, Mohit Anchlia mohitanchlia@gmail.com wrote:
After I move the plugin directories the problem goes away. I don't see anything in logs even with TRACE enabled.

On Tue, Nov 12, 2013 at 1:26 PM, David Pilato david@pilato.fr wrote:
I don't think it could be caused by site plugins.
Can you see anything else in logs then this single line?

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

Le 12 novembre 2013 at 20:25:22, Mohit Anchlia (mohitanchlia@gmail.com) a écrit:

I just insalled a new plugin and when I start elasticsearch I get:

Am I doing something wrong?
[root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...

  • NullPointerException[null]

s

[root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/head/_site
total 40
-rw------- 1 root root 559 Nov 12 14:16 LICENCE
-rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js
-rw------- 1 root root 3843 Nov 12 14:16 README.textile
drwx------ 4 root root 4096 Nov 12 14:16 dist
-rw------- 1 root root 735 Nov 12 14:16 package.json
-rw------- 1 root root 1025 Nov 12 14:16 index.html
-rw------- 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project
drwx------ 4 root root 4096 Nov 12 14:16 src
drwx------ 3 root root 4096 Nov 12 14:16 test
[root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/paramedic/_site
total 136
-rw------- 1 root root 4021 Nov 12 14:19 README.md
-rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE
-rw------- 1 root root 897 Nov 12 14:19 Rakefile
drwx------ 2 root root 4096 Nov 12 14:19 audio
drwx------ 3 root root 4096 Nov 12 14:19 css
-rw------- 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png
-rw------- 1 root root 7611 Nov 12 14:19 index.html
drwx------ 2 root root 4096 Nov 12 14:19 img
drwx------ 3 root root 4096 Nov 12 14:19 js

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.
For more options, visit https://groups.google.com/groups/opt_out.

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.