sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boglarka Egyed (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-3389) Unable to build Sqoop 1.4.7 due to upstream TLS 1.2 issue
Date Fri, 05 Oct 2018 10:27:00 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-3389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16639622#comment-16639622
] 

Boglarka Egyed commented on SQOOP-3389:
---------------------------------------

Hi [~devin.bost],

Java target version in Sqoop 1.4.7 is 1.7, see these lines in the build.xml file: [https://github.com/apache/sqoop/blob/branch-1.4.7/build.xml#L118-L119,] unfortunately
the COMPILING and README text files contain misleading information about using version 1.6.
It will be bumped and corrected to 1.8 in the very next release by the way.

Could you please try to build Sqoop 1.4.7 with Java 1.7?

Thank you,
Bogi

> Unable to build Sqoop 1.4.7 due to upstream TLS 1.2 issue
> ---------------------------------------------------------
>
>                 Key: SQOOP-3389
>                 URL: https://issues.apache.org/jira/browse/SQOOP-3389
>             Project: Sqoop
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.4.7
>         Environment: Sqoop 1.4.7
> Java SDK 1.6.0_45 
> Ant 1.7.1
> Windows 10 via MinGW64
>            Reporter: Devin G. Bost
>            Priority: Blocker
>              Labels: build
>
> When building Sqoop 1.4.7 with Java SDK 1.6.0_45 and Ant 1.7.1 on Windows in MinGW64,
I obtain these build errors:
> [ivy:resolve] Server access Error: Remote host closed connection during handshake url=https://repository.cloudera.com/content/repositories/releases/org/apache/avro/avro-mapred/1.8.1/avro-mapred-1.8.1-hadoop2.pom
> [ivy:resolve] Server access Error: Remote host closed connection during handshake url=https://repository.cloudera.com/content/repositories/releases/org/apache/avro/avro-mapred/1.8.1/avro-mapred-1.8.1-hadoop2.jar
> [ivy:resolve] Server access Error: Remote host closed connection during handshake url=https://repository.cloudera.com/content/repositories/staging/org/apache/avro/avro-mapred/1.8.1/avro-mapred-1.8.1-hadoop2.pom
> [ivy:resolve] Server access Error: Remote host closed connection during handshake url=[https://repository.cloudera.com/content/repositories/staging/org/apache/avro/avro-mapred/1.8.1/avro-mapred-1.8.1-hadoop2.jar]
>  
> I experienced similar build errors on a different project, which I traced to this issue:
[https://stackoverflow.com/questions/21245796/javax-net-ssl-sslhandshakeexception-remote-host-closed-connection-during-handsh/22629008]
> The problem, however, is that because this particular build of Sqoop requires Java 1.6,
TLS v1.2 is unsupported, according to here: [https://stackoverflow.com/questions/33364100/how-to-use-tls-1-2-in-java-6]
> which is a problem because some public repositories have dropped support for TLS versions
prior to 1.2, as reported here: [https://github.com/Microsoft/vcpkg/issues/2969]
> and here: [https://blog.github.com/2018-02-23-weak-cryptographic-standards-removed/]
> If it is impossible now to pull the upstream dependencies when building via Ant due to
TLS 1.2 being unsupported in Java 1.6, then this is a critical dependency conflict. 
> If additional configuration steps are required to be able to successfully build, they
are not documented in any of the Sqoop documentation that I have found. 
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message