Hi Herman,

As Damien said, there is a PR(but not merged) related with your issue.
Regarding the "Unable to fetch URL", when I tried again with my notebook
URL I saw an error message "XMLHttpRequest cannot load
https://raw.githubusercontent.com/AhyoungRyu/spark-notebook-example/master/zeppelin-notebook/2B3QSZTKR/note.json.
A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header
when the credentials flag is true. Origin 'http://localhost:8080' is
therefore not allowed access. The credentials mode of an XMLHttpRequest is
controlled by the withCredentials attribute."  in the chrome/ FF/ Safari
console windows. I'll figure out what the root cause is. Thanks anyway :)

Best,
Ahyoung

2016년 9월 26일 (월) 오전 10:32, Corneau Damien <cornead...@gmail.com>님이 작성:

> Hi Herman,
>
> I think this PR: https://github.com/apache/zeppelin/pull/1430 is trying
> to give us a better input on file size issue
>
> On Mon, Sep 26, 2016 at 5:51 AM, Herman Yu <herman...@teeupdata.com>
> wrote:
>
>>
>> Thanks Mark and Ahyoung.
>>
>> It turns out that the notebook json I was trying to import was too large,
>> this is the error message: 
>> org.eclipse.jetty.websocket.api.MessageTooLargeException:
>> Text message size [1173911] exceeds maximum size [1024000]. I had a large
>> output embedded in the json file.
>>
>> In terms of different browsers, I get mixed results. I tried with the URL
>> Ahyoung provided below with chrome on MacBook Pro, got same error (unable
>> to fetch url), then I downloaded the json file to local drive, imported as
>> json file, succeed. Then I tried to import from URL again, it worked.
>> Tried with firefox, import from URL failed with "Unable to fetch from URL”
>> error, import as json worked.
>>
>> anyway, a more user friendly error message/status will help.
>>
>> Thanks
>> Herman.
>>
>>
>> On Sep 25, 2016, at 07:48, Flayranalytics <m...@flayranalytics.co.uk>
>> wrote:
>>
>> Hi Herman,
>>
>> I experienced this issue as well with google chrome. I tried on safari
>> and was able to upload as button was there. If you haven't already try
>> safari or Firefox?
>>
>> Best,
>> Mark
>>
>> Sent from my iPhone
>>
>> On 23 Sep 2016, at 19:30, Herman Yu <herman...@teeupdata.com> wrote:
>>
>> I am having issues importing a notebook. If I chose to upload a file,
>> after select the json file from my local drive, nothing happens, there is
>> no button to next step; if I chose to ‘add by url’ and provide a url to a
>> valid json file (http://myserver/notebook.json), I get an error saying
>> “unable to fetch url”. I tried both 0.6 and 0.6.1, same error.
>>
>> zeppelin document doesn’t seem to have a page for this function. Anybody
>> can share some lights here?
>>
>> Thanks
>> Herman.
>>
>>
>>
>>
>

Reply via email to