Re: Zeppelin postgres interpreter throws NPE

2017-08-03 Thread Richard Xin
e: Zeppelin postgres interpreter throws NPE oh, just figured it out myselfit seems that the property I aded in interpreter config postgres.database is not recognized by zeppelin, I solved it by adding dbname to url. anyway, the exception is better to be handled and emit more friendly error message.

Re: Zeppelin postgres interpreter throws NPE

2017-08-03 Thread Jianfeng (Jeff) Zhang
t;" mailto:users@zeppelin.apache.org>> Date: Friday, August 4, 2017 at 4:40 AM To: "users@zeppelin.apache.org<mailto:users@zeppelin.apache.org>" mailto:users@zeppelin.apache.org>> Subject: Re: Zeppelin postgres interpreter throws NPE oh, just figured it out myself it se

Re: Zeppelin postgres interpreter throws NPE

2017-08-03 Thread Richard Xin
oh, just figured it out myselfit seems that the property I aded in interpreter config postgres.database is not recognized by zeppelin, I solved it by adding dbname to url. anyway, the exception is better to be handled and emit more friendly error message. On Thursday, August 3, 2017, 1:35:04 PM

Zeppelin postgres interpreter throws NPE

2017-08-03 Thread Richard Xin
on AWS EMR1. Tested remote postgres connection using psql, works OK2. added postges interpreter via Interpreter UI3. create new note:%postgresql   (or %psql) select * from test.batch_report;  got NPE 4. here are what's in the log: WARN [2017-08-03 20:22:46,859] ({qtp459296537-18} LoginRestApi.ja