{"action":"opened","number":582,"pull_request":{"url":"https://api.github.com/repos/apache/incubator-zeppelin/pulls/582","id":54719387,"html_url":"https://github.com/apache/incubator-zeppelin/pull/582","diff_url":"https://github.com/apache/incubator-zeppelin/pull/582.diff","patch_url":"https://github.com/apache/incubator-zeppelin/pull/582.patch","issue_url":"https://api.github.com/repos/apache/incubator-zeppelin/issues/582","number":582,"state":"open","locked":false,"title":"ZEPPELIN-543: Storage initialization failure recovery","user":{"login":"khalidhuseynov","id":1642088,"avatar_url":"https://avatars.githubusercontent.com/u/1642088?v=3","gravatar_id":"","url":"https://api.github.com/users/khalidhuseynov","html_url":"https://github.com/khalidhuseynov","followers_url":"https://api.github.com/users/khalidhuseynov/followers","following_url":"https://api.github.com/users/khalidhuseynov/following{/other_user}","gists_url":"https://api.github.com/users/khalidhuseynov/gists{/gist_id}","starred_url":"https://api.github.com/users/khalidhuseynov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khalidhuseynov/subscriptions","organizations_url":"https://api.github.com/users/khalidhuseynov/orgs","repos_url":"https://api.github.com/users/khalidhuseynov/repos","events_url":"https://api.github.com/users/khalidhuseynov/events{/privacy}","received_events_url":"https://api.github.com/users/khalidhuseynov/received_events","type":"User","site_admin":false},"body":"### What is this PR for?\r\nHandling edge case failures when initializing notebook storage class(es).\r\n\r\n### What type of PR is it?\r\nImprovement\r\n\r\n### Todos\r\n* [x] - fix repo initialization\r\n* [x] - add different config tests\r\n\r\n### Is there a relevant Jira issue?\r\n[ZEPPELIN-543](https://issues.apache.org/jira/browse/ZEPPELIN-543)\r\n\r\n### How should this be tested?\r\nThere're various test cases (mostly included as unit tests).\r\nOne of the test scenarios:\r\n1. in `conf/zeppelin-env.sh` add the following line\r\n    ```\r\n    export ZEPPELIN_NOTEBOOK_STORAGE=\"org.apache.zeppelin.notebook.repo.VFSNotebookRepo,org.apache.zeppelin.notebook.repo.DummyNotebookRepo\"\r\n    ```\r\n2. Start Zeppelin\r\n3. Previously Zeppelin would fail to start, now you would see that only first storage class is initialized and second just didn't initialize.\r\n\r\n### Screenshots (if appropriate)\r\n\r\n### Questions:\r\n* Does the licenses files need update? No\r\n* Is there breaking changes for older versions? No\r\n* Does this needs documentation? No","created_at":"2015-12-29T11:18:30Z","updated_at":"2015-12-29T11:18:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-zeppelin/pulls/582/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-zeppelin/pulls/582/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-zeppelin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-zeppelin/issues/582/comments","statuses_url":"https://api.github.com/repos/apache/incubator-zeppelin/statuses/8f766320aea2bad14d5aa9c8df97607213a4733c","head":{"label":"khalidhuseynov:storage-init-failure-recovery","ref":"storage-init-failure-recovery","sha":"8f766320aea2bad14d5aa9c8df97607213a4733c","user":{"login":"khalidhuseynov","id":1642088,"avatar_url":"https://avatars.githubusercontent.com/u/1642088?v=3","gravatar_id":"","url":"https://api.github.com/users/khalidhuseynov","html_url":"https://github.com/khalidhuseynov","followers_url":"https://api.github.com/users/khalidhuseynov/followers","following_url":"https://api.github.com/users/khalidhuseynov/following{/other_user}","gists_url":"https://api.github.com/users/khalidhuseynov/gists{/gist_id}","starred_url":"https://api.github.com/users/khalidhuseynov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khalidhuseynov/subscriptions","organizations_url":"https://api.github.com/users/khalidhuseynov/orgs","repos_url":"https://api.github.com/users/khalidhuseynov/repos","events_url":"https://api.github.com/users/khalidhuseynov/events{/privacy}","received_events_url":"https://api.github.com/users/khalidhuseynov/received_events","type":"User","site_admin":false},"repo":{"id":33517255,"name":"incubator-zeppelin","full_name":"khalidhuseynov/incubator-zeppelin","owner":{"login":"khalidhuseynov","id":1642088,"avatar_url":"https://avatars.githubusercontent.com/u/1642088?v=3","gravatar_id":"","url":"https://api.github.com/users/khalidhuseynov","html_url":"https://github.com/khalidhuseynov","followers_url":"https://api.github.com/users/khalidhuseynov/followers","following_url":"https://api.github.com/users/khalidhuseynov/following{/other_user}","gists_url":"https://api.github.com/users/khalidhuseynov/gists{/gist_id}","starred_url":"https://api.github.com/users/khalidhuseynov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khalidhuseynov/subscriptions","organizations_url":"https://api.github.com/users/khalidhuseynov/orgs","repos_url":"https://api.github.com/users/khalidhuseynov/repos","events_url":"https://api.github.com/users/khalidhuseynov/events{/privacy}","received_events_url":"https://api.github.com/users/khalidhuseynov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/khalidhuseynov/incubator-zeppelin","description":"Mirror of Apache Zeppelin (Incubating)","fork":true,"url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin","forks_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/forks","keys_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/teams","hooks_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/hooks","issue_events_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/issues/events{/number}","events_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/events","assignees_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/assignees{/user}","branches_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/branches{/branch}","tags_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/tags","blobs_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/git/refs{/sha}","trees_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/statuses/{sha}","languages_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/languages","stargazers_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/stargazers","contributors_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/contributors","subscribers_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/subscribers","subscription_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/subscription","commits_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/commits{/sha}","git_commits_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/git/commits{/sha}","comments_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/comments{/number}","issue_comment_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/issues/comments{/number}","contents_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/contents/{+path}","compare_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/merges","archive_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/downloads","issues_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/issues{/number}","pulls_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/pulls{/number}","milestones_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/milestones{/number}","notifications_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/labels{/name}","releases_url":"https://api.github.com/repos/khalidhuseynov/incubator-zeppelin/releases{/id}","created_at":"2015-04-07T02:23:14Z","updated_at":"2015-05-06T06:51:00Z","pushed_at":"2015-12-29T10:32:22Z","git_url":"git://github.com/khalidhuseynov/incubator-zeppelin.git","ssh_url":"git@github.com:khalidhuseynov/incubator-zeppelin.git","clone_url":"https://github.com/khalidhuseynov/incubator-zeppelin.git","svn_url":"https://github.com/khalidhuseynov/incubator-zeppelin","homepage":null,"size":15407,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"4f186733d2126953419e1bb14cb87f7de488dfbf","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":32848140,"name":"incubator-zeppelin","full_name":"apache/incubator-zeppelin","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/incubator-zeppelin","description":"Mirror of Apache Zeppelin (Incubating)","fork":false,"url":"https://api.github.com/repos/apache/incubator-zeppelin","forks_url":"https://api.github.com/repos/apache/incubator-zeppelin/forks","keys_url":"https://api.github.com/repos/apache/incubator-zeppelin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-zeppelin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-zeppelin/teams","hooks_url":"https://api.github.com/repos/apache/incubator-zeppelin/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-zeppelin/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-zeppelin/events","assignees_url":"https://api.github.com/repos/apache/incubator-zeppelin/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-zeppelin/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-zeppelin/tags","blobs_url":"https://api.github.com/repos/apache/incubator-zeppelin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-zeppelin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-zeppelin/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-zeppelin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-zeppelin/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-zeppelin/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-zeppelin/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-zeppelin/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-zeppelin/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-zeppelin/subscription","commits_url":"https://api.github.com/repos/apache/incubator-zeppelin/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-zeppelin/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-zeppelin/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-zeppelin/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-zeppelin/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-zeppelin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-zeppelin/merges","archive_url":"https://api.github.com/repos/apache/incubator-zeppelin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-zeppelin/downloads","issues_url":"https://api.github.com/repos/apache/incubator-zeppelin/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-zeppelin/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-zeppelin/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-zeppelin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-zeppelin/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-zeppelin/releases{/id}","created_at":"2015-03-25T07:00:06Z","updated_at":"2015-12-29T10:32:44Z","pushed_at":"2015-12-29T10:57:36Z","git_url":"git://github.com/apache/incubator-zeppelin.git","ssh_url":"git@github.com:apache/incubator-zeppelin.git","clone_url":"https://github.com/apache/incubator-zeppelin.git","svn_url":"https://github.com/apache/incubator-zeppelin","homepage":null,"size":84422,"stargazers_count":1001,"watchers_count":1001,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":482,"mirror_url":"git://git.apache.org/incubator-zeppelin.git","open_issues_count":84,"forks":482,"open_issues":84,"watchers":1001,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-zeppelin/pulls/582"},"html":{"href":"https://github.com/apache/incubator-zeppelin/pull/582"},"issue":{"href":"https://api.github.com/repos/apache/incubator-zeppelin/issues/582"},"comments":{"href":"https://api.github.com/repos/apache/incubator-zeppelin/issues/582/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-zeppelin/pulls/582/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-zeppelin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-zeppelin/pulls/582/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-zeppelin/statuses/8f766320aea2bad14d5aa9c8df97607213a4733c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":203,"deletions":10,"changed_files":2}}