You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Siddharth Seth (JIRA)" <ji...@apache.org> on 2016/06/03 00:15:59 UTC

[jira] [Commented] (HIVE-13917) Investigate and fix tests which are timing out in the precommit build

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

Siddharth Seth commented on HIVE-13917:
---------------------------------------

Looks like the MiniCluster was not starting properly, and the failure did not cause the test to fail - likely due to the guice injector in YARN running into the issue.
From target/surefire-reports/org.apache.hive.jdbc.TestJdbcWithMiniHA-output.txt
{code}
Exception in thread "RM-0" java.lang.NoClassDefFoundError: org/apache/hadoop/yarn/api/ApplicationBaseProtocol
  at org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebApp.setup(RMWebApp.java:57)
  at org.apache.hadoop.yarn.webapp.WebApp.configureServlets(WebApp.java:159)
  at com.google.inject.servlet.ServletModule.configure(ServletModule.java:53)
  at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
  at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
  at com.google.inject.spi.Elements.getElements(Elements.java:101)
  at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:133)
  at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:103)
  at com.google.inject.Guice.createInjector(Guice.java:95)
  at com.google.inject.Guice.createInjector(Guice.java:72)
  at com.google.inject.Guice.createInjector(Guice.java:62)
  at org.apache.hadoop.yarn.webapp.WebApps$Builder.start(WebApps.java:280)
  at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.startWepApp(ResourceManager.java:987)
  at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceStart(ResourceManager.java:1087)
  at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
  at org.apache.hadoop.yarn.server.MiniYARNCluster$2.run(MiniYARNCluster.java:310)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.yarn.api.ApplicationBaseProtocol
  at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  ... 16 more
{code}


The test output file (target/surefire-reports/org.apache.hive.jdbc.TestJdbcWithMiniHA-output.txt in this case) is not copied out from the test system. I'll open another jira to try copying such files out as well.


> Investigate and fix tests which are timing out in the precommit build
> ---------------------------------------------------------------------
>
>                 Key: HIVE-13917
>                 URL: https://issues.apache.org/jira/browse/HIVE-13917
>             Project: Hive
>          Issue Type: Task
>            Reporter: Siddharth Seth
>            Priority: Critical
>
> Three tests seem to timeout consistently.
> TestJdbcWithMiniHA
> TestJdbcWithMiniMr
> TestOperationLoggingAPIWithTez



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