You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sqoop.apache.org by ar...@apache.org on 2012/03/12 19:56:12 UTC

svn commit: r1299784 - /incubator/sqoop/trunk/src/docs/user/troubleshooting.txt

Author: arvind
Date: Mon Mar 12 18:56:12 2012
New Revision: 1299784

URL: http://svn.apache.org/viewvc?rev=1299784&view=rev
Log:
SQOOP-461. Adding Oracle error to troubleshooting section of user guide.

(Kathleen Ting via Arvind Prabhakar)

Modified:
    incubator/sqoop/trunk/src/docs/user/troubleshooting.txt

Modified: incubator/sqoop/trunk/src/docs/user/troubleshooting.txt
URL: http://svn.apache.org/viewvc/incubator/sqoop/trunk/src/docs/user/troubleshooting.txt?rev=1299784&r1=1299783&r2=1299784&view=diff
==============================================================================
--- incubator/sqoop/trunk/src/docs/user/troubleshooting.txt (original)
+++ incubator/sqoop/trunk/src/docs/user/troubleshooting.txt Mon Mar 12 18:56:12 2012
@@ -211,3 +211,23 @@ DBA to grant the necessary privileges ba
 If the database server's IP address changes, unless it is bound to
 a static hostname in your server, the connect string passed into Sqoop
 will also need to be changed.
+
+Oracle: ORA-00933 error (SQL command not properly ended)
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Problem: While working with Oracle you may encounter the below problem
+when the Sqoop command explicitly specifies the --driver
+<driver name> option. When the driver option is included in
+the Sqoop command, the built-in connection manager selection defaults to the
+generic connection manager, which causes this issue with Oracle. If the
+driver option is not specified, the built-in connection manager selection
+mechanism selects the Oracle specific connection manager which generates
+valid SQL for Oracle and uses the driver "oracle.jdbc.OracleDriver".
+
+----
+ERROR manager.SqlManager: Error executing statement:
+java.sql.SQLSyntaxErrorException: ORA-00933: SQL command not properly ended
+----
+
+Solution: Omit the option --driver oracle.jdbc.driver.OracleDriver and then
+re-run the Sqoop command.