[
https://issues.apache.org/jira/browse/KNOX-2148?focusedWorklogId=364606&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-364606
]
ASF GitHub Bot logged work on KNOX-2148:
----------------------------------------
Author: ASF GitHub Bot
Created on: 30/Dec/19 11:04
Start Date: 30/Dec/19 11:04
Worklog Time Spent: 10m
Work Description: prabhjyotsingh commented on pull request #229:
KNOX-2148: API url rewrite should pass query params as well
URL: https://github.com/apache/knox/pull/229
## What changes were proposed in this pull request?
Some of Zeppelin UI was broken as API(s) get params are not being sent.
## How was this patch tested?
manually tested.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 364606)
Remaining Estimate: 0h
Time Spent: 10m
> NPE while performing search operation in Zeppelin UI via Knox Trusted Proxy
> ---------------------------------------------------------------------------
>
> Key: KNOX-2148
> URL: https://issues.apache.org/jira/browse/KNOX-2148
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.0.0, 1.1.0, 1.2.0, 1.3.0
> Reporter: Abhishek Shukla
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Trying to perform Search Operation in Zeppelin UI (Using Knox Trusted Proxy
> URL) results into 500 Error Code.
> Observed with HDP 3.x/2.x Builds
> Gateway Audit Logs:
> {noformat}
> 19/12/11 06:39:16
> ||6fd8d315-9f76-45af-b550-b4ddd5b5e957|audit||ZEPPELINUI||||access|uri|/gateway/default/zeppelin/api/notebook/search?q=asd|unavailable|Request
> method: GET
> 19/12/11 06:39:16
> ||6fd8d315-9f76-45af-b550-b4ddd5b5e957|audit||ZEPPELINUI|anonymous|||authentication|uri|/gateway/default/zeppelin/api/notebook/search?q=asd|success|
> 19/12/11 06:39:16
> ||6fd8d315-9f76-45af-b550-b4ddd5b5e957|audit||ZEPPELINUI|anonymous|||dispatch|uri|http://<ZEPPELIN_HOST>:9995/api/notebook/search|unavailable|Request
> method: GET
> 19/12/11 06:39:16
> ||6fd8d315-9f76-45af-b550-b4ddd5b5e957|audit||ZEPPELINUI|anonymous|||dispatch|uri|http://<ZEPPELIN_HOST>:9995/api/notebook/search|success|Response
> status: 500
> 19/12/11 06:39:16
> |||audit||ZEPPELINUI|anonymous|||access|uri|/gateway/default/zeppelin/api/notebook/search?q=asd|success|Response
> status: 500
> {noformat}
>
> Zeppelin Server Logs:
> {noformat}
> INFO [2019-12-11 06:34:54,313] ({qtp466505482-16220}
> ResourceService.java[doGet]:238) -
> content=ResourceHttpContent@7211c2f7{r=file:///usr/hdp/3.0.1.0-187/zeppelin/webapps/webapp/assets/images/maven_default_icon.png,ct=image/png,c=false}
> INFO [2019-12-11 06:35:01,236] ({qtp466505482-16218}
> ResourceService.java[doGet]:238) -
> content=ResourceHttpContent@4f099b30{r=file:///usr/hdp/3.0.1.0-187/zeppelin/webapps/webapp/app/configuration/configuration.html,ct=text/html,c=false}
> INFO [2019-12-11 06:35:04,650] ({qtp466505482-16218}
> ResourceService.java[doGet]:238) -
> content=ResourceHttpContent@2d7dfee{r=file:///usr/hdp/3.0.1.0-187/zeppelin/webapps/webapp/components/navbar/navbar-note-list-elem.html,ct=text/html,c=false}
> INFO [2019-12-11 06:39:16,574] ({qtp466505482-16217}
> NotebookRestApi.java[search]:986) - Searching notes for: null WARN
> [2019-12-11 06:39:16,583] ({qtp466505482-16217}
> HttpChannel.java[handleException]:573) -
> /api/notebook/searchjavax.servlet.ServletException:
> java.lang.NullPointerException
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)