rbhive example
require 'rbhive' RBHive.tcli_connect('localhost', 10_000, {:hive_version => 13, :timeout => 30}) do |connection| connection.fetch('select 1=1') end