You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by Szabolcs Vasas <va...@gmail.com> on 2018/03/21 12:48:15 UTC

Review Request 66195: Implement JDBC and Kerberos tools for HiveServer2 support

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

Review request for Sqoop.


Bugs: SQOOP-3300
    https://issues.apache.org/jira/browse/SQOOP-3300


Repository: sqoop-trunk


Description
-------

The idea of the Sqoop HS2 support is to connect to HS2 using JDBC and execute the Hive commands on this connection. Sqoop should also support Kerberos authentication when building this JDBC connection.

The goal of this JIRA is to implement the necessary classes for building JDBC connections and authenticating with Kerberos.


Diffs
-----

  src/java/org/apache/sqoop/authentication/KerberosAuthenticator.java PRE-CREATION 
  src/java/org/apache/sqoop/db/DriverManagerJdbcConnectionFactory.java PRE-CREATION 
  src/java/org/apache/sqoop/db/JdbcConnectionFactory.java PRE-CREATION 
  src/java/org/apache/sqoop/db/decorator/JdbcConnectionFactoryDecorator.java PRE-CREATION 
  src/java/org/apache/sqoop/db/decorator/KerberizedConnectionFactoryDecorator.java PRE-CREATION 
  src/test/org/apache/sqoop/authentication/TestKerberosAuthenticator.java PRE-CREATION 
  src/test/org/apache/sqoop/db/TestDriverManagerJdbcConnectionFactory.java PRE-CREATION 
  src/test/org/apache/sqoop/db/decorator/TestKerberizedConnectionFactoryDecorator.java PRE-CREATION 
  src/test/org/apache/sqoop/hbase/HBaseTestCase.java f96b6587ff3756aa5a696df8baaaa7fc12ef0b0f 
  src/test/org/apache/sqoop/infrastructure/kerberos/MiniKdcInfrastructureRule.java a704d0b07282e54e7c19d7a6725d6d026d037073 


Diff: https://reviews.apache.org/r/66195/diff/1/


Testing
-------

Executed unit and third party tests.


Thanks,

Szabolcs Vasas


Re: Review Request 66195: Implement JDBC and Kerberos tools for HiveServer2 support

Posted by Boglarka Egyed <bo...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66195/#review199878
-----------------------------------------------------------


Ship it!




Ship It!

- Boglarka Egyed


On March 21, 2018, 12:48 p.m., Szabolcs Vasas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/66195/
> -----------------------------------------------------------
> 
> (Updated March 21, 2018, 12:48 p.m.)
> 
> 
> Review request for Sqoop.
> 
> 
> Bugs: SQOOP-3300
>     https://issues.apache.org/jira/browse/SQOOP-3300
> 
> 
> Repository: sqoop-trunk
> 
> 
> Description
> -------
> 
> The idea of the Sqoop HS2 support is to connect to HS2 using JDBC and execute the Hive commands on this connection. Sqoop should also support Kerberos authentication when building this JDBC connection.
> 
> The goal of this JIRA is to implement the necessary classes for building JDBC connections and authenticating with Kerberos.
> 
> 
> Diffs
> -----
> 
>   src/java/org/apache/sqoop/authentication/KerberosAuthenticator.java PRE-CREATION 
>   src/java/org/apache/sqoop/db/DriverManagerJdbcConnectionFactory.java PRE-CREATION 
>   src/java/org/apache/sqoop/db/JdbcConnectionFactory.java PRE-CREATION 
>   src/java/org/apache/sqoop/db/decorator/JdbcConnectionFactoryDecorator.java PRE-CREATION 
>   src/java/org/apache/sqoop/db/decorator/KerberizedConnectionFactoryDecorator.java PRE-CREATION 
>   src/test/org/apache/sqoop/authentication/TestKerberosAuthenticator.java PRE-CREATION 
>   src/test/org/apache/sqoop/db/TestDriverManagerJdbcConnectionFactory.java PRE-CREATION 
>   src/test/org/apache/sqoop/db/decorator/TestKerberizedConnectionFactoryDecorator.java PRE-CREATION 
>   src/test/org/apache/sqoop/hbase/HBaseTestCase.java f96b6587ff3756aa5a696df8baaaa7fc12ef0b0f 
>   src/test/org/apache/sqoop/infrastructure/kerberos/MiniKdcInfrastructureRule.java a704d0b07282e54e7c19d7a6725d6d026d037073 
> 
> 
> Diff: https://reviews.apache.org/r/66195/diff/1/
> 
> 
> Testing
> -------
> 
> Executed unit and third party tests.
> 
> 
> Thanks,
> 
> Szabolcs Vasas
> 
>


Re: Review Request 66195: Implement JDBC and Kerberos tools for HiveServer2 support

Posted by daniel voros <da...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66195/#review199880
-----------------------------------------------------------


Ship it!




Ship It!

- daniel voros


On March 21, 2018, 12:48 p.m., Szabolcs Vasas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/66195/
> -----------------------------------------------------------
> 
> (Updated March 21, 2018, 12:48 p.m.)
> 
> 
> Review request for Sqoop.
> 
> 
> Bugs: SQOOP-3300
>     https://issues.apache.org/jira/browse/SQOOP-3300
> 
> 
> Repository: sqoop-trunk
> 
> 
> Description
> -------
> 
> The idea of the Sqoop HS2 support is to connect to HS2 using JDBC and execute the Hive commands on this connection. Sqoop should also support Kerberos authentication when building this JDBC connection.
> 
> The goal of this JIRA is to implement the necessary classes for building JDBC connections and authenticating with Kerberos.
> 
> 
> Diffs
> -----
> 
>   src/java/org/apache/sqoop/authentication/KerberosAuthenticator.java PRE-CREATION 
>   src/java/org/apache/sqoop/db/DriverManagerJdbcConnectionFactory.java PRE-CREATION 
>   src/java/org/apache/sqoop/db/JdbcConnectionFactory.java PRE-CREATION 
>   src/java/org/apache/sqoop/db/decorator/JdbcConnectionFactoryDecorator.java PRE-CREATION 
>   src/java/org/apache/sqoop/db/decorator/KerberizedConnectionFactoryDecorator.java PRE-CREATION 
>   src/test/org/apache/sqoop/authentication/TestKerberosAuthenticator.java PRE-CREATION 
>   src/test/org/apache/sqoop/db/TestDriverManagerJdbcConnectionFactory.java PRE-CREATION 
>   src/test/org/apache/sqoop/db/decorator/TestKerberizedConnectionFactoryDecorator.java PRE-CREATION 
>   src/test/org/apache/sqoop/hbase/HBaseTestCase.java f96b6587ff3756aa5a696df8baaaa7fc12ef0b0f 
>   src/test/org/apache/sqoop/infrastructure/kerberos/MiniKdcInfrastructureRule.java a704d0b07282e54e7c19d7a6725d6d026d037073 
> 
> 
> Diff: https://reviews.apache.org/r/66195/diff/1/
> 
> 
> Testing
> -------
> 
> Executed unit and third party tests.
> 
> 
> Thanks,
> 
> Szabolcs Vasas
> 
>


Re: Review Request 66195: Implement JDBC and Kerberos tools for HiveServer2 support

Posted by Ferenc Szabo via Review Board <no...@reviews.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66195/#review199876
-----------------------------------------------------------


Ship it!




Ship It!

- Ferenc Szabo


On March 21, 2018, 12:48 p.m., Szabolcs Vasas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/66195/
> -----------------------------------------------------------
> 
> (Updated March 21, 2018, 12:48 p.m.)
> 
> 
> Review request for Sqoop.
> 
> 
> Bugs: SQOOP-3300
>     https://issues.apache.org/jira/browse/SQOOP-3300
> 
> 
> Repository: sqoop-trunk
> 
> 
> Description
> -------
> 
> The idea of the Sqoop HS2 support is to connect to HS2 using JDBC and execute the Hive commands on this connection. Sqoop should also support Kerberos authentication when building this JDBC connection.
> 
> The goal of this JIRA is to implement the necessary classes for building JDBC connections and authenticating with Kerberos.
> 
> 
> Diffs
> -----
> 
>   src/java/org/apache/sqoop/authentication/KerberosAuthenticator.java PRE-CREATION 
>   src/java/org/apache/sqoop/db/DriverManagerJdbcConnectionFactory.java PRE-CREATION 
>   src/java/org/apache/sqoop/db/JdbcConnectionFactory.java PRE-CREATION 
>   src/java/org/apache/sqoop/db/decorator/JdbcConnectionFactoryDecorator.java PRE-CREATION 
>   src/java/org/apache/sqoop/db/decorator/KerberizedConnectionFactoryDecorator.java PRE-CREATION 
>   src/test/org/apache/sqoop/authentication/TestKerberosAuthenticator.java PRE-CREATION 
>   src/test/org/apache/sqoop/db/TestDriverManagerJdbcConnectionFactory.java PRE-CREATION 
>   src/test/org/apache/sqoop/db/decorator/TestKerberizedConnectionFactoryDecorator.java PRE-CREATION 
>   src/test/org/apache/sqoop/hbase/HBaseTestCase.java f96b6587ff3756aa5a696df8baaaa7fc12ef0b0f 
>   src/test/org/apache/sqoop/infrastructure/kerberos/MiniKdcInfrastructureRule.java a704d0b07282e54e7c19d7a6725d6d026d037073 
> 
> 
> Diff: https://reviews.apache.org/r/66195/diff/1/
> 
> 
> Testing
> -------
> 
> Executed unit and third party tests.
> 
> 
> Thanks,
> 
> Szabolcs Vasas
> 
>


Re: Review Request 66195: Implement JDBC and Kerberos tools for HiveServer2 support

Posted by Fero Szabo via Review Board <no...@reviews.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66195/#review199877
-----------------------------------------------------------


Ship it!




Ship It!

- Fero Szabo


On March 21, 2018, 12:48 p.m., Szabolcs Vasas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/66195/
> -----------------------------------------------------------
> 
> (Updated March 21, 2018, 12:48 p.m.)
> 
> 
> Review request for Sqoop.
> 
> 
> Bugs: SQOOP-3300
>     https://issues.apache.org/jira/browse/SQOOP-3300
> 
> 
> Repository: sqoop-trunk
> 
> 
> Description
> -------
> 
> The idea of the Sqoop HS2 support is to connect to HS2 using JDBC and execute the Hive commands on this connection. Sqoop should also support Kerberos authentication when building this JDBC connection.
> 
> The goal of this JIRA is to implement the necessary classes for building JDBC connections and authenticating with Kerberos.
> 
> 
> Diffs
> -----
> 
>   src/java/org/apache/sqoop/authentication/KerberosAuthenticator.java PRE-CREATION 
>   src/java/org/apache/sqoop/db/DriverManagerJdbcConnectionFactory.java PRE-CREATION 
>   src/java/org/apache/sqoop/db/JdbcConnectionFactory.java PRE-CREATION 
>   src/java/org/apache/sqoop/db/decorator/JdbcConnectionFactoryDecorator.java PRE-CREATION 
>   src/java/org/apache/sqoop/db/decorator/KerberizedConnectionFactoryDecorator.java PRE-CREATION 
>   src/test/org/apache/sqoop/authentication/TestKerberosAuthenticator.java PRE-CREATION 
>   src/test/org/apache/sqoop/db/TestDriverManagerJdbcConnectionFactory.java PRE-CREATION 
>   src/test/org/apache/sqoop/db/decorator/TestKerberizedConnectionFactoryDecorator.java PRE-CREATION 
>   src/test/org/apache/sqoop/hbase/HBaseTestCase.java f96b6587ff3756aa5a696df8baaaa7fc12ef0b0f 
>   src/test/org/apache/sqoop/infrastructure/kerberos/MiniKdcInfrastructureRule.java a704d0b07282e54e7c19d7a6725d6d026d037073 
> 
> 
> Diff: https://reviews.apache.org/r/66195/diff/1/
> 
> 
> Testing
> -------
> 
> Executed unit and third party tests.
> 
> 
> Thanks,
> 
> Szabolcs Vasas
> 
>