DailyJS

DailyJS

The JavaScript blog.


Taghadoop
Featured

node modules hadoop

Node Roundup: Branding, Hadoop Hive, node-googl

Posted on .

You can send your node modules and articles in for review through our [contact form](/contact.html) or [@dailyjs](http://twitter.com/dailyjs).

New Node Branding

In Evolving the Node.js
Brand
,
Emily Tanaka-Delgado of Joyent discusses the reasoning behind the new
Node website and logo. The new logo initially attracted a mixed
response, but I'm sure it'll grow on us over time. Emily writes:

To echo Node’s evolutionary nature, we have refreshed the identity to help mark an exciting time for developers.

So perhaps it's fair to say this iteration of Node's logo is the
difficult second album?

Node Bindings for Hadoop Hive

node-hive (npm: node-hive) by Jae is a set of bindings for Hadoop Hive, a
data warehouse system for Hadoop:

var hive = require('node-hive').for({ server:"hive.myserver" });

hive.fetch("SELECT * FROM my_table", function(err, data) {
  data.each(function(record) {
    console.log(record);
  });
});

Each query runs in its own connection. There's currently no connection
pooling, but the author notes that most users run a small number of long
running hive queries so it should work well enough for most people for
now.

node-googl

node-googl (npm: goo.gl) is a small client for shortening URLs using Google's service:

goo.gl www.google.com
goo.gl http://goo.gl/fbsS
goo.gl www.google.com http://goo.gl/fbsS nba.com

It can be used as a module as well:

var googl = require('goo.gl');

// Shorten a long url and output the result
googl.shorten('http://www.google.com/', function (shortUrl) {
    console.log(shortUrl);
});