Git Product home page Git Product logo

Comments (7)

danielkza avatar danielkza commented on May 24, 2024 1

@kevincoakley I'd personally prefer option 1, since the PPAs do have issues, as you mentioned. It's enough for me to have the role fail when a sufficient version of Java is missing. But what about another option: installing Java 7 on 14.04? It seems to be supported according to the documentation.

from ansible-role-zeppelin.

kevincoakley avatar kevincoakley commented on May 24, 2024

@danielkza @smiller171 The reason why I didn't include the install for Java 1.8 on Ubuntu 14.04 is (1) I am not a heavy Ubuntu user and (2) Canonical doesn't include 1.8 for 14.04, so I don't know what the best practice is for installing 1.8 and which PPA should be used.

I know there are PPAs for both Oracle Java and OpenJDK and both seem to have their own issues (Oracle being proprietary and OpenJDK being out of date).

Here are possible solutions:

  1. Write an Ansible check for Java 1.8 and fail if it isn't installed
  2. Merge #5
  3. Remove Java completely from this role and require another role that installs Java

Let me know what you think. It is highly unlikely that I would ever use Ubuntu 14.04 so which solution you choose will not affect me.

from ansible-role-zeppelin.

kevincoakley avatar kevincoakley commented on May 24, 2024

@danielkza The data scientists that I work with all use Java 8 so I never bothered to look at the documentation to find the minimum Java requirements. Using Java 7 with Ubuntu 14.04 does seem like the most logical solution. I will take a look at added Java 7 + Ubuntu 14.04 and adding a check to verify Java is installed.

from ansible-role-zeppelin.

smiller171 avatar smiller171 commented on May 24, 2024

I'll go ahead and close my PR then

from ansible-role-zeppelin.

danielkza avatar danielkza commented on May 24, 2024

@kevincoakley Would you like me to work on it? I have a bit of free time today.

from ansible-role-zeppelin.

kevincoakley avatar kevincoakley commented on May 24, 2024

@danielkza Sure, I have errands to run in the morning, so I won't be able to look at this until this afternoon. Thank you!

from ansible-role-zeppelin.

kevincoakley avatar kevincoakley commented on May 24, 2024

Merged pull request #6

from ansible-role-zeppelin.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.