[ZEPPELIN-5398] fix ZEPPELIN-5398, make corrupted notes deletable

### What is this PR for?
* fix ZEPPELIN-5398, make corrupted notes deletable

### What type of PR is it?
* Bug Fix

### Todos
* None

### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-5398

### How should this be tested?
1. Create a new note.
2. Corrupt it in the backend (e.g. mess up the json format).
3. Restart zeppelin server.
4. Delete the corrupted note and refresh page.
5. The corrupted note will be gone.

### Screenshots (if appropriate)
* None

### Questions:
* None

Author: EricGao888 <ericgao.apache@gmail.com>

Closes #4134 from EricGao888/chufeng-fix-ZEPPELIN-5398 and squashes the following commits:

4497442524 [EricGao888] improve coding style
8836b98640 [EricGao888] improve coding style
1fb0e8a3da [EricGao888] improve removeCorruptedNote test logic
d3a7fa6f3c [EricGao888] resolve conflict
aa4a542cbd [EricGao888] add noteId param for fromJson method
4764b6f881 [EricGao888] remove duplicate code
91243f37e0 [EricGao888] improve coding style
e1757a910e [EricGao888] add method to remove corrupted notes from trash, add test cases, fix minor issues in previous commits
f290cb3900 [EricGao888] add unit test for moving corrupted note to trash
2d9b93f2d0 [EricGao888] remove unused import, remove useless blank line
99b9189ea8 [EricGao888] fix ZEPPELIN-5398, make corrupted notes deletable
24 files changed
tree: aba701f7b8a992591c6c255b18986ab5f9c2f1e1
  1. .github/
  2. _tools/
  3. alluxio/
  4. angular/
  5. beam/
  6. bigquery/
  7. bin/
  8. cassandra/
  9. conf/
  10. dev/
  11. docs/
  12. elasticsearch/
  13. file/
  14. flink/
  15. flink-cmd/
  16. geode/
  17. groovy/
  18. hazelcastjet/
  19. hbase/
  20. helium-dev/
  21. ignite/
  22. influxdb/
  23. java/
  24. jdbc/
  25. k8s/
  26. kotlin/
  27. ksql/
  28. kylin/
  29. lens/
  30. licenses/
  31. livy/
  32. markdown/
  33. mongodb/
  34. neo4j/
  35. notebook/
  36. pig/
  37. python/
  38. rlang/
  39. sap/
  40. scalding/
  41. scio/
  42. scripts/
  43. shell/
  44. spark/
  45. spark-submit/
  46. sparql/
  47. submarine/
  48. testing/
  49. zeppelin-client/
  50. zeppelin-client-examples/
  51. zeppelin-common/
  52. zeppelin-display/
  53. zeppelin-distribution/
  54. zeppelin-examples/
  55. zeppelin-integration/
  56. zeppelin-interpreter/
  57. zeppelin-interpreter-integration/
  58. zeppelin-interpreter-parent/
  59. zeppelin-interpreter-shaded/
  60. zeppelin-jupyter/
  61. zeppelin-jupyter-interpreter/
  62. zeppelin-jupyter-interpreter-shaded/
  63. zeppelin-plugins/
  64. zeppelin-server/
  65. zeppelin-web/
  66. zeppelin-web-angular/
  67. zeppelin-zengine/
  68. .appveyor.yml
  69. .asf.yaml
  70. .gitignore
  71. Dockerfile
  72. LICENSE
  73. NOTICE
  74. pom.xml
  75. README.md
  76. Roadmap.md
  77. SECURITY-README.md
  78. STYLE.md
README.md

Apache Zeppelin

Documentation: User Guide
Mailing Lists: User and Dev mailing list
Continuous Integration: core frontend rat
Contributing: Contribution Guide
Issue Tracker: Jira
License: Apache 2.0

Zeppelin, a web-based notebook that enables interactive data analytics. You can make beautiful data-driven, interactive and collaborative documents with SQL, Scala and more.

Core features:

  • Web based notebook style editor.
  • Built-in Apache Spark support

To know more about Zeppelin, visit our web site https://zeppelin.apache.org

Getting Started

Install binary package

Please go to install to install Apache Zeppelin from binary package.

Build from source

Please check Build from source to build Zeppelin from source.