{"action":"created","comment":{"url":"https://api.github.com/repos/qubole/qds-sdk-py/pulls/comments/63960066","id":63960066,"diff_hunk":"@@ -87,10 +87,26 @@ def run(cls, **kwargs):\n         Returns:\n             Command object\n         \"\"\"\n+        err_pointer, tmp_pointer, new_bytes = 0, 0, 0\n         cmd = cls.create(**kwargs)\n         while not Command.is_done(cmd.status):\n             time.sleep(Qubole.poll_interval)\n             cmd = cls.find(cmd.id)\n+            if kwargs.get('print_logs_live', False):\n+                log, err_length, tmp_length = cmd.get_log_partial(err_pointer, tmp_pointer)","path":"qds_sdk/commands.py","position":10,"original_position":10,"commit_id":"75f3baedee313a69629355c79c5b5471e74f313c","original_commit_id":"75f3baedee313a69629355c79c5b5471e74f313c","user":{"login":"harshshah87","id":5438083,"avatar_url":"https://avatars.githubusercontent.com/u/5438083?v=3","gravatar_id":"","url":"https://api.github.com/users/harshshah87","html_url":"https://github.com/harshshah87","followers_url":"https://api.github.com/users/harshshah87/followers","following_url":"https://api.github.com/users/harshshah87/following{/other_user}","gists_url":"https://api.github.com/users/harshshah87/gists{/gist_id}","starred_url":"https://api.github.com/users/harshshah87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshshah87/subscriptions","organizations_url":"https://api.github.com/users/harshshah87/orgs","repos_url":"https://api.github.com/users/harshshah87/repos","events_url":"https://api.github.com/users/harshshah87/events{/privacy}","received_events_url":"https://api.github.com/users/harshshah87/received_events","type":"User","site_admin":false},"body":"What is err_length and tmp_length here? And what will be the contents of logs? is it the complete log text or partial?\r\n","created_at":"2016-05-19T21:47:38Z","updated_at":"2016-05-19T21:47:38Z","html_url":"https://github.com/qubole/qds-sdk-py/pull/134#discussion_r63960066","pull_request_url":"https://api.github.com/repos/qubole/qds-sdk-py/pulls/134","_links":{"self":{"href":"https://api.github.com/repos/qubole/qds-sdk-py/pulls/comments/63960066"},"html":{"href":"https://github.com/qubole/qds-sdk-py/pull/134#discussion_r63960066"},"pull_request":{"href":"https://api.github.com/repos/qubole/qds-sdk-py/pulls/134"}}},"pull_request":{"url":"https://api.github.com/repos/qubole/qds-sdk-py/pulls/134","id":54804465,"html_url":"https://github.com/qubole/qds-sdk-py/pull/134","diff_url":"https://github.com/qubole/qds-sdk-py/pull/134.diff","patch_url":"https://github.com/qubole/qds-sdk-py/pull/134.patch","issue_url":"https://api.github.com/repos/qubole/qds-sdk-py/issues/134","number":134,"state":"open","locked":false,"title":"Adding live log support","user":{"login":"msumit","id":2018407,"avatar_url":"https://avatars.githubusercontent.com/u/2018407?v=3","gravatar_id":"","url":"https://api.github.com/users/msumit","html_url":"https://github.com/msumit","followers_url":"https://api.github.com/users/msumit/followers","following_url":"https://api.github.com/users/msumit/following{/other_user}","gists_url":"https://api.github.com/users/msumit/gists{/gist_id}","starred_url":"https://api.github.com/users/msumit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msumit/subscriptions","organizations_url":"https://api.github.com/users/msumit/orgs","repos_url":"https://api.github.com/users/msumit/repos","events_url":"https://api.github.com/users/msumit/events{/privacy}","received_events_url":"https://api.github.com/users/msumit/received_events","type":"User","site_admin":false},"body":"dependent on https://bitbucket.org/qubole/qbol/pull-requests/2055/tapp-changes-to-provide-live-log","created_at":"2015-12-30T14:48:06Z","updated_at":"2016-05-19T21:47:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"acbd3c0a5eeff680762c90cb345003e65c55df1a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/qubole/qds-sdk-py/pulls/134/commits","review_comments_url":"https://api.github.com/repos/qubole/qds-sdk-py/pulls/134/comments","review_comment_url":"https://api.github.com/repos/qubole/qds-sdk-py/pulls/comments{/number}","comments_url":"https://api.github.com/repos/qubole/qds-sdk-py/issues/134/comments","statuses_url":"https://api.github.com/repos/qubole/qds-sdk-py/statuses/75f3baedee313a69629355c79c5b5471e74f313c","head":{"label":"msumit:master","ref":"master","sha":"75f3baedee313a69629355c79c5b5471e74f313c","user":{"login":"msumit","id":2018407,"avatar_url":"https://avatars.githubusercontent.com/u/2018407?v=3","gravatar_id":"","url":"https://api.github.com/users/msumit","html_url":"https://github.com/msumit","followers_url":"https://api.github.com/users/msumit/followers","following_url":"https://api.github.com/users/msumit/following{/other_user}","gists_url":"https://api.github.com/users/msumit/gists{/gist_id}","starred_url":"https://api.github.com/users/msumit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msumit/subscriptions","organizations_url":"https://api.github.com/users/msumit/orgs","repos_url":"https://api.github.com/users/msumit/repos","events_url":"https://api.github.com/users/msumit/events{/privacy}","received_events_url":"https://api.github.com/users/msumit/received_events","type":"User","site_admin":false},"repo":{"id":26749329,"name":"qds-sdk-py","full_name":"msumit/qds-sdk-py","owner":{"login":"msumit","id":2018407,"avatar_url":"https://avatars.githubusercontent.com/u/2018407?v=3","gravatar_id":"","url":"https://api.github.com/users/msumit","html_url":"https://github.com/msumit","followers_url":"https://api.github.com/users/msumit/followers","following_url":"https://api.github.com/users/msumit/following{/other_user}","gists_url":"https://api.github.com/users/msumit/gists{/gist_id}","starred_url":"https://api.github.com/users/msumit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msumit/subscriptions","organizations_url":"https://api.github.com/users/msumit/orgs","repos_url":"https://api.github.com/users/msumit/repos","events_url":"https://api.github.com/users/msumit/events{/privacy}","received_events_url":"https://api.github.com/users/msumit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/msumit/qds-sdk-py","description":"Python SDK for accessing Qubole Data Service","fork":true,"url":"https://api.github.com/repos/msumit/qds-sdk-py","forks_url":"https://api.github.com/repos/msumit/qds-sdk-py/forks","keys_url":"https://api.github.com/repos/msumit/qds-sdk-py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/msumit/qds-sdk-py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/msumit/qds-sdk-py/teams","hooks_url":"https://api.github.com/repos/msumit/qds-sdk-py/hooks","issue_events_url":"https://api.github.com/repos/msumit/qds-sdk-py/issues/events{/number}","events_url":"https://api.github.com/repos/msumit/qds-sdk-py/events","assignees_url":"https://api.github.com/repos/msumit/qds-sdk-py/assignees{/user}","branches_url":"https://api.github.com/repos/msumit/qds-sdk-py/branches{/branch}","tags_url":"https://api.github.com/repos/msumit/qds-sdk-py/tags","blobs_url":"https://api.github.com/repos/msumit/qds-sdk-py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/msumit/qds-sdk-py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/msumit/qds-sdk-py/git/refs{/sha}","trees_url":"https://api.github.com/repos/msumit/qds-sdk-py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/msumit/qds-sdk-py/statuses/{sha}","languages_url":"https://api.github.com/repos/msumit/qds-sdk-py/languages","stargazers_url":"https://api.github.com/repos/msumit/qds-sdk-py/stargazers","contributors_url":"https://api.github.com/repos/msumit/qds-sdk-py/contributors","subscribers_url":"https://api.github.com/repos/msumit/qds-sdk-py/subscribers","subscription_url":"https://api.github.com/repos/msumit/qds-sdk-py/subscription","commits_url":"https://api.github.com/repos/msumit/qds-sdk-py/commits{/sha}","git_commits_url":"https://api.github.com/repos/msumit/qds-sdk-py/git/commits{/sha}","comments_url":"https://api.github.com/repos/msumit/qds-sdk-py/comments{/number}","issue_comment_url":"https://api.github.com/repos/msumit/qds-sdk-py/issues/comments{/number}","contents_url":"https://api.github.com/repos/msumit/qds-sdk-py/contents/{+path}","compare_url":"https://api.github.com/repos/msumit/qds-sdk-py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/msumit/qds-sdk-py/merges","archive_url":"https://api.github.com/repos/msumit/qds-sdk-py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/msumit/qds-sdk-py/downloads","issues_url":"https://api.github.com/repos/msumit/qds-sdk-py/issues{/number}","pulls_url":"https://api.github.com/repos/msumit/qds-sdk-py/pulls{/number}","milestones_url":"https://api.github.com/repos/msumit/qds-sdk-py/milestones{/number}","notifications_url":"https://api.github.com/repos/msumit/qds-sdk-py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/msumit/qds-sdk-py/labels{/name}","releases_url":"https://api.github.com/repos/msumit/qds-sdk-py/releases{/id}","deployments_url":"https://api.github.com/repos/msumit/qds-sdk-py/deployments","created_at":"2014-11-17T09:21:59Z","updated_at":"2016-02-11T20:55:02Z","pushed_at":"2016-02-11T20:55:01Z","git_url":"git://github.com/msumit/qds-sdk-py.git","ssh_url":"git@github.com:msumit/qds-sdk-py.git","clone_url":"https://github.com/msumit/qds-sdk-py.git","svn_url":"https://github.com/msumit/qds-sdk-py","homepage":null,"size":527,"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":"qubole:master","ref":"master","sha":"6e4b6dd82fdbdd1b5a5bdf7f1fca03d9d01b68af","user":{"login":"qubole","id":1259448,"avatar_url":"https://avatars.githubusercontent.com/u/1259448?v=3","gravatar_id":"","url":"https://api.github.com/users/qubole","html_url":"https://github.com/qubole","followers_url":"https://api.github.com/users/qubole/followers","following_url":"https://api.github.com/users/qubole/following{/other_user}","gists_url":"https://api.github.com/users/qubole/gists{/gist_id}","starred_url":"https://api.github.com/users/qubole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qubole/subscriptions","organizations_url":"https://api.github.com/users/qubole/orgs","repos_url":"https://api.github.com/users/qubole/repos","events_url":"https://api.github.com/users/qubole/events{/privacy}","received_events_url":"https://api.github.com/users/qubole/received_events","type":"Organization","site_admin":false},"repo":{"id":10472606,"name":"qds-sdk-py","full_name":"qubole/qds-sdk-py","owner":{"login":"qubole","id":1259448,"avatar_url":"https://avatars.githubusercontent.com/u/1259448?v=3","gravatar_id":"","url":"https://api.github.com/users/qubole","html_url":"https://github.com/qubole","followers_url":"https://api.github.com/users/qubole/followers","following_url":"https://api.github.com/users/qubole/following{/other_user}","gists_url":"https://api.github.com/users/qubole/gists{/gist_id}","starred_url":"https://api.github.com/users/qubole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qubole/subscriptions","organizations_url":"https://api.github.com/users/qubole/orgs","repos_url":"https://api.github.com/users/qubole/repos","events_url":"https://api.github.com/users/qubole/events{/privacy}","received_events_url":"https://api.github.com/users/qubole/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/qubole/qds-sdk-py","description":"Python SDK for accessing Qubole Data Service","fork":false,"url":"https://api.github.com/repos/qubole/qds-sdk-py","forks_url":"https://api.github.com/repos/qubole/qds-sdk-py/forks","keys_url":"https://api.github.com/repos/qubole/qds-sdk-py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qubole/qds-sdk-py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qubole/qds-sdk-py/teams","hooks_url":"https://api.github.com/repos/qubole/qds-sdk-py/hooks","issue_events_url":"https://api.github.com/repos/qubole/qds-sdk-py/issues/events{/number}","events_url":"https://api.github.com/repos/qubole/qds-sdk-py/events","assignees_url":"https://api.github.com/repos/qubole/qds-sdk-py/assignees{/user}","branches_url":"https://api.github.com/repos/qubole/qds-sdk-py/branches{/branch}","tags_url":"https://api.github.com/repos/qubole/qds-sdk-py/tags","blobs_url":"https://api.github.com/repos/qubole/qds-sdk-py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qubole/qds-sdk-py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qubole/qds-sdk-py/git/refs{/sha}","trees_url":"https://api.github.com/repos/qubole/qds-sdk-py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qubole/qds-sdk-py/statuses/{sha}","languages_url":"https://api.github.com/repos/qubole/qds-sdk-py/languages","stargazers_url":"https://api.github.com/repos/qubole/qds-sdk-py/stargazers","contributors_url":"https://api.github.com/repos/qubole/qds-sdk-py/contributors","subscribers_url":"https://api.github.com/repos/qubole/qds-sdk-py/subscribers","subscription_url":"https://api.github.com/repos/qubole/qds-sdk-py/subscription","commits_url":"https://api.github.com/repos/qubole/qds-sdk-py/commits{/sha}","git_commits_url":"https://api.github.com/repos/qubole/qds-sdk-py/git/commits{/sha}","comments_url":"https://api.github.com/repos/qubole/qds-sdk-py/comments{/number}","issue_comment_url":"https://api.github.com/repos/qubole/qds-sdk-py/issues/comments{/number}","contents_url":"https://api.github.com/repos/qubole/qds-sdk-py/contents/{+path}","compare_url":"https://api.github.com/repos/qubole/qds-sdk-py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qubole/qds-sdk-py/merges","archive_url":"https://api.github.com/repos/qubole/qds-sdk-py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qubole/qds-sdk-py/downloads","issues_url":"https://api.github.com/repos/qubole/qds-sdk-py/issues{/number}","pulls_url":"https://api.github.com/repos/qubole/qds-sdk-py/pulls{/number}","milestones_url":"https://api.github.com/repos/qubole/qds-sdk-py/milestones{/number}","notifications_url":"https://api.github.com/repos/qubole/qds-sdk-py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qubole/qds-sdk-py/labels{/name}","releases_url":"https://api.github.com/repos/qubole/qds-sdk-py/releases{/id}","deployments_url":"https://api.github.com/repos/qubole/qds-sdk-py/deployments","created_at":"2013-06-04T06:49:05Z","updated_at":"2016-05-18T15:21:57Z","pushed_at":"2016-05-19T07:52:42Z","git_url":"git://github.com/qubole/qds-sdk-py.git","ssh_url":"git@github.com:qubole/qds-sdk-py.git","clone_url":"https://github.com/qubole/qds-sdk-py.git","svn_url":"https://github.com/qubole/qds-sdk-py","homepage":"https://api.qubole.com","size":1013,"stargazers_count":14,"watchers_count":14,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":46,"mirror_url":null,"open_issues_count":15,"forks":46,"open_issues":15,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/qubole/qds-sdk-py/pulls/134"},"html":{"href":"https://github.com/qubole/qds-sdk-py/pull/134"},"issue":{"href":"https://api.github.com/repos/qubole/qds-sdk-py/issues/134"},"comments":{"href":"https://api.github.com/repos/qubole/qds-sdk-py/issues/134/comments"},"review_comments":{"href":"https://api.github.com/repos/qubole/qds-sdk-py/pulls/134/comments"},"review_comment":{"href":"https://api.github.com/repos/qubole/qds-sdk-py/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/qubole/qds-sdk-py/pulls/134/commits"},"statuses":{"href":"https://api.github.com/repos/qubole/qds-sdk-py/statuses/75f3baedee313a69629355c79c5b5471e74f313c"}}}}
{"actor":{"display_login":"harshshah87"}}