Presto: OSError: [Errno 2] No such file or directory

Created on 21 Apr 2017  路  8Comments  路  Source: prestodb/presto

Traceback (most recent call last):
File "./launcher.py", line 436, in main
handle_command(command, o)
File "./launcher.py", line 322, in handle_command
run(process, options)
File "./launcher.py", line 249, in run
os.execvpe(args[0], args, env)
File "/usr/lib/python2.7/os.py", line 355, in execvpe
_execvpe(file, args, env)
File "/usr/lib/python2.7/os.py", line 382, in _execvpe
func(fullname, *argrest)
OSError: [Errno 2] No such file or directory
please help me to resove it

Most helpful comment

Is "java" available in the PATH environment in which the launcher is run?

All 8 comments

+1

Can you provide more details on how to reproduce this? The problem is not clear from the information provided.

Is "java" available in the PATH environment in which the launcher is run?

+1

+1

I solved it
[root@localhost]# export PATH=$PATH:/usr/jdk64/jdk1.8.0_112/bin/
It can't see JAVA path

Why does java home need to be set for running launcher.py file?

This error comes, when java is not installed or its path is not correctly setup

Was this page helpful?
0 / 5 - 0 ratings