Skip to content
New issue

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

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

Already on GitHub? # to your account

add Ubuntu support #18

Open
jakovm opened this issue Apr 8, 2016 · 8 comments
Open

add Ubuntu support #18

jakovm opened this issue Apr 8, 2016 · 8 comments

Comments

@jakovm
Copy link

jakovm commented Apr 8, 2016

Hello,
thank you for your great work!
Is it possilbe to add Ubuntu support?

@petroav
Copy link
Contributor

petroav commented Apr 8, 2016

Given that Presto runs on Ubuntu it shouldn't be too difficult to add that support. However, I'm afraid that work isn't on our current roadmap.

@mattsfuller
Copy link
Contributor

Hi @jakovm, thank you! As Anton said, we don't have any near term plans for it. But we welcome contributions if it's something you want to work on. We'd be happy to provide guidance.

@jakovm
Copy link
Author

jakovm commented Apr 8, 2016

Hi @mattsfuller, I would be happy to help here. Since I'm pretty new to programming I would need guidance. So what I need to do add ubuntu support?

@petroav
Copy link
Contributor

petroav commented Apr 8, 2016

@jakovm -- if you're new to programming then this may not be a good place for you to start. Even though the programming needed to complete this task is trivial, figuring out how all the pieces fit together is hard.

If you'd still like to attempt the task then you'll need to edit the scripts in package/scripts. Specifically you'll have to change (1) the way we install Presto and (2) the way we configure Presto.

(1) should just be a matter of downloading the tar.gz distribution of Presto and unpacking it. You'll have to somehow detect whether you're running on Ubuntu and switch to the tar.gz based on that. The installation happens in the install() method for both the coordinator and workers.
(2) is a little more complicated because the configuration files will now have different paths because we didn't install Presto using the rpm.

Finally, you should test your changes on an Ubuntu cluster and write some unit tests. For unit testing I had to do some hacking because the resource_management package from Ambari is not available as standalone. To get around that I created a dummy package in the same directory as my tests, modified the PYTHONPATH and then mocked all the objects I needed to mock.

Before you start coding you should familiarize yourself with Ambari's architecture by watching the two Ambari webinars here. The Ambari Operations webinar is not very relevant to this task but will give you an introduction on some of the features. The Ambari Stacks and Views webinar is very relevant. For examples on other integration code you can check out these Ambari workshops.

@jakovm
Copy link
Author

jakovm commented Apr 8, 2016

Hi @petroav thanks for the instructions. Will try to get it done, but will probably take some time...

@mrveera
Copy link

mrveera commented May 19, 2018

Hey @petroav , @jakovm
Any updates on this card. @jakovm Are you still working on this??

@mattsfuller
Copy link
Contributor

I don't believe anyone is working on this at the moment. We'd love to have other contribute.

@mrveera
Copy link

mrveera commented May 21, 2018

I can work on it but I need some context about installing and adding configuration

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants