Home > database >  Building Spark from source error: There is no POM in this directory
Building Spark from source error: There is no POM in this directory

Time:08-25

I am trying to build spark from source following enter image description here

Problem:

When I execute following command

./build/mvn -DskipTests clean package

to build spark from source after installing maven I get following error

enter image description here

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/.

  • Related