Skip to content

Error running build.cmd in Windows 7 #693

@subt13

Description

@subt13

Downloaded the master yesterday and tried to run build.cmd in the VS2015 command prompt running JDK 8.0.600.27 64bit. After having to manually download winutils and tartools (both failed in the script with file not found) from the urls in the script, got the following error.

←[31m- Kafka offset checkpoint and replay *** FAILED ←[0m
←[31m java.io.IOException: Cannot run program "C:\Mobius\MobiusMaster\build\to
ls\winutils\bin\winutils.exe": CreateProcess error=193, %1 is not a valid Win32
application←[0m
←[31m at java.lang.ProcessBuilder.start(Unknown Source)←[0m
←[31m at org.apache.hadoop.util.Shell.runCommand(Shell.java:404)←[0m
←[31m at org.apache.hadoop.util.Shell.run(Shell.java:379)←[0m
←[31m at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:
89)←[0m
←[31m at org.apache.hadoop.util.Shell.execCommand(Shell.java:678)←[0m
←[31m at org.apache.hadoop.util.Shell.execCommand(Shell.java:661)←[0m
←[31m at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSys
em.java:639)←[0m
←[31m at org.apache.hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.
ava:468)←[0m
←[31m at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.jav
:456)←[0m
←[31m at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.jav
:424)←[0m
←[31m ...←[0m
←[31m Cause: java.io.IOException: CreateProcess error=193, %1 is not a valid W
n32 application←[0m
←[31m at java.lang.ProcessImpl.create(Native Method)←[0m
←[31m at java.lang.ProcessImpl.(Unknown Source)←[0m
←[31m at java.lang.ProcessImpl.start(Unknown Source)←[0m
←[31m at java.lang.ProcessBuilder.start(Unknown Source)←[0m
←[31m at org.apache.hadoop.util.Shell.runCommand(Shell.java:404)←[0m
←[31m at org.apache.hadoop.util.Shell.run(Shell.java:379)←[0m
←[31m at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:
89)←[0m
←[31m at org.apache.hadoop.util.Shell.execCommand(Shell.java:678)←[0m
←[31m at org.apache.hadoop.util.Shell.execCommand(Shell.java:661)←[0m
←[31m at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSys
em.java:639)←[0m
←[31m ...←[0m
←[36mRun completed in 5 seconds, 986 milliseconds.←[0m
←[36mTotal number of tests run: 38←[0m
←[36mSuites: completed 11, aborted 0←[0m
←[36mTests: succeeded 37, failed 1, canceled 0, ignored 0, pending 0←[0m
←[31m
1 TEST FAILED ***←[0m
18/06/27 09:59:02 INFO ShutdownHookManager: Shutdown hook called
18/06/27 09:59:02 INFO ShutdownHookManager: Deleting directory C:\Users\LUM5220
\AppData\Local\Temp\spark-d67b92dd-99de-4370-bbd5-f75320c2b424
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 53.707 s
[INFO] Finished at: 2018-06-27T09:59:02-06:00
[INFO] Final Memory: 52M/665M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.scalatest:scalatest-maven-plugin:1.0:test (t
st) on project spark-clr_2.11: There are test failures -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swi
ch.
[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 re
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureEx
eption
1 file(s) copied.
Build Mobius Scala components failed, stop building.

C:\Mobius\MobiusMaster\build>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions