Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BIGTOP-2961] Add Livy packages #527

Merged
merged 1 commit into from May 26, 2019
Merged

Conversation

akitanaka
Copy link
Contributor

Adding Apache Livy (incubating) package to BigTop. The Livy version is 0.6.0-incubating.

@evans-ye
Copy link
Contributor

evans-ye commented May 5, 2019

Tested on

From the error log it seems that packaging livy require higher version of setuptool:
setuptools_scm.version.SetuptoolsOutdatedWarning: your setuptools is too old (<12)

Would you like to fire up another patch that fix the build env requirement as well?
We handle the env stuffs in Bigtop Toolchain: https://github.com/apache/bigtop/tree/master/bigtop_toolchain

Let me know what you think :)

@oflebbe
Copy link
Contributor

oflebbe commented May 5, 2019

That might be solvable for centos7 by running

yum install python2-pip
python -m pip install --upgrade pip setuptools wheel

(if livy is using python2)

It would make sense to include this into bigtop/slave creation for bigtop 1.5.0

@evans-ye : Could you possibly try to include this two commands into the test-compile script ?

@akitanaka akitanaka force-pushed the dev/livy branch 2 times, most recently from d9360e9 to 350daf8 Compare May 6, 2019 14:57
@evans-ye
Copy link
Contributor

evans-ye commented May 6, 2019

I tried something like this:
python -m pip install --upgrade pip setuptools wheel

Is able to pass the setuptool version check, however hit another problem:

[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (python-api verify) on project livy-python-api: Command execution failed.: Cannot run program "flake8" (in directory "/bigtop/build/livy/rpm/BUILD/livy-0.6.0/python-api"): error=2, No such file or directory -> [Help 1]

Did not dig into it yet. Anyone have a clue?

@evans-ye
Copy link
Contributor

evans-ye commented May 6, 2019

@akitanaka Awesome! I saw your patch. Would you please separate the commit 350daf8 out of this PR?
You can create another JIRA and create a new PR containing 350daf8. That way we have a clean view on the commits and also I can try to build images to test out livy.

@akitanaka
Copy link
Contributor Author

Hello, I created BIGTOP-3214 and following PR to update setuptools version and install flake8. (#530) Please let me know this works on your env. Thank you.

@evans-ye evans-ye merged commit e3318ac into apache:master May 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants