[ 
https://issues.apache.org/jira/browse/TEZ-2887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish Singh updated TEZ-2887:
------------------------------
    Description: Missing *hadoop-yarn-common* dependency in tez-common and 
*hadoop-hdfs* in tez-tests resulted in compilation error.  (was: {code}
 [exec] [INFO] -------------------------------------------------------------
     [exec] [ERROR] COMPILATION ERROR : 
     [exec] [INFO] -------------------------------------------------------------
     [exec] [ERROR] 
/D:/w/champlain/project/tez-monarch/tez-common/src/main/java/org/apache/tez/util/TezMxBeanResourceCalculator.java:[21,35]
 
D:\w\champlain\project\tez-monarch\tez-common\src\main\java\org\apache\tez\util\TezMxBeanResourceCalculator.java:21:
 cannot find symbol
     [exec] symbol  : class ResourceCalculatorProcessTree
     [exec] location: package org.apache.hadoop.yarn.util
     [exec] [ERROR] 
/D:/w/champlain/project/tez-monarch/tez-common/src/main/java/org/apache/tez/util/TezMxBeanResourceCalculator.java:[30,50]
 
D:\w\champlain\project\tez-monarch\tez-common\src\main\java\org\apache\tez\util\TezMxBeanResourceCalculator.java:30:
 cannot find symbol
     [exec] symbol: class ResourceCalculatorProcessTree
     [exec] [ERROR] 
/D:/w/champlain/project/tez-monarch/tez-common/src/main/java/org/apache/tez/util/TezMxBeanResourceCalculator.java:[49,3]
 
D:\w\champlain\project\tez-monarch\tez-common\src\main\java\org\apache\tez\util\TezMxBeanResourceCalculator.java:49:
 method does not override or implement a method from a supertype
     [exec] [ERROR] 
/D:/w/champlain/project/tez-monarch/tez-common/src/main/java/org/apache/tez/util/TezMxBeanResourceCalculator.java:[53,3]
 
D:\w\champlain\project\tez-monarch\tez-common\src\main\java\org\apache\tez\util\TezMxBeanResourceCalculator.java:53:
 method does not override or implement a method from a supertype
     [exec] [ERROR] 
/D:/w/champlain/project/tez-monarch/tez-common/src/main/java/org/apache/tez/util/TezMxBeanResourceCalculator.java:[57,3]
 
D:\w\champlain\project\tez-monarch\tez-common\src\main\java\org\apache\tez\util\TezMxBeanResourceCalculator.java:57:
 method does not override or implement a method from a supertype
     [exec] [ERROR] 
/D:/w/champlain/project/tez-monarch/tez-common/src/main/java/org/apache/tez/util/TezMxBeanResourceCalculator.java:[61,3]
 
D:\w\champlain\project\tez-monarch\tez-common\src\main\java\org\apache\tez\util\TezMxBeanResourceCalculator.java:61:
 method does not override or implement a method from a supertype
     [exec] [ERROR] 
/D:/w/champlain/project/tez-monarch/tez-common/src/main/java/org/apache/tez/util/TezMxBeanResourceCalculator.java:[66,3]
 
D:\w\champlain\project\tez-monarch\tez-common\src\main\java\org\apache\tez\util\TezMxBeanResourceCalculator.java:66:
 method does not override or implement a method from a supertype
     [exec] [ERROR] 
/D:/w/champlain/project/tez-monarch/tez-common/src/main/java/org/apache/tez/util/TezMxBeanResourceCalculator.java:[71,3]
 
D:\w\champlain\project\tez-monarch\tez-common\src\main\java\org\apache\tez\util\TezMxBeanResourceCalculator.java:71:
 method does not override or implement a method from a supertype
     [exec] [INFO] 8 errors 
     [exec] [INFO] -------------------------------------------------------------
     [exec] [INFO]                                                              
           
     [exec] [INFO] 
------------------------------------------------------------------------
     [exec] [INFO] Skipping tez
     [exec] [INFO] This project has been banned from the build due to previous 
failures.
     [exec] [INFO] 
------------------------------------------------------------------------
     [exec] [INFO] 
------------------------------------------------------------------------
     [exec] [INFO] Reactor Summary:
     [exec] [INFO] 
     [exec] [INFO] tez ............................................... SUCCESS 
[3.062s]
     [exec] [INFO] tez-api ........................................... SUCCESS 
[25.043s]
     [exec] [INFO] tez-common ........................................ FAILURE 
[1.012s]
     [exec] [INFO] tez-runtime-internals ............................. SKIPPED
     [exec] [INFO] tez-runtime-library ............................... SKIPPED
     [exec] [INFO] tez-mapreduce ..................................... SKIPPED
     [exec] [INFO] tez-examples ...................................... SKIPPED
     [exec] [INFO] tez-dag ........................................... SKIPPED
     [exec] [INFO] tez-tests ......................................... SKIPPED
     [exec] [INFO] tez-ui ............................................ SKIPPED
     [exec] [INFO] tez-plugins ....................................... SKIPPED
     [exec] [INFO] tez-yarn-timeline-history ......................... SKIPPED
     [exec] [INFO] tez-dist .......................................... SKIPPED
     [exec] [INFO] Tez ............................................... SKIPPED
     [exec] [INFO] Apache Tez WinPkg ................................. SKIPPED
     [exec] [INFO] 
------------------------------------------------------------------------
     [exec] [INFO] BUILD FAILURE
     [exec] [INFO] 
------------------------------------------------------------------------
     [exec] [INFO] Total time: 32.080s
     [exec] [INFO] Finished at: Mon Oct 12 17:26:41 PDT 2015
     [exec] [INFO] Final Memory: 48M/895M
     [exec] [INFO] 
------------------------------------------------------------------------
     [exec] [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on 
project tez-common: Compilation failure: Compilation failure:
     [exec] [ERROR] 
/D:/w/champlain/project/tez-monarch/tez-common/src/main/java/org/apache/tez/util/TezMxBeanResourceCalculator.java:[21,35]
 
D:\w\champlain\project\tez-monarch\tez-common\src\main\java\org\apache\tez\util\TezMxBeanResourceCalculator.java:21:
 cannot find symbol
     [exec] [ERROR] symbol  : class ResourceCalculatorProcessTree
     [exec] [ERROR] location: package org.apache.hadoop.yarn.util
     [exec] [ERROR] 
/D:/w/champlain/project/tez-monarch/tez-common/src/main/java/org/apache/tez/util/TezMxBeanResourceCalculator.java:[30,50]
 
D:\w\champlain\project\tez-monarch\tez-common\src\main\java\org\apache\tez\util\TezMxBeanResourceCalculator.java:30:
 cannot find symbol
     [exec] [ERROR] symbol: class ResourceCalculatorProcessTree
     [exec] [ERROR] 
/D:/w/champlain/project/tez-monarch/tez-common/src/main/java/org/apache/tez/util/TezMxBeanResourceCalculator.java:[49,3]
 
D:\w\champlain\project\tez-monarch\tez-common\src\main\java\org\apache\tez\util\TezMxBeanResourceCalculator.java:49:
 method does not override or implement a method from a supertype
     [exec] [ERROR] 
/D:/w/champlain/project/tez-monarch/tez-common/src/main/java/org/apache/tez/util/TezMxBeanResourceCalculator.java:[53,3]
 
D:\w\champlain\project\tez-monarch\tez-common\src\main\java\org\apache\tez\util\TezMxBeanResourceCalculator.java:53:
 method does not override or implement a method from a supertype
     [exec] [ERROR] 
/D:/w/champlain/project/tez-monarch/tez-common/src/main/java/org/apache/tez/util/TezMxBeanResourceCalculator.java:[57,3]
 
D:\w\champlain\project\tez-monarch\tez-common\src\main\java\org\apache\tez\util\TezMxBeanResourceCalculator.java:57:
 method does not override or implement a method from a supertype
     [exec] [ERROR] 
/D:/w/champlain/project/tez-monarch/tez-common/src/main/java/org/apache/tez/util/TezMxBeanResourceCalculator.java:[61,3]
 
D:\w\champlain\project\tez-monarch\tez-common\src\main\java\org\apache\tez\util\TezMxBeanResourceCalculator.java:61:
 method does not override or implement a method from a supertype
     [exec] [ERROR] 
/D:/w/champlain/project/tez-monarch/tez-common/src/main/java/org/apache/tez/util/TezMxBeanResourceCalculator.java:[66,3]
 
D:\w\champlain\project\tez-monarch\tez-common\src\main\java\org\apache\tez\util\TezMxBeanResourceCalculator.java:66:
 method does not override or implement a method from a supertype
     [exec] [ERROR] 
/D:/w/champlain/project/tez-monarch/tez-common/src/main/java/org/apache/tez/util/TezMxBeanResourceCalculator.java:[71,3]
 
D:\w\champlain\project\tez-monarch\tez-common\src\main\java\org\apache\tez\util\TezMxBeanResourceCalculator.java:71:
 method does not override or implement a method from a supertype
     [exec] [ERROR] -> [Help 1]
     [exec] [ERROR] 
     [exec] [ERROR] To see the full stack trace of the errors, re-run Maven 
with the -e switch.
     [exec] [ERROR] Re-run Maven using the -X switch to enable full debug 
logging.
     [exec] [ERROR] 
     [exec] [ERROR] For more information about the errors and possible 
solutions, please read the following articles:
     [exec] [ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
     [exec] [ERROR] 
     [exec] [ERROR] After correcting the problems, you can resume the build 
with the command
     [exec] [ERROR]   mvn <goals> -rf :tez-common
{code}


{code}
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/test/TestSecureShuffle.java:[34,30]
 cannot find symbol
symbol  : class DFSConfigKeys
location: package org.apache.hadoop.hdfs
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/test/TestSecureShuffle.java:[36,46]
 cannot find symbol
symbol  : class EditLogFileOutputStream
location: package org.apache.hadoop.hdfs.server.namenode
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/mapreduce/TestMRRJobsDAGApi.java:[157,42]
 cannot access org.apache.hadoop.hdfs.DistributedFileSystem
class file for org.apache.hadoop.hdfs.DistributedFileSystem not found
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/mapreduce/TestMRRJobs.java:[71,42]
 incompatible types
found   : org.apache.hadoop.hdfs.DistributedFileSystem
required: org.apache.hadoop.fs.FileSystem
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/test/TestDAGRecovery2.java:[71,42]
 incompatible types
found   : org.apache.hadoop.hdfs.DistributedFileSystem
required: org.apache.hadoop.fs.FileSystem
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/test/TestAMRecovery.java:[108,42]
 incompatible types
found   : org.apache.hadoop.hdfs.DistributedFileSystem
required: org.apache.hadoop.fs.FileSystem
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/test/TestExceptionPropagation.java:[118,42]
 incompatible types
found   : org.apache.hadoop.hdfs.DistributedFileSystem
required: org.apache.hadoop.fs.FileSystem
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/test/TestSecureShuffle.java:[91,21]
 cannot find symbol
symbol  : variable DFSConfigKeys
location: class org.apache.tez.test.TestSecureShuffle
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/test/TestSecureShuffle.java:[92,5]
 cannot find symbol
symbol  : variable EditLogFileOutputStream
location: class org.apache.tez.test.TestSecureShuffle
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/test/TestSecureShuffle.java:[96,38]
 incompatible types
found   : org.apache.hadoop.hdfs.DistributedFileSystem
required: org.apache.hadoop.fs.FileSystem
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/test/TestTezJobs.java:[112,42]
 incompatible types
found   : org.apache.hadoop.hdfs.DistributedFileSystem
required: org.apache.hadoop.fs.FileSystem
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/test/TestFaultTolerance.java:[71,42]
 incompatible types
found   : org.apache.hadoop.hdfs.DistributedFileSystem
required: org.apache.hadoop.fs.FileSystem
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/test/TestDAGRecovery.java:[84,42]
 incompatible types
found   : org.apache.hadoop.hdfs.DistributedFileSystem
required: org.apache.hadoop.fs.FileSystem
[INFO] 13 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] tez ............................................... SUCCESS [1.055s]
[INFO] tez-api ........................................... SUCCESS [7.353s]
[INFO] tez-common ........................................ SUCCESS [0.868s]
[INFO] tez-runtime-internals ............................. SUCCESS [1.231s]
[INFO] tez-runtime-library ............................... SUCCESS [1.904s]
[INFO] tez-mapreduce ..................................... SUCCESS [1.612s]
[INFO] tez-examples ...................................... SUCCESS [0.585s]
[INFO] tez-dag ........................................... SUCCESS [3.878s]
[INFO] tez-tests ......................................... FAILURE [0.707s]
[INFO] tez-ui ............................................ SKIPPED
[INFO] tez-plugins ....................................... SKIPPED
[INFO] tez-yarn-timeline-history ......................... SKIPPED
[INFO] tez-dist .......................................... SKIPPED
[INFO] Tez ............................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19.833s
[INFO] Finished at: Tue Oct 13 14:11:42 PDT 2015
[INFO] Final Memory: 43M/2675M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile 
(default-testCompile) on project tez-tests: Compilation failure: Compilation 
failure:
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/test/TestSecureShuffle.java:[34,30]
 cannot find symbol
[ERROR] symbol  : class DFSConfigKeys
[ERROR] location: package org.apache.hadoop.hdfs
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/test/TestSecureShuffle.java:[36,46]
 cannot find symbol
[ERROR] symbol  : class EditLogFileOutputStream
[ERROR] location: package org.apache.hadoop.hdfs.server.namenode
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/mapreduce/TestMRRJobsDAGApi.java:[157,42]
 cannot access org.apache.hadoop.hdfs.DistributedFileSystem
[ERROR] class file for org.apache.hadoop.hdfs.DistributedFileSystem not found
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/mapreduce/TestMRRJobs.java:[71,42]
 incompatible types
[ERROR] found   : org.apache.hadoop.hdfs.DistributedFileSystem
[ERROR] required: org.apache.hadoop.fs.FileSystem
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/test/TestDAGRecovery2.java:[71,42]
 incompatible types
[ERROR] found   : org.apache.hadoop.hdfs.DistributedFileSystem
[ERROR] required: org.apache.hadoop.fs.FileSystem
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/test/TestAMRecovery.java:[108,42]
 incompatible types
[ERROR] found   : org.apache.hadoop.hdfs.DistributedFileSystem
[ERROR] required: org.apache.hadoop.fs.FileSystem
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/test/TestExceptionPropagation.java:[118,42]
 incompatible types
[ERROR] found   : org.apache.hadoop.hdfs.DistributedFileSystem
[ERROR] required: org.apache.hadoop.fs.FileSystem
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/test/TestSecureShuffle.java:[91,21]
 cannot find symbol
[ERROR] symbol  : variable DFSConfigKeys
[ERROR] location: class org.apache.tez.test.TestSecureShuffle
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/test/TestSecureShuffle.java:[92,5]
 cannot find symbol
[ERROR] symbol  : variable EditLogFileOutputStream
[ERROR] location: class org.apache.tez.test.TestSecureShuffle
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/test/TestSecureShuffle.java:[96,38]
 incompatible types
[ERROR] found   : org.apache.hadoop.hdfs.DistributedFileSystem
[ERROR] required: org.apache.hadoop.fs.FileSystem
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/test/TestTezJobs.java:[112,42]
 incompatible types
[ERROR] found   : org.apache.hadoop.hdfs.DistributedFileSystem
[ERROR] required: org.apache.hadoop.fs.FileSystem
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/test/TestFaultTolerance.java:[71,42]
 incompatible types
[ERROR] found   : org.apache.hadoop.hdfs.DistributedFileSystem
[ERROR] required: org.apache.hadoop.fs.FileSystem
[ERROR] 
/home/ashish/work/champlain/build-support/bigtop/build/tez/rpm/BUILD/tez-0.5.2.2.2.9.0/tez-tests/src/test/java/org/apache/tez/test/TestDAGRecovery.java:[84,42]
 incompatible types
[ERROR] found   : org.apache.hadoop.hdfs.DistributedFileSystem
[ERROR] required: org.apache.hadoop.fs.FileSystem
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :tez-tests
error: Bad exit status from /var/tmp/rpm-tmp.vDkZxT (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.vDkZxT (%build)
make: *** [/home/ashish/work/champlain/build-support/bigtop/build/tez//.rpm] 
Error 1

real    0m33.625s
user    0m56.275s
sys     0m4.494s
tez:
# of rpm's expected: 2
# of rpm's found: 1

real    0m52.324s
user    0m58.162s
sys     0m5.729s

{code}
)

> Tez build failure
> -----------------
>
>                 Key: TEZ-2887
>                 URL: https://issues.apache.org/jira/browse/TEZ-2887
>             Project: Apache Tez
>          Issue Type: Bug
>         Environment: Tez Build Failure.
>            Reporter: Ashish Singh
>            Assignee: Ashish Singh
>         Attachments: 0001-TEZ-2887-Tez-build-failure.patch
>
>
> Missing *hadoop-yarn-common* dependency in tez-common and *hadoop-hdfs* in 
> tez-tests resulted in compilation error.



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

Reply via email to