[ 
https://issues.apache.org/jira/browse/KNOX-917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15951543#comment-15951543
 ] 

Sandeep More commented on KNOX-917:
-----------------------------------

Hello [~gnagar] I applied the patch you provided but still the Pig View has 
problems (basically does not load) 
The problem seems to be the the OPTIONS object does not have proper url 
'https://gateway/sandbox/ambari/api/v1/views/sandbox/versions/ambari/instances/views/scripts'
 in jquery.js:8630 (see the screenshot attached)

Also you might want to change the name of your patch it says KNOX-916* :) 

> Knox Proxy - Pig view fails to load when using ambari thru KNOX
> ---------------------------------------------------------------
>
>                 Key: KNOX-917
>                 URL: https://issues.apache.org/jira/browse/KNOX-917
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>            Reporter: Gaurav Nagar
>         Attachments: KNOX-916-001.patch
>
>
> Problem seems to be caused by pig view java scripts making async postbacks to 
> context that is not being handled by knox.
> Direct url without Knox: 
> http://<host>:8080/#/main/views/PIG/1.0.0/PIG 
> working script url: 
> http://<host>:8080/api/v1/views/PIG/versions/1.0.0/instances/PIG/scripts?_=1482263718137
> Knox url 
> https://<host>:8443/gateway/default/ambari/#/main/views/PIG/1.0.0/ 
> 404 link url: 
> https://<host>:8443/api/v1/views/default/versions/ambari/instances/views/scripts?_=1482263506651
> There are few more 404 links broken following same pattern as the above one.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to