I will have to look at the failure in more detail to see why the Tez UI
isn't building correctly. In the meantime, you can disable the Tez UI in
the build to see if there are other errors with building in Windows.

So modifying the command you provided above.

mvn clean package -DskipTests -Dhadoop.version=3.2.1 -Pdist -pl '!tez-ui'

Of course 'dist' isn't a maven profile in tez, but I've left it in case you
have created a custom profile. Also you may need the -Phadoop28 profile
enabled for runtime compatibility which enables some components to build
for some installation setup and also creates hadoop 2.8 shim layer for
certain apis.

On Wed, Nov 6, 2019 at 12:47 AM yugendhar fedric <[email protected]> wrote:

> i am building Tez -0.9.2 in windows 10 i am getting error in tez-ui
> tempdir
> please provide me with the solution i building in maven with command
>
> mvn clean package -DskipTests - Dhadoop.version =3.2.1 -Pdist
>
>
>
> [INFO] --- frontend-maven-plugin:1.4:bower (bower install) @ tez-ui ---
> [INFO] Running 'bower install' in D:\Tezz\tez-ui\src\main\webapp
> [INFO]
> [INFO] --- exec-maven-plugin:1.3.2:exec (ember build) @ tez-ui ---
> yarn run v0.21.3
> $ TMPDIR=tmp node/node  /node_modules/ember-cli/bin/ember build -prod
> 'TMPDIR' is not recognized as an internal or external command,
> operable program or batch file.
> error Command failed with exit code 1.
> info Visit https://yarnpkg.com/en/docs/cli/run for documentation about
> this command.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary for tez 0.9.2:
> [INFO]
> [INFO] tez ................................................ SUCCESS [
>  7.998 s]
> [INFO] hadoop-shim ........................................ SUCCESS [
>  7.433 s]
> [INFO] tez-api ............................................ SUCCESS [
> 19.401 s]
> [INFO] tez-build-tools .................................... SUCCESS [
>  0.443 s]
> [INFO] tez-common ......................................... SUCCESS [
>  3.333 s]
> [INFO] tez-runtime-internals .............................. SUCCESS [
>  3.994 s]
> [INFO] tez-runtime-library ................................ SUCCESS [
>  9.775 s]
> [INFO] tez-mapreduce ...................................... SUCCESS [
>  4.444 s]
> [INFO] tez-examples ....................................... SUCCESS [
>  1.000 s]
> [INFO] tez-dag ............................................ SUCCESS [
> 20.662 s]
> [INFO] tez-tests .......................................... SUCCESS [
>  4.262 s]
> [INFO] tez-ext-service-tests .............................. SUCCESS [
>  3.413 s]
> [INFO] tez-ui ............................................. FAILURE [
>  6.253 s]
> [INFO] tez-plugins ........................................ SKIPPED
> [INFO] tez-protobuf-history-plugin ........................ SKIPPED
> [INFO] tez-yarn-timeline-history .......................... SKIPPED
> [INFO] tez-yarn-timeline-history-with-acls ................ SKIPPED
> [INFO] tez-history-parser ................................. SKIPPED
> [INFO] tez-aux-services ................................... SKIPPED
> [INFO] tez-tools .......................................... SKIPPED
> [INFO] tez-perf-analyzer .................................. SKIPPED
> [INFO] tez-job-analyzer ................................... SKIPPED
> [INFO] tez-javadoc-tools .................................. SKIPPED
> [INFO] hadoop-shim-impls .................................. SKIPPED
> [INFO] hadoop-shim-2.7 .................................... SKIPPED
> [INFO] tez-dist ........................................... SKIPPED
> [INFO] Tez ................................................ SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time:  01:33 min
> [INFO] Finished at: 2019-11-06T11:54:41+05:30
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.3.2:exec (ember build) on project
> tez-ui: Command execution failed.: Process exited with an error: 1 (Exit
> value: 1) -> [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-ui
>

Reply via email to