{"action":"opened","number":1957,"pull_request":{"url":"https://api.github.com/repos/apache/incubator-airflow/pulls/1957","id":99360686,"html_url":"https://github.com/apache/incubator-airflow/pull/1957","diff_url":"https://github.com/apache/incubator-airflow/pull/1957.diff","patch_url":"https://github.com/apache/incubator-airflow/pull/1957.patch","issue_url":"https://api.github.com/repos/apache/incubator-airflow/issues/1957","number":1957,"state":"open","locked":false,"title":"[AIRFLOW-715] A more efficient HDFS Sensor:","user":{"login":"vfoucault","id":8577517,"avatar_url":"https://avatars.githubusercontent.com/u/8577517?v=3","gravatar_id":"","url":"https://api.github.com/users/vfoucault","html_url":"https://github.com/vfoucault","followers_url":"https://api.github.com/users/vfoucault/followers","following_url":"https://api.github.com/users/vfoucault/following{/other_user}","gists_url":"https://api.github.com/users/vfoucault/gists{/gist_id}","starred_url":"https://api.github.com/users/vfoucault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vfoucault/subscriptions","organizations_url":"https://api.github.com/users/vfoucault/orgs","repos_url":"https://api.github.com/users/vfoucault/repos","events_url":"https://api.github.com/users/vfoucault/events{/privacy}","received_events_url":"https://api.github.com/users/vfoucault/received_events","type":"User","site_admin":false},"body":"HDFS Sensor is now capable to trigger true based on a file size, a directory status\r\n(empty or not) a regex to match files in a directory and also to discard copying files.\r\n\r\nWith the base HDFS Sensor, it was not possible to watch a directory for files with a\r\nunknown name.\r\n\r\nHDFS Sensors is now extended with (contrib):\r\n\r\n  - HdfsSensorRegex : for matching files wih a regex (re)\r\n  - HdfsSensorFolder : for matching with directory\r\n\r\nHDFS Sensor has now to built in filters :\r\n\r\n  - filter_for_filesize : to filter list result by the filesize\r\n  - filter_for_ignored_ext : to discard or not copying files\r\n\r\nUnittests added with a new FakeSnakebite client and a FakeHdfsHook\r\n\r\nDear Airflow Maintainers,\r\n\r\nPlease accept this PR that addresses the following issues:\r\n- [AIRFLOW-715](https://issues.apache.org/jira/browse/AIRFLOW-715)\r\n\r\n","created_at":"2016-12-26T10:52:06Z","updated_at":"2016-12-26T10:52:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-airflow/pulls/1957/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-airflow/pulls/1957/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-airflow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-airflow/issues/1957/comments","statuses_url":"https://api.github.com/repos/apache/incubator-airflow/statuses/c684dc2e10787d1a24e0131e1c4480ada68df99c","head":{"label":"vfoucault:feature/AIRFLOW-715","ref":"feature/AIRFLOW-715","sha":"c684dc2e10787d1a24e0131e1c4480ada68df99c","user":{"login":"vfoucault","id":8577517,"avatar_url":"https://avatars.githubusercontent.com/u/8577517?v=3","gravatar_id":"","url":"https://api.github.com/users/vfoucault","html_url":"https://github.com/vfoucault","followers_url":"https://api.github.com/users/vfoucault/followers","following_url":"https://api.github.com/users/vfoucault/following{/other_user}","gists_url":"https://api.github.com/users/vfoucault/gists{/gist_id}","starred_url":"https://api.github.com/users/vfoucault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vfoucault/subscriptions","organizations_url":"https://api.github.com/users/vfoucault/orgs","repos_url":"https://api.github.com/users/vfoucault/repos","events_url":"https://api.github.com/users/vfoucault/events{/privacy}","received_events_url":"https://api.github.com/users/vfoucault/received_events","type":"User","site_admin":false},"repo":{"id":77328541,"name":"incubator-airflow","full_name":"vfoucault/incubator-airflow","owner":{"login":"vfoucault","id":8577517,"avatar_url":"https://avatars.githubusercontent.com/u/8577517?v=3","gravatar_id":"","url":"https://api.github.com/users/vfoucault","html_url":"https://github.com/vfoucault","followers_url":"https://api.github.com/users/vfoucault/followers","following_url":"https://api.github.com/users/vfoucault/following{/other_user}","gists_url":"https://api.github.com/users/vfoucault/gists{/gist_id}","starred_url":"https://api.github.com/users/vfoucault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vfoucault/subscriptions","organizations_url":"https://api.github.com/users/vfoucault/orgs","repos_url":"https://api.github.com/users/vfoucault/repos","events_url":"https://api.github.com/users/vfoucault/events{/privacy}","received_events_url":"https://api.github.com/users/vfoucault/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vfoucault/incubator-airflow","description":"Apache Airflow (Incubating)","fork":true,"url":"https://api.github.com/repos/vfoucault/incubator-airflow","forks_url":"https://api.github.com/repos/vfoucault/incubator-airflow/forks","keys_url":"https://api.github.com/repos/vfoucault/incubator-airflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vfoucault/incubator-airflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vfoucault/incubator-airflow/teams","hooks_url":"https://api.github.com/repos/vfoucault/incubator-airflow/hooks","issue_events_url":"https://api.github.com/repos/vfoucault/incubator-airflow/issues/events{/number}","events_url":"https://api.github.com/repos/vfoucault/incubator-airflow/events","assignees_url":"https://api.github.com/repos/vfoucault/incubator-airflow/assignees{/user}","branches_url":"https://api.github.com/repos/vfoucault/incubator-airflow/branches{/branch}","tags_url":"https://api.github.com/repos/vfoucault/incubator-airflow/tags","blobs_url":"https://api.github.com/repos/vfoucault/incubator-airflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vfoucault/incubator-airflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vfoucault/incubator-airflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/vfoucault/incubator-airflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vfoucault/incubator-airflow/statuses/{sha}","languages_url":"https://api.github.com/repos/vfoucault/incubator-airflow/languages","stargazers_url":"https://api.github.com/repos/vfoucault/incubator-airflow/stargazers","contributors_url":"https://api.github.com/repos/vfoucault/incubator-airflow/contributors","subscribers_url":"https://api.github.com/repos/vfoucault/incubator-airflow/subscribers","subscription_url":"https://api.github.com/repos/vfoucault/incubator-airflow/subscription","commits_url":"https://api.github.com/repos/vfoucault/incubator-airflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/vfoucault/incubator-airflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/vfoucault/incubator-airflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/vfoucault/incubator-airflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/vfoucault/incubator-airflow/contents/{+path}","compare_url":"https://api.github.com/repos/vfoucault/incubator-airflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vfoucault/incubator-airflow/merges","archive_url":"https://api.github.com/repos/vfoucault/incubator-airflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vfoucault/incubator-airflow/downloads","issues_url":"https://api.github.com/repos/vfoucault/incubator-airflow/issues{/number}","pulls_url":"https://api.github.com/repos/vfoucault/incubator-airflow/pulls{/number}","milestones_url":"https://api.github.com/repos/vfoucault/incubator-airflow/milestones{/number}","notifications_url":"https://api.github.com/repos/vfoucault/incubator-airflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vfoucault/incubator-airflow/labels{/name}","releases_url":"https://api.github.com/repos/vfoucault/incubator-airflow/releases{/id}","deployments_url":"https://api.github.com/repos/vfoucault/incubator-airflow/deployments","created_at":"2016-12-25T14:05:15Z","updated_at":"2016-12-25T14:05:19Z","pushed_at":"2016-12-25T16:11:18Z","git_url":"git://github.com/vfoucault/incubator-airflow.git","ssh_url":"git@github.com:vfoucault/incubator-airflow.git","clone_url":"https://github.com/vfoucault/incubator-airflow.git","svn_url":"https://github.com/vfoucault/incubator-airflow","homepage":"","size":11300,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"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":"d3abe2c3c2dd2ef53b00282de9f9e3a4512ab068","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":33884891,"name":"incubator-airflow","full_name":"apache/incubator-airflow","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-airflow","description":"Apache Airflow (Incubating)","fork":false,"url":"https://api.github.com/repos/apache/incubator-airflow","forks_url":"https://api.github.com/repos/apache/incubator-airflow/forks","keys_url":"https://api.github.com/repos/apache/incubator-airflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-airflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-airflow/teams","hooks_url":"https://api.github.com/repos/apache/incubator-airflow/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-airflow/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-airflow/events","assignees_url":"https://api.github.com/repos/apache/incubator-airflow/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-airflow/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-airflow/tags","blobs_url":"https://api.github.com/repos/apache/incubator-airflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-airflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-airflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-airflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-airflow/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-airflow/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-airflow/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-airflow/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-airflow/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-airflow/subscription","commits_url":"https://api.github.com/repos/apache/incubator-airflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-airflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-airflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-airflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-airflow/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-airflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-airflow/merges","archive_url":"https://api.github.com/repos/apache/incubator-airflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-airflow/downloads","issues_url":"https://api.github.com/repos/apache/incubator-airflow/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-airflow/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-airflow/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-airflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-airflow/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-airflow/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-airflow/deployments","created_at":"2015-04-13T18:04:58Z","updated_at":"2016-12-26T02:09:19Z","pushed_at":"2016-12-26T07:10:39Z","git_url":"git://github.com/apache/incubator-airflow.git","ssh_url":"git@github.com:apache/incubator-airflow.git","clone_url":"https://github.com/apache/incubator-airflow.git","svn_url":"https://github.com/apache/incubator-airflow","homepage":"","size":11293,"stargazers_count":4036,"watchers_count":4036,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1004,"mirror_url":null,"open_issues_count":162,"forks":1004,"open_issues":162,"watchers":4036,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-airflow/pulls/1957"},"html":{"href":"https://github.com/apache/incubator-airflow/pull/1957"},"issue":{"href":"https://api.github.com/repos/apache/incubator-airflow/issues/1957"},"comments":{"href":"https://api.github.com/repos/apache/incubator-airflow/issues/1957/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-airflow/pulls/1957/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-airflow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-airflow/pulls/1957/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-airflow/statuses/c684dc2e10787d1a24e0131e1c4480ada68df99c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":525,"deletions":8,"changed_files":7}}
{"actor":{"display_login":"vfoucault"}}