Skip to content

elastic/elasticsearch-hdfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecated by repository-hdfs

Hadoop Plugin for Elasticsearch

The Hadoop plugin allows to use Hadoop as a shared gateway for Elasticsearch.

In order to install the plugin, simply run: bin/plugin -install elasticsearch/elasticsearch-hadoop/1.2.0.

-----------------------------------------------------------------
| Hadoop Plugin    | ElasticSearch    | Embedded Hadoop Version |
-----------------------------------------------------------------
| master           | 0.21 -> master   | 0.20.204.0              |
-----------------------------------------------------------------
| 1.2.0            | 0.19 -> 0.20     | 0.20.204.0              |
-----------------------------------------------------------------
| 1.1.0            | 0.19 -> 0.20     | 0.20.204.0              |
-----------------------------------------------------------------
| 1.0.0            | 0.18             | 0.20.204.0              |
-----------------------------------------------------------------

The hadoop plugin contains embedded version of hadoop jar files to communicate with hadoop. It can be replaced with the actual version of hadoop one is using.

Hadoop Gateway

The hadoop (HDFS) based gateway stores the cluster meta and indices data in hadoop. Here is an example config to enable it:

gateway:
    type: hdfs
    hdfs:
        uri: hdfs://myhost:8022

The hadoop gateway requires two simple settings. The gateway.hdfs.uri controls the URI to connect to the hadoop cluster, for example: hdfs://myhost:8022. The gateway.hdfs.path controls the path under which the gateway will store the data. The gateway.hdfs.concurrent_streams allow to throttle the number of streams (per node) opened against the shared gateway performing the snapshot operation. It defaults to 5.

License

This software is licensed under the Apache 2 license, quoted below.

Copyright 2009-2012 Shay Banon and ElasticSearch <http://www.elasticsearch.org>

Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.