Github user Leemoonsoo commented on the issue:

    https://github.com/apache/zeppelin/pull/1694
  
    After this patch, if i turn off shiro and load any notebook (without click 
permission button)
    
    browser console print 403 forbidden, 
    
![image](https://cloud.githubusercontent.com/assets/1540981/21582774/b013229c-d01a-11e6-9fb8-e907bf8954a6.png)
    
    And ZeppelinServer prints stack trace
    ```
    WARN [2017-01-01 12:03:26,784] ({qtp106298691-16} 
WebApplicationExceptionMapper.java[toResponse]:73) - 
org.apache.zeppelin.rest.exception.ForbiddenException
        at 
org.apache.zeppelin.rest.NotebookRestApi.checkIfUserIsAnon(NotebookRestApi.java:133)
        at 
org.apache.zeppelin.rest.NotebookRestApi.getNotePermissions(NotebookRestApi.java:98)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
        at 
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:205)
        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:102)
        at 
    ```
    
    Can we try not print error / warning on loading notebook ?


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to