Issue seen while working Atlas with Knox SSO.
Atlas is set up to use Knox SSO form login for authentication.
DSL Search query : hive_table where name="table_1" is encoded by Atlas as
When the above query is fired , it is redirected to knox gateway as :
On providing correct credentials and trying to sign in , knox threw 500 Internal server error with response :
Following exceptions are found in knox gateway logs :
(Note : host name is masked with "x" chars matching with length of the actual Atlas host name so that "index 103" in gateway logs would make sense)
Actual query was :
hive_table where name="table_"
which now became :
because of the equals character found twice in the query (near query once and near name once)
The following query is processed well by Knox as there are no extra "equals"