Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Sqoop, mail # dev - Review Request 15222: Fix for SQOOP-1224


Copy link to this message
-
Review Request 15222: Fix for SQOOP-1224
Venkat Ranganathan 2013-11-05, 01:04

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15222/
-----------------------------------------------------------

Review request for Sqoop.
Bugs: SQOOP-1224
    https://issues.apache.org/jira/browse/SQOOP-1224
Repository: sqoop-trunk
Description
-------

When we use wallet based authentication (which enables secure external authentication in Oracle), the Sqoop jobs fail.   The reason for this is that in a wallet based authentication, the username, password and DB information are hidden and only a service is exposed.   So, all queries to which we pass the owner as a parameter will fail.  This patch adds the ability to substitute the logged on Oracle user if the username is not provided (as in wallet based implementations), but can also be used for other SSO mechanisms
Diffs
-----

  src/java/org/apache/sqoop/manager/OracleManager.java f6f3afa
  src/test/com/cloudera/sqoop/manager/OracleManagerTest.java 078b447

Diff: https://reviews.apache.org/r/15222/diff/
Testing
-------

Added one test to validate the query to get the current logged on user.   All tests pass.  No new checkstyle violations introduced
Thanks,

Venkat Ranganathan

+
Jarek Cecho 2013-11-05, 22:19