You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sqoop.apache.org by ja...@apache.org on 2015/04/22 04:32:35 UTC

sqoop git commit: SQOOP-2319: Sqoop2: Sqoop2-shell should take in JAVA_OPTS

Repository: sqoop
Updated Branches:
  refs/heads/sqoop2 78af5eae9 -> b9d6a0528


SQOOP-2319: Sqoop2: Sqoop2-shell should take in JAVA_OPTS

(Szehon Ho via Jarek Jarcec Cecho)


Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/b9d6a052
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/b9d6a052
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/b9d6a052

Branch: refs/heads/sqoop2
Commit: b9d6a052862e12e5cc000ec07af0e2c054cf8217
Parents: 78af5ea
Author: Jarek Jarcec Cecho <ja...@apache.org>
Authored: Tue Apr 21 19:32:01 2015 -0700
Committer: Jarek Jarcec Cecho <ja...@apache.org>
Committed: Tue Apr 21 19:32:01 2015 -0700

----------------------------------------------------------------------
 dist/src/main/bin/sqoop.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/b9d6a052/dist/src/main/bin/sqoop.sh
----------------------------------------------------------------------
diff --git a/dist/src/main/bin/sqoop.sh b/dist/src/main/bin/sqoop.sh
index d4298a2..707c3fc 100755
--- a/dist/src/main/bin/sqoop.sh
+++ b/dist/src/main/bin/sqoop.sh
@@ -114,7 +114,7 @@ case $COMMAND in
     if [ -n "${JAVA_HOME}" ] ; then
         EXEC_JAVA="${JAVA_HOME}/bin/java"
     fi
-    ${EXEC_JAVA} -classpath ${CLASSPATH} org.apache.sqoop.shell.SqoopShell $2
+    ${EXEC_JAVA} $JAVA_OPTS -classpath ${CLASSPATH} org.apache.sqoop.shell.SqoopShell $2
     ;;
 
   *)