node package manager


Node.js module used as a client to send rest requests to sqoop server

A NodeJS Client for Sqoop2 REST API

Apache Sqoop (TM) is a tool designed for efficiently transferring bulk data between Apache Hadoop and structured datastores such as relational databases.

Sqoop successfully graduated from the Incubator in March of 2012 and is now a Top-Level Apache project: More information

Latest stable release is 1.4.2. Latest cut of Sqoop2 is 1.99.1.

The latest version of Sqoop which is still in development supports a rest api which makes it easier for developers to access Sqoop in any language. The node-sqoop module facilitates the Sqoop2 rest api integration.

npm install node-sqoop
 var config = {
        "url": "[HOST]",
        "port": "[PORT]",
        "webapp": "[SQOOP WEBAPP]",
        "version": "[SQOOP VERSION]"
var Sqoop = require('node-sqoop');  
var sqoop = Sqoop.createClient({ config: config });


sqoop.get(url, function(error, response){ ... });

POST, data, function(error, response){ ... });


sqoop.put(url, data, function(error, response){ ... });


sqoop.del(url, function(error, response){ ... });


sqoop.get('version', function(error, response) {


     revision: "Unknown",
     protocols: [
     date: "Fri Dec 21 12:09:07 PST 2012",
     user: "jarcec",
     url: "file:///home/jarcec/apache/repos/sqoop_1.99.1/common",
     version: "1.99.1"