[ 
https://issues.apache.org/jira/browse/KNOX-2148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Risden reassigned KNOX-2148:
----------------------------------

    Assignee: Prabhjyot Singh

> 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
>            Assignee: Prabhjyot Singh
>            Priority: Major
>          Time Spent: 0.5h
>  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)

Reply via email to