hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "liyunzhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14978) [JDK9] Resource Manager failed to start after using hadoop pkg(built with jdk9)
Date Thu, 26 Oct 2017 02:25:00 GMT

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

liyunzhang commented on HADOOP-14978:
-------------------------------------

[~ajisakaa]: After modifying the {{YARN_RESOURCEMANAGER_OPTS}} in $HADOOP_HOME/etc/hadoop/yarn-env.sh
to resolve the exception mentioned above
{code}
export YARN_RESOURCEMANAGER_OPTS="--add-modules=ALL-SYSTEM"
{code}

Successfully start ResourceManager!

> [JDK9] Resource Manager failed to start after using hadoop pkg(built with jdk9)
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-14978
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14978
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: liyunzhang
>
> Using latest code(b406d8e) and  following 2 patches
> https://issues.apache.org/jira/secure/attachment/12850964/HADOOP-12760.03.patch
> https://issues.apache.org/jira/secure/attachment/12879343/HDFS-11610.001.patch
> command: {code}mvn clean package -Pdist -DskipTests -Dmaven.javadoc.skip=True -Dtar {code}
> After building successfully with jdk9 and deploy to a cluster,NameNode and DataNode successfully
start but ResourceManager and NodeManager failed to start.
> the exception I found in the $HADOOP_HOME/logs/hadoop-root-resourcemanager-xxx.log
> {code}
> Caused by: com.google.inject.ProvisionException: Unable to provision, see the following
errors:
> 402
> 403 1) Error injecting constructor, java.lang.NoClassDefFoundError: javax/activation/DataSource
> 404   at org.apache.hadoop.yarn.server.resourcemanager.webapp.
> .<init>(JAXBContextResolver.java:41)
> 405   at org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebApp.setup(RMWebApp.java:50)
> 406   while locating org.apache.hadoop.yarn.server.resourcemanager.webapp.JAXBContextResolver
> 407
> 408 1 error
> {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


Mime
View raw message