From 8da767bb6faefe26fcbad7d28b3ead8ede80a457 Mon Sep 17 00:00:00 2001
From: Todd Lipcon <todd@cloudera.com>
Date: Tue, 2 Jun 2009 20:55:17 -0700
Subject: [PATCH] Add sqoop wrapper to bin/

---
 bin/sqoop |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
 create mode 100755 bin/sqoop

diff --git a/bin/sqoop b/bin/sqoop
new file mode 100755
index 0000000..63bcd58
--- /dev/null
+++ b/bin/sqoop
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+bin=`dirname $0`
+bin=`cd ${bin} && pwd`
+
+. "$bin"/hadoop-config.sh
+SQOOP_JAR_PATH="$HADOOP_HOME/contrib/sqoop"
+
+SQOOP_JAR=`ls -1 ${SQOOP_JAR_PATH}/hadoop-*-sqoop.jar | head -n 1`
+${bin}/hadoop jar ${SQOOP_JAR} org.apache.hadoop.sqoop.Sqoop "$@"
+
-- 
1.6.0.4

