Coder Social home page Coder Social logo

hadoop-watcher's Introduction

Hadoop Watcher

Main goal

Keedio's Hadoop Watcher is a functionality for watching hdfs paths for changes. When a change occurs in the observed directory a event is fired. All listeners subscribed to the event generator will be notified.

Description

Hadoop-Watcher is intended for monitoring simple actions over the files of a hdfs directory. It just monitors the account files and modification times without worrying about which file has been affected, only if at least one it has been, reason enough to inform listeners to do something accordingly, for example. re-read directory data observed.

If you are interested in a similar solution but you need to know exactly which file has been affected by a change, visit Keedio's VFS2-Monitor

How To Use

Normally a object interested in events (listener) from a path to be watched should instance WatchablePath with:

  • String path to be watched.
  • Hadoop config.
  • Start time in seconds.
  • Periodic time in seconds.
  • Regexp for matching files.

The listener will have to register himself to the watchable object and will implement what to do, when something happens in the monitored path.

The path will be checked periodically for new files or changes in its modification times. If the path contains subpaths, changes under subdirectories will all be watched.

hadoop-watcher's People

Stargazers

 avatar Philipp Wallhäuser avatar  avatar Phani Rahul avatar randomD avatar

Watchers

Luca Rosellini avatar James Cloos avatar Oscar Fernandez avatar HelloKid avatar Dani Sancas avatar Juan Carlos Fernandez avatar Marcelo Valle avatar Rodrigo Olmo avatar Carlos Álvarez  avatar Daniel Tardón avatar Emmanuelle Raffenne avatar Jose Juan Martínez avatar Luis Lázaro avatar  avatar  avatar Jenkins - Keedio avatar  avatar  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.