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

Boglarka Egyed edited comment on SQOOP-3300 at 3/23/18 2:23 PM:
----------------------------------------------------------------

Unfortunately one of the newly added unit tests (TestKerberosAuthenticator)is 
failing in the Apache Jenkins while passing locally with an OutOfMemory 
exception:
{noformat}
[junit] Running org.apache.sqoop.authentication.TestKerberosAuthenticator
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 50.61 sec
[junit] Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
[junit] at java.util.Arrays.copyOf(Arrays.java:2367)
[junit] at 
java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)
[junit] at 
java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)
[junit] at 
java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415)
[junit] at java.lang.StringBuffer.append(StringBuffer.java:237)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.PlainJUnitResultFormatter.endTestSuite(PlainJUnitResultFormatter.java:141)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.fireEndTestSuite(JUnitTestRunner.java:731)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:553)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1060)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:911)
[junit] Running org.apache.sqoop.authentication.TestKerberosAuthenticator
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
{noformat}
As this is not a functional defect in Sqoop I am resolving this ticket but 
[~vasas] I would like to ask you to open another sub-task under SQOOP-3299 to 
increase the Java heap space for this test and submit a patch for it as soon as 
possible. Also, please close the related Review Request.

Thanks,
 Bogi


was (Author: boglarkaegyed):
Unfortunately one of the newly added unit tests is failing in the Apache 
Jenkins while passing locally with an OutOfMemory exception:
{noformat}
[junit] Running org.apache.sqoop.authentication.TestKerberosAuthenticator
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 50.61 sec
[junit] Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
[junit] at java.util.Arrays.copyOf(Arrays.java:2367)
[junit] at 
java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)
[junit] at 
java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)
[junit] at 
java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415)
[junit] at java.lang.StringBuffer.append(StringBuffer.java:237)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.PlainJUnitResultFormatter.endTestSuite(PlainJUnitResultFormatter.java:141)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.fireEndTestSuite(JUnitTestRunner.java:731)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:553)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1060)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:911)
[junit] Running org.apache.sqoop.authentication.TestKerberosAuthenticator
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
{noformat}
As this is not a functional defect in Sqoop I am resolving this ticket but 
[~vasas] I would like to ask you to open another sub-task under SQOOP-3299 to 
increase the Java heap space for this test and submit a patch for it as soon as 
possible. Also, please close the related Review Request.

Thanks,
 Bogi

> Implement JDBC and Kerberos tools for HiveServer2 support
> ---------------------------------------------------------
>
>                 Key: SQOOP-3300
>                 URL: https://issues.apache.org/jira/browse/SQOOP-3300
>             Project: Sqoop
>          Issue Type: Sub-task
>    Affects Versions: 1.5.0
>            Reporter: Szabolcs Vasas
>            Assignee: Szabolcs Vasas
>            Priority: Major
>             Fix For: 1.5.0
>
>         Attachments: SQOOP-3300.patch
>
>
> 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.
>  



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

Reply via email to