Plugin installation assumed to be site plugin, but contains source code, aborting installation

Well, I'm writing a new plugin (in case anyone may one day need, its a
newrelic plugin to send ES node/cluster info to
newrelic) https://github.com/viniciusccarvalho/elasticsearch-newrelic

There's nothing useful there yet. Just that we need it here at emusic.com
to monitor our ES cluster.

But, I noticed that if by any reason my plugin contains java files, I get
this error:

line 246 of PluginManager class

if (FileSystemUtils.hasExtensions(extractLocation, ".java")) {

Just wondering why the presence of java files would classify a plugin as a
site with code, not getting it. First I was trying to get a river actually.

I had to debug the code to figure out, as the real reason was the fact that
the newrelic-api jar contained java files along with classes.

Would be nice to have a better message for that, should I open a ticket for
that?

Regards

--
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.

+1

On Monday, February 11, 2013 12:24:02 PM UTC-8, Vinicius Carvalho wrote:

Well, I'm writing a new plugin (in case anyone may one day need, its a
newrelic plugin to send ES node/cluster info to newrelic)
GitHub - viniciusccarvalho/elasticsearch-newrelic: Plugin to push elasticsearch data to newrelic

There's nothing useful there yet. Just that we need it here at emusic.comto monitor our ES cluster.

But, I noticed that if by any reason my plugin contains java files, I get
this error:

line 246 of PluginManager class

if (FileSystemUtils.hasExtensions(extractLocation, ".java")) {

Just wondering why the presence of java files would classify a plugin as a
site with code, not getting it. First I was trying to get a river actually.

I had to debug the code to figure out, as the real reason was the fact
that the newrelic-api jar contained java files along with classes.

Would be nice to have a better message for that, should I open a ticket
for that?

Regards

--
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.