hadoop-yarn-dev mailing list archives

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

             Summary: 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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org


Mime
View raw message