{"action":"closed","number":2187,"pull_request":{"url":"https://api.github.com/repos/apache/incubator-gobblin/pulls/2187","id":156555831,"html_url":"https://github.com/apache/incubator-gobblin/pull/2187","diff_url":"https://github.com/apache/incubator-gobblin/pull/2187.diff","patch_url":"https://github.com/apache/incubator-gobblin/pull/2187.patch","issue_url":"https://api.github.com/repos/apache/incubator-gobblin/issues/2187","number":2187,"state":"closed","locked":false,"title":"[GOBBLIN-334] Implement SharedResourceFactory for LineageInfo","user":{"login":"zxcware","id":2355051,"avatar_url":"https://avatars1.githubusercontent.com/u/2355051?v=4","gravatar_id":"","url":"https://api.github.com/users/zxcware","html_url":"https://github.com/zxcware","followers_url":"https://api.github.com/users/zxcware/followers","following_url":"https://api.github.com/users/zxcware/following{/other_user}","gists_url":"https://api.github.com/users/zxcware/gists{/gist_id}","starred_url":"https://api.github.com/users/zxcware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zxcware/subscriptions","organizations_url":"https://api.github.com/users/zxcware/orgs","repos_url":"https://api.github.com/users/zxcware/repos","events_url":"https://api.github.com/users/zxcware/events{/privacy}","received_events_url":"https://api.github.com/users/zxcware/received_events","type":"User","site_admin":false},"body":"Dear Gobblin maintainers,\r\n\r\n### JIRA\r\n- [x] My PR addresses the following [Gobblin JIRA](https://issues.apache.org/jira/browse/GOBBLIN/) issues and references them in the PR title.\r\n    - https://issues.apache.org/jira/browse/GOBBLIN-334\r\n\r\n\r\n### Description\r\n- [x] Here are some details about my PR:\r\n  - Currently, setting or putting a `DatasetDescriptor` with `LineageInfo` creates a new `DatasetResolver` every time. It's not performant.\r\n  - The `SharedResourceFactory` (`LineageInfoFactory`) creates a single job level `LineageInfo` instance so that one job process creates only one `LineageInfo` object, hence only one `DatasetResolver` object. \r\n\r\n### Tests\r\n- [x] My PR adds the following unit tests:\r\n  - `LineageEventTest`\r\n\r\n### Commits\r\n- [x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from \"[How to write a good git commit message](http://chris.beams.io/posts/git-commit/)\":\r\n    1. Subject is separated from body by a blank line\r\n    2. Subject is limited to 50 characters\r\n    3. Subject does not end with a period\r\n    4. Subject uses the imperative mood (\"add\", not \"adding\")\r\n    5. Body wraps at 72 characters\r\n    6. Body explains \"what\" and \"why\", not \"how\"\r\n\r\n","created_at":"2017-12-05T19:41:55Z","updated_at":"2017-12-08T19:31:54Z","closed_at":"2017-12-08T19:31:54Z","merged_at":null,"merge_commit_sha":"9d5cd51e90d2212b571f302b8dfbd1ddf36fce6a","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-gobblin/pulls/2187/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-gobblin/pulls/2187/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-gobblin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-gobblin/issues/2187/comments","statuses_url":"https://api.github.com/repos/apache/incubator-gobblin/statuses/1d8413c4cff647e87641eb83726c28ddddad4a35","head":{"label":"zxcware:share","ref":"share","sha":"1d8413c4cff647e87641eb83726c28ddddad4a35","user":{"login":"zxcware","id":2355051,"avatar_url":"https://avatars1.githubusercontent.com/u/2355051?v=4","gravatar_id":"","url":"https://api.github.com/users/zxcware","html_url":"https://github.com/zxcware","followers_url":"https://api.github.com/users/zxcware/followers","following_url":"https://api.github.com/users/zxcware/following{/other_user}","gists_url":"https://api.github.com/users/zxcware/gists{/gist_id}","starred_url":"https://api.github.com/users/zxcware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zxcware/subscriptions","organizations_url":"https://api.github.com/users/zxcware/orgs","repos_url":"https://api.github.com/users/zxcware/repos","events_url":"https://api.github.com/users/zxcware/events{/privacy}","received_events_url":"https://api.github.com/users/zxcware/received_events","type":"User","site_admin":false},"repo":{"id":77711189,"name":"gobblin","full_name":"zxcware/gobblin","owner":{"login":"zxcware","id":2355051,"avatar_url":"https://avatars1.githubusercontent.com/u/2355051?v=4","gravatar_id":"","url":"https://api.github.com/users/zxcware","html_url":"https://github.com/zxcware","followers_url":"https://api.github.com/users/zxcware/followers","following_url":"https://api.github.com/users/zxcware/following{/other_user}","gists_url":"https://api.github.com/users/zxcware/gists{/gist_id}","starred_url":"https://api.github.com/users/zxcware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zxcware/subscriptions","organizations_url":"https://api.github.com/users/zxcware/orgs","repos_url":"https://api.github.com/users/zxcware/repos","events_url":"https://api.github.com/users/zxcware/events{/privacy}","received_events_url":"https://api.github.com/users/zxcware/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zxcware/gobblin","description":"Universal data ingestion framework for Hadoop.","fork":true,"url":"https://api.github.com/repos/zxcware/gobblin","forks_url":"https://api.github.com/repos/zxcware/gobblin/forks","keys_url":"https://api.github.com/repos/zxcware/gobblin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zxcware/gobblin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zxcware/gobblin/teams","hooks_url":"https://api.github.com/repos/zxcware/gobblin/hooks","issue_events_url":"https://api.github.com/repos/zxcware/gobblin/issues/events{/number}","events_url":"https://api.github.com/repos/zxcware/gobblin/events","assignees_url":"https://api.github.com/repos/zxcware/gobblin/assignees{/user}","branches_url":"https://api.github.com/repos/zxcware/gobblin/branches{/branch}","tags_url":"https://api.github.com/repos/zxcware/gobblin/tags","blobs_url":"https://api.github.com/repos/zxcware/gobblin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zxcware/gobblin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zxcware/gobblin/git/refs{/sha}","trees_url":"https://api.github.com/repos/zxcware/gobblin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zxcware/gobblin/statuses/{sha}","languages_url":"https://api.github.com/repos/zxcware/gobblin/languages","stargazers_url":"https://api.github.com/repos/zxcware/gobblin/stargazers","contributors_url":"https://api.github.com/repos/zxcware/gobblin/contributors","subscribers_url":"https://api.github.com/repos/zxcware/gobblin/subscribers","subscription_url":"https://api.github.com/repos/zxcware/gobblin/subscription","commits_url":"https://api.github.com/repos/zxcware/gobblin/commits{/sha}","git_commits_url":"https://api.github.com/repos/zxcware/gobblin/git/commits{/sha}","comments_url":"https://api.github.com/repos/zxcware/gobblin/comments{/number}","issue_comment_url":"https://api.github.com/repos/zxcware/gobblin/issues/comments{/number}","contents_url":"https://api.github.com/repos/zxcware/gobblin/contents/{+path}","compare_url":"https://api.github.com/repos/zxcware/gobblin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zxcware/gobblin/merges","archive_url":"https://api.github.com/repos/zxcware/gobblin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zxcware/gobblin/downloads","issues_url":"https://api.github.com/repos/zxcware/gobblin/issues{/number}","pulls_url":"https://api.github.com/repos/zxcware/gobblin/pulls{/number}","milestones_url":"https://api.github.com/repos/zxcware/gobblin/milestones{/number}","notifications_url":"https://api.github.com/repos/zxcware/gobblin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zxcware/gobblin/labels{/name}","releases_url":"https://api.github.com/repos/zxcware/gobblin/releases{/id}","deployments_url":"https://api.github.com/repos/zxcware/gobblin/deployments","created_at":"2016-12-30T21:24:40Z","updated_at":"2016-12-30T21:24:48Z","pushed_at":"2017-12-08T01:46:21Z","git_url":"git://github.com/zxcware/gobblin.git","ssh_url":"git@github.com:zxcware/gobblin.git","clone_url":"https://github.com/zxcware/gobblin.git","svn_url":"https://github.com/zxcware/gobblin","homepage":"https://github.com/linkedin/gobblin/wiki","size":113934,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"f01939657aa34406a9428795f0c5ab29d582a436","user":{"login":"apache","id":47359,"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":27392543,"name":"incubator-gobblin","full_name":"apache/incubator-gobblin","owner":{"login":"apache","id":47359,"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},"private":false,"html_url":"https://github.com/apache/incubator-gobblin","description":"Gobblin is a distributed big data integration framework (ingestion, replication, compliance, retention)  for batch and streaming systems. Gobblin features integrations with Apache Hadoop, Apache Kafka, Salesforce, S3, MySQL, Google etc.","fork":false,"url":"https://api.github.com/repos/apache/incubator-gobblin","forks_url":"https://api.github.com/repos/apache/incubator-gobblin/forks","keys_url":"https://api.github.com/repos/apache/incubator-gobblin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-gobblin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-gobblin/teams","hooks_url":"https://api.github.com/repos/apache/incubator-gobblin/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-gobblin/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-gobblin/events","assignees_url":"https://api.github.com/repos/apache/incubator-gobblin/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-gobblin/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-gobblin/tags","blobs_url":"https://api.github.com/repos/apache/incubator-gobblin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-gobblin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-gobblin/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-gobblin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-gobblin/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-gobblin/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-gobblin/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-gobblin/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-gobblin/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-gobblin/subscription","commits_url":"https://api.github.com/repos/apache/incubator-gobblin/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-gobblin/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-gobblin/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-gobblin/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-gobblin/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-gobblin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-gobblin/merges","archive_url":"https://api.github.com/repos/apache/incubator-gobblin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-gobblin/downloads","issues_url":"https://api.github.com/repos/apache/incubator-gobblin/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-gobblin/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-gobblin/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-gobblin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-gobblin/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-gobblin/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-gobblin/deployments","created_at":"2014-12-01T18:10:50Z","updated_at":"2017-12-08T01:12:05Z","pushed_at":"2017-12-08T19:31:51Z","git_url":"git://github.com/apache/incubator-gobblin.git","ssh_url":"git@github.com:apache/incubator-gobblin.git","clone_url":"https://github.com/apache/incubator-gobblin.git","svn_url":"https://github.com/apache/incubator-gobblin","homepage":"https://github.com/linkedin/gobblin/wiki","size":121169,"stargazers_count":1140,"watchers_count":1140,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":457,"mirror_url":null,"archived":false,"open_issues_count":22,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":457,"open_issues":22,"watchers":1140,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-gobblin/pulls/2187"},"html":{"href":"https://github.com/apache/incubator-gobblin/pull/2187"},"issue":{"href":"https://api.github.com/repos/apache/incubator-gobblin/issues/2187"},"comments":{"href":"https://api.github.com/repos/apache/incubator-gobblin/issues/2187/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-gobblin/pulls/2187/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-gobblin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-gobblin/pulls/2187/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-gobblin/statuses/1d8413c4cff647e87641eb83726c28ddddad4a35"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":2,"review_comments":4,"maintainer_can_modify":false,"commits":6,"additions":275,"deletions":35,"changed_files":16}}
{"actor":{"display_login":"asfgit"}}