I tried to use a Hadoop Gateway on ES 19.9. Every time I tried to download
Hadoop Gateway it's been installing in _site configuration.
When I tried to configure Hadoop gateway with this kind of configuration in
my elasticsearch.yml:
gateway.type : hdfs
gateway.hdfs.uri : hdfs://:8020
gateway.hdfs.path : /user/elasticsearch
it result on an error like this:
jvm 1 | [2012-09-18 16:49:03,355][INFO ][node ]
[ESNodeReader] {0.19.9}[32462]: initializing ...
jvm 1 | [2012-09-18 16:49:03,403][INFO ][plugins ]
[ESNodeReader] loaded [], sites [hadoop]
jvm 1 | [2012-09-18 16:49:03,932][ERROR][bootstrap ]
{0.19.9}: Initialization Failed ...
jvm 1 | - NoClassSettingsException[Failed to load class setting
[gateway.type] with value [hdfs]]
jvm 1 | ClassNotFoundException[hdfs]
So I tried to download and build the plugin to understand how it work and
how I can fix the _site configuration. I succeed in build it with Maeven,
but itch time I test my build I obtain the same error than before:
Running test.java.org.elasticsearch.hadoop.gateway.HdfsGatewayTests
Sep 18, 2012 4:38:10 PM org.elasticsearch.node
INFO: [node1] {0.19.0}[29968]: initializing ...
Sep 18, 2012 4:38:10 PM org.elasticsearch.plugins
INFO: [node1] loaded [hadoop], sites []
Tests run: 5, Failures: 2, Errors: 0, Skipped: 3, Time elapsed: 0.783 sec
<<< FAILURE!
Results:
Failed tests:
setUpNodes(test.java.org.elasticsearch.hadoop.gateway.HdfsGatewayTests):
Failed to load class setting [gateway.type] with value [hdfs]
setUpNodes(test.java.org.elasticsearch.hadoop.gateway.HdfsGatewayTests):
Failed to load class setting [gateway.type] with value [hdfs]
Tests run: 5, Failures: 2, Errors: 0, Skipped: 3
Is there another way to build the plugin or a way to fix the Failed to load
hdfs class? I tried to reference the library instated of just hdfs but I
have the same result.
Thanks for your helps.
--