h2oai / driverlessai-recipes

Recipes for Driverless AI
Apache License 2.0
241 stars 94 forks source link

driverless h2oai python pipeline run_example.sh looks for java? #23

Open cyrilthank opened 5 years ago

cyrilthank commented 5 years ago

Hi

After i download the scoring pipeline and try to execute run_example.sh i get the below messages

277, in init│······································································ bind_to_localhost=bind_to_localhost)│······································································ File "/h2o/scoring-pipeline/env/lib/python3.6/site-packages/h2o/backend/server│······································································ .py", line 138, in start│······································································ bind_to_localhost=bind_to_localhost, log_dir=log_dir, log_level=log_level)│······································································ File "/h2o/scoring-pipeline/env/lib/python3.6/site-packages/h2o/backend/server│······································································ .py", line 271, in _launch_server│······································································ java = self._find_java()│······································································ File "/h2o/scoring-pipeline/env/lib/python3.6/site-packages/h2o/backend/server│······································································ .py", line 410, in _find_java│······································································ raise H2OStartupError("Cannot find Java. Please install the latest JRE from\│······································································ n"277, in init bind_to_localhost=bind_to_localhost) File "/h2o/scoring-pipeline/env/lib/python3.6/site-packages/h2o/backend/server.py", line 138, in start bind_to_localhost=bind_to_localhost, log_dir=log_dir, log_level=log_level) File "/h2o/scoring-pipeline/env/lib/python3.6/site-packages/h2o/backend/server.py", line 271, in _launch_server java = self._find_java() File "/h2o/scoring-pipeline/env/lib/python3.6/site-packages/h2o/backend/server.py", line 410, in _find_java raise H2OStartupError("Cannot find Java. Please install the latest JRE from\n" h2o.exceptions.H2OStartupError: Cannot find Java. Please install the latest JRE from http://www.oracle.com/technetwork/java/javase/downloads/index.html

Can you please advise if the JDK is required to be installed on the client machine?

goldentom42 commented 5 years ago

Hi @cyrilthank,

I believe this also part of the problems you encounter in issue #20 You need java installed on the client machine to run the scoring pipeline.

Thx. Olivier