Proper errors should be thrown on UI while failure in adding plugin

2016-01-28 Thread Devender Yadav
Hi All, When any plugin is added in drill with UI or via REST, we got *error(unable to create/update plugin) *in case of failure. This message is not sufficient, there should be "reason of failure" in the failure message. Regards, Devender

Re: Proper errors should be thrown on UI while failure in adding plugin

2016-01-28 Thread Jason Altekruse
I'm actually working on fixing this right now, I'm merging a simple fix for the annoyance that your changes get erased upon failure and then I will be working on improving the message. Watch https://issues.apache.org/jira/browse/DRILL-2653 for updates. - Jason On Thu, Jan 28, 2016 at 3:36 AM,

Re: Proper errors should be thrown on UI while failure in adding plugin

2016-01-28 Thread Devender Yadav
Thanks for replying Jason. I do believe logs must be saved somewhere whenever I fail in adding plugins (due to credential error or jar not added or whatever). Since I am using drill in embedded mode, logs must be saved in sqlline.log (correct me if I am wrong please) but I did not find any logs