I am trying to build spark from source following
Problem:
When I execute following command
./build/mvn -DskipTests clean package
to build spark from source after installing maven I get following error
I have tried uninstalling maven and tried building with maven inside C:/Spark/spark/build. That doesn't recognizes 'mvn' It simply says 'mvn' is not recognized as an internal or external command'
Please suggest what I might be doing wrong here and how can I build spark from source on Windows 11.
Thanks RA
CodePudding user response:
The error says: Please verify you invoked Maven from the correct directory.
Please run ./build/mvn -DskipTests clean package
command from C:/Spark/spark/
directory instead of C:/Spark/spark/build/
.