JiaLiangC commented on PR #315:
URL: https://github.com/apache/tez/pull/315#issuecomment-1838041394

   > It fails
   > 
   > ```
   > [INFO] Reactor Summary for tez 0.10.3-SNAPSHOT:
   > [INFO] 
   > [INFO] tez ................................................ SUCCESS [  
1.291 s]
   > [INFO] hadoop-shim ........................................ SUCCESS [  
1.528 s]
   > [INFO] tez-api ............................................ SUCCESS [  
4.666 s]
   > [INFO] tez-build-tools .................................... SUCCESS [  
0.412 s]
   > [INFO] tez-common ......................................... SUCCESS [  
1.119 s]
   > [INFO] tez-runtime-internals .............................. SUCCESS [  
1.736 s]
   > [INFO] tez-runtime-library ................................ SUCCESS [  
3.070 s]
   > [INFO] tez-mapreduce ...................................... SUCCESS [  
2.239 s]
   > [INFO] tez-examples ....................................... SUCCESS [  
1.010 s]
   > [INFO] tez-dag ............................................ SUCCESS [  
4.501 s]
   > [INFO] tez-tests .......................................... SUCCESS [  
2.003 s]
   > [INFO] tez-ext-service-tests .............................. SUCCESS [  
2.059 s]
   > [INFO] tez-ui ............................................. SUCCESS [ 
20.937 s]
   > [INFO] tez-plugins ........................................ SUCCESS [  
0.121 s]
   > [INFO] tez-protobuf-history-plugin ........................ SUCCESS [  
1.437 s]
   > [INFO] tez-yarn-timeline-history .......................... SUCCESS [  
1.858 s]
   > [INFO] tez-yarn-timeline-history-with-acls ................ SUCCESS [  
1.838 s]
   > [INFO] tez-yarn-timeline-cache-plugin ..................... SUCCESS [ 
10.969 s]
   > [INFO] tez-yarn-timeline-history-with-fs .................. SUCCESS [  
1.870 s]
   > [INFO] tez-history-parser ................................. SUCCESS [  
8.592 s]
   > [INFO] tez-aux-services ................................... SUCCESS [  
6.105 s]
   > [INFO] tez-tools .......................................... SUCCESS [  
0.121 s]
   > [INFO] tez-perf-analyzer .................................. SUCCESS [  
0.420 s]
   > [INFO] tez-job-analyzer ................................... SKIPPED
   > [INFO] tez-javadoc-tools .................................. SUCCESS [  
0.895 s]
   > [INFO] hadoop-shim-impls .................................. SUCCESS [  
0.121 s]
   > [INFO] hadoop-shim-2.8 .................................... SUCCESS [  
0.772 s]
   > [INFO] tez-dist ........................................... FAILURE [  
1.252 s]
   > [INFO] Tez ................................................ SUCCESS [  
0.367 s]
   > [INFO] 
------------------------------------------------------------------------
   > [INFO] BUILD FAILURE
   > [INFO] 
------------------------------------------------------------------------
   > [INFO] Total time:  29.025 s (Wall Clock)
   > [INFO] Finished at: 2023-12-04T13:36:45+05:30
   > [INFO] 
------------------------------------------------------------------------
   > [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-assembly-plugin:3.2.0:single (package-tez) on 
project tez-dist: Failed to create assembly: Artifact: 
org.apache.tez:tez-job-analyzer:jar:0.10.3-SNAPSHOT (included by module) does 
not have an artifact with a file. Please ensure the package phase is run before 
the assembly is generated. -> [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/MojoExecutionException
   > [ERROR] 
   > [ERROR] After correcting the problems, you can resume the build with the 
command
   > [ERROR]   mvn <args> -rf :tez-dist
   > ayushsaxena@ayushsaxena tez % 
   > ```
   
   @ayushtkn @abstractdog 
   If you compile directly in parallel, it will report the error you posted. 
This is because the job analyzer hasn't been properly compiled before packaging 
with dist. Therefore, it needs to be added to the dependencies of dist.
   
   Applying this patch should resolve the issue.
   
![image](https://github.com/apache/tez/assets/18082602/b98fd118-6bcc-4c41-8501-e23ce5936ea6)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to