0

I am following this for installing Flink

After installing all the dependencies mentioned there. Which ran perfectly well

git clone https://github.com/apache/flink
mvn clean install -DskipTests
mvn clean install -DskipTests -Dfast
sudo apt-get install build-essential
cd flink
python -m pip install -r flink-python/dev/dev-requirements.txt

I was executing this command

cd flink-python; python setup.py sdist bdist_wheel 

I am getting this error for the above command

Failed to find the file /home/user_name/flink/flink-dist/target/flink-1.12-SNAPSHOT-bin/flink-1.12-SNAPSHOT/opt/flink-python_*.jar.

I also did mvn install on top level module.

Where can I get this jar file?

(EDIT)

I was wrong I had an issue while MVN build

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project flink-table-api-java: Compilation failure

That is the reason my jars where not created.

Ajay Chinni
  • 780
  • 1
  • 6
  • 24

1 Answers1

0

If your mvn build is successful, the flink-python jar will be built.You should execute the mvn build command in the flink directory e.g. cd flink; mvn clean install -DskipTests

Xingbo Huang
  • 363
  • 1
  • 5