실행했는데 아래와 같은 오류가 났다.


presto 의 프로세스가 떠있나 확인해 보니 데몬도 죽은상태.

이건 자바 버전이 낮았기 때문이었다. CDH 기본 내장된 자바버전은 1.7인데

presto 는 java 1.8 부터 지원을 한다.



* server.log

2017-06-08T13:27:28.145+0900    INFO    main    com.facebook.presto.server.PrestoServer ======== SERVER STARTED ========

2017-06-08T13:27:28.145+0900    ERROR   Announcer-0     io.airlift.discovery.client.Announcer   Cannot connect to discovery server for announce: Announcement failed with status code 404:

2017-06-08T13:27:28.145+0900    ERROR   Announcer-0     io.airlift.discovery.client.Announcer   Service announcement failed after 11.23ms. Next request will happen within 0.00s

2017-06-08T13:27:28.151+0900    ERROR   Announcer-1     io.airlift.discovery.client.Announcer   Service announcement failed after 3.12ms. Next request will happen within 1.00ms

2017-06-08T13:27:28.155+0900    ERROR   Announcer-2     io.airlift.discovery.client.Announcer   Service announcement failed after 2.32ms. Next request will happen within 2.00ms

2017-06-08T13:27:28.163+0900    ERROR   Announcer-3     io.airlift.discovery.client.Announcer   Service announcement failed after 3.28ms. Next request will happen within 4.00ms

2017-06-08T13:27:28.174+0900    ERROR   Announcer-1     io.airlift.discovery.client.Announcer   Service announcement failed after 2.89ms. Next request will happen within 8.00ms

2017-06-08T13:27:28.194+0900    ERROR   Announcer-2     io.airlift.discovery.client.Announcer   Service announcement failed after 3.62ms. Next request will happen within 16.00ms

2017-06-08T13:27:28.230+0900    ERROR   Announcer-3     io.airlift.discovery.client.Announcer   Service announcement failed after 3.57ms. Next request will happen within 32.00ms

...


jdk 1.8을 받아서 다시 실행하니 성공

+ Recent posts