Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2EA28200D37 for ; Thu, 26 Oct 2017 08:13:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2CFA2160BE0; Thu, 26 Oct 2017 06:13:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6D8C3160BDA for ; Thu, 26 Oct 2017 08:13:10 +0200 (CEST) Received: (qmail 21693 invoked by uid 500); 26 Oct 2017 06:13:09 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 21682 invoked by uid 99); 26 Oct 2017 06:13:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Oct 2017 06:13:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 9385CC0AFF for ; Thu, 26 Oct 2017 06:13:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 8Gj5UWsMMLCL for ; Thu, 26 Oct 2017 06:13:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 690F65FDE8 for ; Thu, 26 Oct 2017 06:13:07 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 1F59FE0D4E for ; Thu, 26 Oct 2017 06:13:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 85B4B212F9 for ; Thu, 26 Oct 2017 06:13:02 +0000 (UTC) Date: Thu, 26 Oct 2017 06:13:02 +0000 (UTC) From: "liyunzhang (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HADOOP-14984) [JDK9] Fail to run yarn application after building hadoop pkg with jdk9 in jdk9 env MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 26 Oct 2017 06:13:11 -0000 liyunzhang created HADOOP-14984: ----------------------------------- Summary: [JDK9] Fail to run yarn application after building hadoop pkg with jdk9 in jdk9 env Key: HADOOP-14984 URL: https://issues.apache.org/jira/browse/HADOOP-14984 Project: Hadoop Common Issue Type: Bug Reporter: liyunzhang After building latest code with jdk9. (patch HADOOP-12760.03.patch, HDFS-11610.001.patch). And start hdfs, yarn service(HADOOP-14978) successfully. I met exception when running TestDFSIO {code} hadoop jar $HADOOP_HOME/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-3.1.0-SNAPSHOT-tests.jar TestDFSIO -write -nrFiles 8 -fileSize 1MB -resFile ./write.1MB.8 {code} the exception {code} 67 1) Error injecting constructor, java.lang.NoClassDefFoundError: javax/activation/DataSource 68 at org.apache.hadoop.mapreduce.v2.app.webapp.JAXBContextResolver.(JAXBContextResolver.java:72) 69 at org.apache.hadoop.mapreduce.v2.app.webapp.AMWebApp.setup(AMWebApp.java:33) 70 while locating org.apache.hadoop.mapreduce.v2.app.webapp.JAXBContextResolver 71 72 1 error 73 at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1025) 74 at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051) 75 at com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory$GuiceInstantiatedComponentProvider.getInstance(GuiceComponentProviderFactory.java:345) 76 at com.sun.jersey.core.spi.component.ioc.IoCProviderFactory$ManagedSingleton.(IoCProviderFactory.java:202) 77 at com.sun.jersey.core.spi.component.ioc.IoCProviderFactory.wrap(IoCProviderFactory.java:123) 78 at com.sun.jersey.core.spi.component.ioc.IoCProviderFactory._getComponentProvider(IoCProviderFactory.java:116) 79 at com.sun.jersey.core.spi.component.ProviderFactory.getComponentProvider(ProviderFactory.java:153) 80 at com.sun.jersey.core.spi.component.ProviderServices.getComponent(ProviderServices.java:278) 81 at com.sun.jersey.core.spi.component.ProviderServices.getProviders(ProviderServices.java:151) 82 at com.sun.jersey.core.spi.factory.ContextResolverFactory.init(ContextResolverFactory.java:83) 83 at com.sun.jersey.server.impl.application.WebApplicationImpl._initiate(WebApplicationImpl.java:1332) 84 at com.sun.jersey.server.impl.application.WebApplicationImpl.access$700(WebApplicationImpl.java:180) 85 at com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:799) 86 at com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:795) 87 at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:193) 88 at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:795) 89 at com.sun.jersey.guice.spi.container.servlet.GuiceContainer.initiate(GuiceContainer.java:121) 90 at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:339) 91 at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:605) 92 at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:207) 93 at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:394) 94 at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:744) {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org