You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by Jaideep dhok <ja...@inmobi.com> on 2015/03/02 06:43:28 UTC

Review Request 31608: LENS-364 Open session with wrong db is returning 404 but session is getting created with default db

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31608/
-----------------------------------------------------------

Review request for lens.


Bugs: LENS-364
    https://issues.apache.org/jira/browse/LENS-364


Repository: lens


Description
-------

1. Closing session before throwing 404.
2. Closing session in case db exist check throws exception


Diffs
-----

  lens-server/src/main/java/org/apache/lens/server/session/HiveSessionService.java 435eda9d6d38724e7e7ace063d49064a79a1f999 

Diff: https://reviews.apache.org/r/31608/diff/


Testing
-------

Checked log statement in case of invalid DB.
No new test added as test for open session with invalid DB already exists.

Awaiting test output.


Thanks,

Jaideep dhok