hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manoj Govindassamy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6308) Fix TestAMRMClient compilation errors
Date Wed, 08 Mar 2017 21:17:38 GMT

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

Manoj Govindassamy commented on YARN-6308:
------------------------------------------

bq. Yes, it looks like the changes in YARN-6218 conflict with this change. For example, in
that commit, the method tearDown was renamed to teardown, so in this patch we call a method
that doesn't exist anymore. Want me to make a separate patch to fix this?
[~Steven Rand] yes, please.

> Fix TestAMRMClient compilation errors
> -------------------------------------
>
>                 Key: YARN-6308
>                 URL: https://issues.apache.org/jira/browse/YARN-6308
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.0.0-alpha3
>            Reporter: Manoj Govindassamy
>
> Looks like fixes committed for HADOOP-14062 and YARN-6218 had conflicts and left TestAMRMClient
in a dangling state with compilation errors. TestAMRMClient needs a fix.
> {code}
> [ERROR] COMPILATION ERROR : 
> [ERROR] /Users/manoj/work/ups-hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestAMRMClient.java:[145,5]
non-static variable yarnCluster cannot be referenced from a static context
> [ERROR] /Users/manoj/work/ups-hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestAMRMClient.java:[145,71]
non-static variable nodeCount cannot be referenced from a static context
> [ERROR] /Users/manoj/work/ups-hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestAMRMClient.java:[146,5]
non-static variable yarnCluster cannot be referenced from a static context
> ..
> ..
> [ERROR] /Users/manoj/work/ups-hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestAMRMClient.java:[204,9]
non-static variable attemptId cannot be referenced from a static context
> [ERROR] /Users/manoj/work/ups-hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestAMRMClient.java:[207,20]
non-static variable attemptId cannot be referenced from a static context
> [ERROR] /Users/manoj/work/ups-hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestAMRMClient.java:[206,13]
non-static variable yarnCluster cannot be referenced from a static context
> [ERROR] /Users/manoj/work/ups-hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestAMRMClient.java:[874,5]
cannot find symbol
> [ERROR] symbol:   method tearDown()
> [ERROR] location: class org.apache.hadoop.yarn.client.api.impl.TestAMRMClient
> [ERROR] /Users/manoj/work/ups-hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestAMRMClient.java:[876,5]
cannot find symbol
> [ERROR] symbol:   method startApp()
> [ERROR] location: class org.apache.hadoop.yarn.client.api.impl.TestAMRMClient
> [ERROR] /Users/manoj/work/ups-hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestAMRMClient.java:[881,5]
cannot find symbol
> [ERROR] symbol:   method tearDown()
> [ERROR] location: class org.apache.hadoop.yarn.client.api.impl.TestAMRMClient
> [ERROR] /Users/manoj/work/ups-hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestAMRMClient.java:[885,5]
cannot find symbol
> [ERROR] symbol:   method startApp()
> [ERROR] location: class org.apache.hadoop.yarn.client.api.impl.TestAMRMClient
> [ERROR] -> [Help 1]
> [ERROR] 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message