GithubHelp home page GithubHelp logo

yiguolei / elasticsearch-gatherer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maxmetagravity/elasticsearch-gatherer

0.0 1.0 0.0 804 KB

Gatherers are scalable components for fetching and indexing data into Elasticsearch. They are designed as replacement for rivers.

License: Apache License 2.0

Java 100.00%

elasticsearch-gatherer's Introduction

Elasticsearch Gatherer Plugin

The gatherer plugin for Elasticsearch is a framework for scalable data fetching and indexing. Content adapters are implemented in gatherer zip archives which are a special kind of plugins distributable over Elasticsearch nodes. They can receive job requests and execute them in local queues. Job states are maintained in a special index.

This plugin is under development.

Milestone 1 - deploy gatherer zips to nodes

Milestone 2 - job specification and execution

Milestone 3 - porting JDBC river to JDBC gatherer

Milestone 4 - gatherer job distribution by load/queue length/node name, cron jobs

Milestone 5 - more gatherers, more content adapters

Milestone 1 is reached: basic deployment of gatherer zips works:

curl -XPOST '0:9200/_deploy?name=test&path=/tmp/elasticsearch-gatherer-0.90.9.1.zip'
{"deploy":true}

curl '0:9200/_nodes?pretty'
{
  "ok" : true,
  "cluster_name" : "elasticsearch",
  "nodes" : {
    "5gMqZ00JQ72RhnUdBnDc6g" : {
      "name" : "Thinker",
      "transport_address" : "inet[/192.168.1.113:9300]",
      "hostname" : "Jorg-Prantes-MacBook-Pro.local",
      "version" : "0.90.9",
      "gatherer.length" : "0",
      "http_address" : "inet[/192.168.1.113:9200]",
      "gatherer.modules" : "test/dummy-gatherer",
      "gatherer.load" : "2.4326171875"
    }
  }
}

Installation

Prerequisites:

Elasticsearch 0.90+
ES version Plugin Release date Command
0.90.9 0.90.9.1

./bin/plugin --install gatherer --url

Do not forget to restart the node after installing.

Project docs

The Maven project site is available at Github

Binaries

Binaries are available at Bintray

Overview

image

Credits

This program contains modified source code taken from Apache Geronimo (URIClassLoader) and Quartz Scheduler (Cron Expression parser).

License

Elasticsearch Gatherer Plugin

Copyright (C) 2014 Jörg Prante

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.

elasticsearch-gatherer's People

Contributors

jprante avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.