{"action":"opened","number":2361,"pull_request":{"url":"https://api.github.com/repos/apache/ambari/pulls/2361","id":217355366,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3MzU1MzY2","html_url":"https://github.com/apache/ambari/pull/2361","diff_url":"https://github.com/apache/ambari/pull/2361.diff","patch_url":"https://github.com/apache/ambari/pull/2361.patch","issue_url":"https://api.github.com/repos/apache/ambari/issues/2361","number":2361,"state":"open","locked":false,"title":"[AMBARI-24671] Workaround for non-atomic directory creation","user":{"login":"adoroszlai","id":6454655,"node_id":"MDQ6VXNlcjY0NTQ2NTU=","avatar_url":"https://avatars2.githubusercontent.com/u/6454655?v=4","gravatar_id":"","url":"https://api.github.com/users/adoroszlai","html_url":"https://github.com/adoroszlai","followers_url":"https://api.github.com/users/adoroszlai/followers","following_url":"https://api.github.com/users/adoroszlai/following{/other_user}","gists_url":"https://api.github.com/users/adoroszlai/gists{/gist_id}","starred_url":"https://api.github.com/users/adoroszlai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adoroszlai/subscriptions","organizations_url":"https://api.github.com/users/adoroszlai/orgs","repos_url":"https://api.github.com/users/adoroszlai/repos","events_url":"https://api.github.com/users/adoroszlai/events{/privacy}","received_events_url":"https://api.github.com/users/adoroszlai/received_events","type":"User","site_admin":false},"body":"## What changes were proposed in this pull request?\n\nSame as #2357, for `trunk`, except:\n\n * added an additional directory for [`before-START`](https://github.com/apache/ambari/blob/3231893f6488bafed5d5c0d87d0aeaccb8d24498/ambari-server/src/main/resources/stack-hooks/before-START/scripts/shared_initialization.py#L54-L57)\n * added `import Directory`, which was removed in 6c46a0b54d300e4036737fcb6bc4f099b173acfd\n\n## How was this patch tested?\n\nRan `Ambaripreupload.py` on Ambari server host.","created_at":"2018-09-21T17:47:15Z","updated_at":"2018-09-21T17:47:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/ambari/pulls/2361/commits","review_comments_url":"https://api.github.com/repos/apache/ambari/pulls/2361/comments","review_comment_url":"https://api.github.com/repos/apache/ambari/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/ambari/issues/2361/comments","statuses_url":"https://api.github.com/repos/apache/ambari/statuses/532c0614152356363810b387bfaa61f2cd39a4a8","head":{"label":"adoroszlai:AMBARI-24671_trunk","ref":"AMBARI-24671_trunk","sha":"532c0614152356363810b387bfaa61f2cd39a4a8","user":{"login":"adoroszlai","id":6454655,"node_id":"MDQ6VXNlcjY0NTQ2NTU=","avatar_url":"https://avatars2.githubusercontent.com/u/6454655?v=4","gravatar_id":"","url":"https://api.github.com/users/adoroszlai","html_url":"https://github.com/adoroszlai","followers_url":"https://api.github.com/users/adoroszlai/followers","following_url":"https://api.github.com/users/adoroszlai/following{/other_user}","gists_url":"https://api.github.com/users/adoroszlai/gists{/gist_id}","starred_url":"https://api.github.com/users/adoroszlai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adoroszlai/subscriptions","organizations_url":"https://api.github.com/users/adoroszlai/orgs","repos_url":"https://api.github.com/users/adoroszlai/repos","events_url":"https://api.github.com/users/adoroszlai/events{/privacy}","received_events_url":"https://api.github.com/users/adoroszlai/received_events","type":"User","site_admin":false},"repo":{"id":116725725,"node_id":"MDEwOlJlcG9zaXRvcnkxMTY3MjU3MjU=","name":"ambari","full_name":"adoroszlai/ambari","private":false,"owner":{"login":"adoroszlai","id":6454655,"node_id":"MDQ6VXNlcjY0NTQ2NTU=","avatar_url":"https://avatars2.githubusercontent.com/u/6454655?v=4","gravatar_id":"","url":"https://api.github.com/users/adoroszlai","html_url":"https://github.com/adoroszlai","followers_url":"https://api.github.com/users/adoroszlai/followers","following_url":"https://api.github.com/users/adoroszlai/following{/other_user}","gists_url":"https://api.github.com/users/adoroszlai/gists{/gist_id}","starred_url":"https://api.github.com/users/adoroszlai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adoroszlai/subscriptions","organizations_url":"https://api.github.com/users/adoroszlai/orgs","repos_url":"https://api.github.com/users/adoroszlai/repos","events_url":"https://api.github.com/users/adoroszlai/events{/privacy}","received_events_url":"https://api.github.com/users/adoroszlai/received_events","type":"User","site_admin":false},"html_url":"https://github.com/adoroszlai/ambari","description":"Mirror of Apache Ambari","fork":true,"url":"https://api.github.com/repos/adoroszlai/ambari","forks_url":"https://api.github.com/repos/adoroszlai/ambari/forks","keys_url":"https://api.github.com/repos/adoroszlai/ambari/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adoroszlai/ambari/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adoroszlai/ambari/teams","hooks_url":"https://api.github.com/repos/adoroszlai/ambari/hooks","issue_events_url":"https://api.github.com/repos/adoroszlai/ambari/issues/events{/number}","events_url":"https://api.github.com/repos/adoroszlai/ambari/events","assignees_url":"https://api.github.com/repos/adoroszlai/ambari/assignees{/user}","branches_url":"https://api.github.com/repos/adoroszlai/ambari/branches{/branch}","tags_url":"https://api.github.com/repos/adoroszlai/ambari/tags","blobs_url":"https://api.github.com/repos/adoroszlai/ambari/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adoroszlai/ambari/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adoroszlai/ambari/git/refs{/sha}","trees_url":"https://api.github.com/repos/adoroszlai/ambari/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adoroszlai/ambari/statuses/{sha}","languages_url":"https://api.github.com/repos/adoroszlai/ambari/languages","stargazers_url":"https://api.github.com/repos/adoroszlai/ambari/stargazers","contributors_url":"https://api.github.com/repos/adoroszlai/ambari/contributors","subscribers_url":"https://api.github.com/repos/adoroszlai/ambari/subscribers","subscription_url":"https://api.github.com/repos/adoroszlai/ambari/subscription","commits_url":"https://api.github.com/repos/adoroszlai/ambari/commits{/sha}","git_commits_url":"https://api.github.com/repos/adoroszlai/ambari/git/commits{/sha}","comments_url":"https://api.github.com/repos/adoroszlai/ambari/comments{/number}","issue_comment_url":"https://api.github.com/repos/adoroszlai/ambari/issues/comments{/number}","contents_url":"https://api.github.com/repos/adoroszlai/ambari/contents/{+path}","compare_url":"https://api.github.com/repos/adoroszlai/ambari/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adoroszlai/ambari/merges","archive_url":"https://api.github.com/repos/adoroszlai/ambari/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adoroszlai/ambari/downloads","issues_url":"https://api.github.com/repos/adoroszlai/ambari/issues{/number}","pulls_url":"https://api.github.com/repos/adoroszlai/ambari/pulls{/number}","milestones_url":"https://api.github.com/repos/adoroszlai/ambari/milestones{/number}","notifications_url":"https://api.github.com/repos/adoroszlai/ambari/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adoroszlai/ambari/labels{/name}","releases_url":"https://api.github.com/repos/adoroszlai/ambari/releases{/id}","deployments_url":"https://api.github.com/repos/adoroszlai/ambari/deployments","created_at":"2018-01-08T20:41:39Z","updated_at":"2018-07-01T13:01:27Z","pushed_at":"2018-09-21T17:37:51Z","git_url":"git://github.com/adoroszlai/ambari.git","ssh_url":"git@github.com:adoroszlai/ambari.git","clone_url":"https://github.com/adoroszlai/ambari.git","svn_url":"https://github.com/adoroszlai/ambari","homepage":null,"size":329575,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"trunk"}},"base":{"label":"apache:trunk","ref":"trunk","sha":"3231893f6488bafed5d5c0d87d0aeaccb8d24498","user":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","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":2442457,"node_id":"MDEwOlJlcG9zaXRvcnkyNDQyNDU3","name":"ambari","full_name":"apache/ambari","private":false,"owner":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","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},"html_url":"https://github.com/apache/ambari","description":"Mirror of Apache Ambari","fork":false,"url":"https://api.github.com/repos/apache/ambari","forks_url":"https://api.github.com/repos/apache/ambari/forks","keys_url":"https://api.github.com/repos/apache/ambari/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/ambari/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/ambari/teams","hooks_url":"https://api.github.com/repos/apache/ambari/hooks","issue_events_url":"https://api.github.com/repos/apache/ambari/issues/events{/number}","events_url":"https://api.github.com/repos/apache/ambari/events","assignees_url":"https://api.github.com/repos/apache/ambari/assignees{/user}","branches_url":"https://api.github.com/repos/apache/ambari/branches{/branch}","tags_url":"https://api.github.com/repos/apache/ambari/tags","blobs_url":"https://api.github.com/repos/apache/ambari/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/ambari/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/ambari/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/ambari/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/ambari/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/ambari/languages","stargazers_url":"https://api.github.com/repos/apache/ambari/stargazers","contributors_url":"https://api.github.com/repos/apache/ambari/contributors","subscribers_url":"https://api.github.com/repos/apache/ambari/subscribers","subscription_url":"https://api.github.com/repos/apache/ambari/subscription","commits_url":"https://api.github.com/repos/apache/ambari/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/ambari/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/ambari/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/ambari/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/ambari/contents/{+path}","compare_url":"https://api.github.com/repos/apache/ambari/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/ambari/merges","archive_url":"https://api.github.com/repos/apache/ambari/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/ambari/downloads","issues_url":"https://api.github.com/repos/apache/ambari/issues{/number}","pulls_url":"https://api.github.com/repos/apache/ambari/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/ambari/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/ambari/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/ambari/labels{/name}","releases_url":"https://api.github.com/repos/apache/ambari/releases{/id}","deployments_url":"https://api.github.com/repos/apache/ambari/deployments","created_at":"2011-09-23T07:00:08Z","updated_at":"2018-09-21T11:47:48Z","pushed_at":"2018-09-21T15:37:36Z","git_url":"git://github.com/apache/ambari.git","ssh_url":"git@github.com:apache/ambari.git","clone_url":"https://github.com/apache/ambari.git","svn_url":"https://github.com/apache/ambari","homepage":null,"size":334984,"stargazers_count":926,"watchers_count":926,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":934,"mirror_url":null,"archived":false,"open_issues_count":72,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":934,"open_issues":72,"watchers":926,"default_branch":"trunk"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/ambari/pulls/2361"},"html":{"href":"https://github.com/apache/ambari/pull/2361"},"issue":{"href":"https://api.github.com/repos/apache/ambari/issues/2361"},"comments":{"href":"https://api.github.com/repos/apache/ambari/issues/2361/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/ambari/pulls/2361/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/ambari/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/ambari/pulls/2361/commits"},"statuses":{"href":"https://api.github.com/repos/apache/ambari/statuses/532c0614152356363810b387bfaa61f2cd39a4a8"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":35,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"adoroszlai"}}