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

Siddharth Seth edited comment on HIVE-14964 at 10/14/16 10:09 PM:
------------------------------------------------------------------

It's moved to a different set of hosts.
I was trying out these tests rightnow - they fail locally with a NPE. If I'm 
not mistaken they're trying to find some jar which isn't available?
Actually - I see the ZIpException when running locally as well.

{code}
2016-10-14T15:07:08,989  INFO [main] beeline.TestBeelineArgParsing: Add 
/Users/sseth/.m2/repository/postgresql/postgresql/9.1-901.jdbc4/postgresql-9.1-901.jdbc4.jar
 for the driver class org.postgresql.Driver
Fail to add local jar due to the exception:java.util.zip.ZipException: error in 
opening zip file
java.util.zip.ZipException: error in opening zip file
  at java.util.zip.ZipFile.open(Native Method)
  at java.util.zip.ZipFile.<init>(ZipFile.java:219)
  at java.util.zip.ZipFile.<init>(ZipFile.java:149)
  at java.util.jar.JarFile.<init>(JarFile.java:166)
  at java.util.jar.JarFile.<init>(JarFile.java:130)
  at 
org.apache.hive.beeline.ClassNameCompleter.getClassNames(ClassNameCompleter.java:139)
  at org.apache.hive.beeline.BeeLine.scanDrivers(BeeLine.java:1918)
  at org.apache.hive.beeline.Commands.addlocaldriverjar(Commands.java:176)
  at 
org.apache.hive.beeline.TestBeelineArgParsing$TestBeeline.addLocalJar(TestBeelineArgParsing.java:91)
  at 
org.apache.hive.beeline.TestBeelineArgParsing.testAddLocalJar(TestBeelineArgParsing.java:260)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:497)
  at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
  at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  at org.junit.runners.Suite.runChild(Suite.java:127)
  at org.junit.runners.Suite.runChild(Suite.java:26)
  at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
  at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
  at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
  at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
  at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
  at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
error in opening zip file
{code}

Also for DummyDriver.jar.

Interestingly enough, the jar files exist and can be unzipped.


was (Author: sseth):
It's moved to a different set of hosts.
I was trying out these tests rightnow - they fail locally with a NPE. If I'm 
not mistaken they're trying to find some jar which isn't available?

> Failing Test: Fix TestBeelineArgParsing tests
> ---------------------------------------------
>
>                 Key: HIVE-14964
>                 URL: https://issues.apache.org/jira/browse/HIVE-14964
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Tests
>            Reporter: Jason Dere
>
> Failing last several builds:
> {noformat}
>  org.apache.hive.beeline.TestBeelineArgParsing.testAddLocalJar[0]     0.12 
> sec        12
>  
> org.apache.hive.beeline.TestBeelineArgParsing.testAddLocalJarWithoutAddDriverClazz[0]
>         29 ms   12
>  org.apache.hive.beeline.TestBeelineArgParsing.testAddLocalJar[1]     42 ms   
> 12
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to