GitHub user vensant opened a pull request: https://github.com/apache/zeppelin/pull/1430
[ZEPPELIN-868] Notebook import fails when notebook is large ### What is this PR for? A bug fix: Added validation in the note import dialog box to check for the uploaded json file size and throw error report if the file size exceeds 1MB, as the websocket frame is not able to send json file of size over 1MB. ### What type of PR is it? Bug Fix ### Todos NA ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-868 ### How should this be tested? 1. Deploy Zeppelin and click on 'Import Note' in the Welcome to Zeppelin page. 2. Click 'Choose a JSON here' and upload a json file whose file size is over 1MB ### Screenshots (if appropriate)     ### Questions: * Does the licenses files need update? NO * Is there breaking changes for older versions? NO * Does this needs documentation? NO You can merge this pull request into a Git repository by running: $ git pull https://github.com/vensant/zeppelin ZEPPELIN-868 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1430.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1430 ---- commit 276b676f4ad198f9e95bf9c639ac0b37c8349d2f Author: vensant <venkatramana...@imaginea.com> Date: 2016-09-15T14:38:47Z Added validation in the note import dialog box to check for the uploaded json file size as the websocket frame is not able to send file of size over 1MB ---- --- 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. ---