GitHub user vensant reopened 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 5a1f6ae88349644be0d2e2b6b1ad63607fe984ed 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 commit 2c5ba4a35ee91bd41b28c00dafc675cde3a5940c Author: vensant <venkatramana...@imaginea.com> Date: 2016-09-16T06:06:30Z Rectified the errors due to grunt build no color failure commit 55c934973120701e27160eb0bb1812496ed9b82c Author: vensant <venkatramana...@imaginea.com> Date: 2016-09-22T06:29:58Z made changes for reading the max limit from the configuration list and dynamically showing it in UI commit 23c05ed911da25f612cd9d01c45960171bd85f07 Author: vensant <venkatramana...@imaginea.com> Date: 2016-09-27T06:37:12Z client level validation added for import file size check ---- --- 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. ---