GitHub user charsyam opened a pull request:
https://github.com/apache/tajo/pull/829
TAJO-1936: NPE when calling the query result REST api
Currently, Tajo Rest API return NPE when sessionId is null.
because of ConcurrentHashMap's put method throws when value is null.
So. I changed NPE to BadRequestExeception when session id is null.
Thanks.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/charsyam/tajo feature/TAJO-1936
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/829.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #829
----
commit 8aad801454ce710c694a5f3bdcaba0aac7d96cc9
Author: charsyam <[email protected]>
Date: 2015-10-17T16:21:08Z
TAJO-1936: Fix NPE
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---