Skip to content
forked from gerritjvv/glue

BigData Workflow Engine for Hadoop, Hbase, Netezza, Pig, Hive, Redis ...

Notifications You must be signed in to change notification settings

yasarbaigh/glue

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Glue

BigData Workflow Engine for Hadoop, Hbase, Netezza, Pig, Hive ...

Introduction

For a detailed introduction see http://gerritjvv.github.com/glue

Glue is a workflow engine for bigdata supporting multiple languages such as:

  • Groovy
  • Clojure
  • Jython
  • Ruby
  • Scala

Example

;clojure

(def lines (ctx-hdfs eachLine "/myhdfsfile"))
#jython

def lineHandler(line):
    print(str(line))


ctx.hfds().eachLine("myhdfsfile", lineHandler)
//scala

for(line <- ctx("hdfs").eachLine("/myhdfsfile"))
 println(line)

//groovy dsl
name = "test"
tasks{
        process1{
                tasks = { context ->
                        println "one"
                }
                
                success = { context ->
                        println "one success"
                }
                
        }
        
        process2{
                dependencies = "process1"
                
                tasks = { context ->
                        println "two"
                }
                
                error = { context ->
                        println "two error"
                }
                
                success = { context ->
                        println "two success"
                }
        }
}

About

BigData Workflow Engine for Hadoop, Hbase, Netezza, Pig, Hive, Redis ...

http://gerritjvv.github.com/glue

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Groovy 43.4%
  • JavaScript 39.9%
  • HTML 10.6%
  • Java 3.9%
  • Shell 0.9%
  • CSS 0.9%
  • Other 0.4%