{"action":"created","comment":{"url":"https://api.github.com/repos/dmwm/CRABServer/pulls/comments/32891901","id":32891901,"diff_hunk":"@@ -140,6 +140,16 @@ export _condor_DAGMAN_CONDOR_RM_EXE=$PWD/condor_rm_fix\n export _CONDOR_DAGMAN_LOG=$PWD/$1.dagman.out\n export _CONDOR_MAX_DAGMAN_LOG=0\n \n+# Export path where final job is written. This requires enable the PER_JOB_HISTORY_DIR\n+# feature in HTCondor configuration. In case this feature is not turn on, CRAB3\n+# will use old logic to get final job ads.\n+# New logic: Read job ad file which is written by HTCondor to a dictionary\n+# Old logic: Use condor_q -debug -userlog <user_log_file>.\n+# Please remember that any condor_q command is expensive to scheduler.\n+# See: https://github.com/dmwm/CRABServer/issues/4618\n+export _CONDOR_PER_JOB_HISTORY_DIR=/data/srv/glidecondor/condor_local/job_history/","path":"scripts/dag_bootstrap_startup.sh","position":null,"original_position":11,"commit_id":"785e79358322cda7d288d7824a859d453c42fade","original_commit_id":"d0ec188ed32b0bda22e292d6c97bd4f425378dc0","user":{"login":"juztas","id":646582,"avatar_url":"https://avatars.githubusercontent.com/u/646582?v=3","gravatar_id":"","url":"https://api.github.com/users/juztas","html_url":"https://github.com/juztas","followers_url":"https://api.github.com/users/juztas/followers","following_url":"https://api.github.com/users/juztas/following{/other_user}","gists_url":"https://api.github.com/users/juztas/gists{/gist_id}","starred_url":"https://api.github.com/users/juztas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juztas/subscriptions","organizations_url":"https://api.github.com/users/juztas/orgs","repos_url":"https://api.github.com/users/juztas/repos","events_url":"https://api.github.com/users/juztas/events{/privacy}","received_events_url":"https://api.github.com/users/juztas/received_events","type":"User","site_admin":false},"body":"changed","created_at":"2015-06-21T09:09:13Z","updated_at":"2015-06-21T09:09:13Z","html_url":"https://github.com/dmwm/CRABServer/pull/4843#discussion_r32891901","pull_request_url":"https://api.github.com/repos/dmwm/CRABServer/pulls/4843","_links":{"self":{"href":"https://api.github.com/repos/dmwm/CRABServer/pulls/comments/32891901"},"html":{"href":"https://github.com/dmwm/CRABServer/pull/4843#discussion_r32891901"},"pull_request":{"href":"https://api.github.com/repos/dmwm/CRABServer/pulls/4843"}}},"pull_request":{"url":"https://api.github.com/repos/dmwm/CRABServer/pulls/4843","id":38103824,"html_url":"https://github.com/dmwm/CRABServer/pull/4843","diff_url":"https://github.com/dmwm/CRABServer/pull/4843.diff","patch_url":"https://github.com/dmwm/CRABServer/pull/4843.patch","issue_url":"https://api.github.com/repos/dmwm/CRABServer/issues/4843","number":4843,"state":"open","locked":false,"title":"Reduce CPU usage on the schedd by enabling PER_JOB_HISTORY_DIR. Fixes…","user":{"login":"juztas","id":646582,"avatar_url":"https://avatars.githubusercontent.com/u/646582?v=3","gravatar_id":"","url":"https://api.github.com/users/juztas","html_url":"https://github.com/juztas","followers_url":"https://api.github.com/users/juztas/followers","following_url":"https://api.github.com/users/juztas/following{/other_user}","gists_url":"https://api.github.com/users/juztas/gists{/gist_id}","starred_url":"https://api.github.com/users/juztas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juztas/subscriptions","organizations_url":"https://api.github.com/users/juztas/orgs","repos_url":"https://api.github.com/users/juztas/repos","events_url":"https://api.github.com/users/juztas/events{/privacy}","received_events_url":"https://api.github.com/users/juztas/received_events","type":"User","site_admin":false},"body":"… #4618","created_at":"2015-06-19T12:44:11Z","updated_at":"2015-06-21T09:09:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3617cd970a923fb6530f79b63010ba3f850dd2e0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dmwm/CRABServer/pulls/4843/commits","review_comments_url":"https://api.github.com/repos/dmwm/CRABServer/pulls/4843/comments","review_comment_url":"https://api.github.com/repos/dmwm/CRABServer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dmwm/CRABServer/issues/4843/comments","statuses_url":"https://api.github.com/repos/dmwm/CRABServer/statuses/785e79358322cda7d288d7824a859d453c42fade","head":{"label":"juztas:per_job_history_dir","ref":"per_job_history_dir","sha":"785e79358322cda7d288d7824a859d453c42fade","user":{"login":"juztas","id":646582,"avatar_url":"https://avatars.githubusercontent.com/u/646582?v=3","gravatar_id":"","url":"https://api.github.com/users/juztas","html_url":"https://github.com/juztas","followers_url":"https://api.github.com/users/juztas/followers","following_url":"https://api.github.com/users/juztas/following{/other_user}","gists_url":"https://api.github.com/users/juztas/gists{/gist_id}","starred_url":"https://api.github.com/users/juztas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juztas/subscriptions","organizations_url":"https://api.github.com/users/juztas/orgs","repos_url":"https://api.github.com/users/juztas/repos","events_url":"https://api.github.com/users/juztas/events{/privacy}","received_events_url":"https://api.github.com/users/juztas/received_events","type":"User","site_admin":false},"repo":{"id":25925221,"name":"CRABServer","full_name":"juztas/CRABServer","owner":{"login":"juztas","id":646582,"avatar_url":"https://avatars.githubusercontent.com/u/646582?v=3","gravatar_id":"","url":"https://api.github.com/users/juztas","html_url":"https://github.com/juztas","followers_url":"https://api.github.com/users/juztas/followers","following_url":"https://api.github.com/users/juztas/following{/other_user}","gists_url":"https://api.github.com/users/juztas/gists{/gist_id}","starred_url":"https://api.github.com/users/juztas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juztas/subscriptions","organizations_url":"https://api.github.com/users/juztas/orgs","repos_url":"https://api.github.com/users/juztas/repos","events_url":"https://api.github.com/users/juztas/events{/privacy}","received_events_url":"https://api.github.com/users/juztas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/juztas/CRABServer","description":"","fork":true,"url":"https://api.github.com/repos/juztas/CRABServer","forks_url":"https://api.github.com/repos/juztas/CRABServer/forks","keys_url":"https://api.github.com/repos/juztas/CRABServer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juztas/CRABServer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juztas/CRABServer/teams","hooks_url":"https://api.github.com/repos/juztas/CRABServer/hooks","issue_events_url":"https://api.github.com/repos/juztas/CRABServer/issues/events{/number}","events_url":"https://api.github.com/repos/juztas/CRABServer/events","assignees_url":"https://api.github.com/repos/juztas/CRABServer/assignees{/user}","branches_url":"https://api.github.com/repos/juztas/CRABServer/branches{/branch}","tags_url":"https://api.github.com/repos/juztas/CRABServer/tags","blobs_url":"https://api.github.com/repos/juztas/CRABServer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juztas/CRABServer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juztas/CRABServer/git/refs{/sha}","trees_url":"https://api.github.com/repos/juztas/CRABServer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juztas/CRABServer/statuses/{sha}","languages_url":"https://api.github.com/repos/juztas/CRABServer/languages","stargazers_url":"https://api.github.com/repos/juztas/CRABServer/stargazers","contributors_url":"https://api.github.com/repos/juztas/CRABServer/contributors","subscribers_url":"https://api.github.com/repos/juztas/CRABServer/subscribers","subscription_url":"https://api.github.com/repos/juztas/CRABServer/subscription","commits_url":"https://api.github.com/repos/juztas/CRABServer/commits{/sha}","git_commits_url":"https://api.github.com/repos/juztas/CRABServer/git/commits{/sha}","comments_url":"https://api.github.com/repos/juztas/CRABServer/comments{/number}","issue_comment_url":"https://api.github.com/repos/juztas/CRABServer/issues/comments{/number}","contents_url":"https://api.github.com/repos/juztas/CRABServer/contents/{+path}","compare_url":"https://api.github.com/repos/juztas/CRABServer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juztas/CRABServer/merges","archive_url":"https://api.github.com/repos/juztas/CRABServer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juztas/CRABServer/downloads","issues_url":"https://api.github.com/repos/juztas/CRABServer/issues{/number}","pulls_url":"https://api.github.com/repos/juztas/CRABServer/pulls{/number}","milestones_url":"https://api.github.com/repos/juztas/CRABServer/milestones{/number}","notifications_url":"https://api.github.com/repos/juztas/CRABServer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juztas/CRABServer/labels{/name}","releases_url":"https://api.github.com/repos/juztas/CRABServer/releases{/id}","created_at":"2014-10-29T14:39:18Z","updated_at":"2015-04-27T13:15:09Z","pushed_at":"2015-06-21T09:08:13Z","git_url":"git://github.com/juztas/CRABServer.git","ssh_url":"git@github.com:juztas/CRABServer.git","clone_url":"https://github.com/juztas/CRABServer.git","svn_url":"https://github.com/juztas/CRABServer","homepage":null,"size":12503,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"dmwm:master","ref":"master","sha":"ff20b8b901befdc9f868d63529a8c3c193a68652","user":{"login":"dmwm","id":988897,"avatar_url":"https://avatars.githubusercontent.com/u/988897?v=3","gravatar_id":"","url":"https://api.github.com/users/dmwm","html_url":"https://github.com/dmwm","followers_url":"https://api.github.com/users/dmwm/followers","following_url":"https://api.github.com/users/dmwm/following{/other_user}","gists_url":"https://api.github.com/users/dmwm/gists{/gist_id}","starred_url":"https://api.github.com/users/dmwm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmwm/subscriptions","organizations_url":"https://api.github.com/users/dmwm/orgs","repos_url":"https://api.github.com/users/dmwm/repos","events_url":"https://api.github.com/users/dmwm/events{/privacy}","received_events_url":"https://api.github.com/users/dmwm/received_events","type":"Organization","site_admin":false},"repo":{"id":4423776,"name":"CRABServer","full_name":"dmwm/CRABServer","owner":{"login":"dmwm","id":988897,"avatar_url":"https://avatars.githubusercontent.com/u/988897?v=3","gravatar_id":"","url":"https://api.github.com/users/dmwm","html_url":"https://github.com/dmwm","followers_url":"https://api.github.com/users/dmwm/followers","following_url":"https://api.github.com/users/dmwm/following{/other_user}","gists_url":"https://api.github.com/users/dmwm/gists{/gist_id}","starred_url":"https://api.github.com/users/dmwm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmwm/subscriptions","organizations_url":"https://api.github.com/users/dmwm/orgs","repos_url":"https://api.github.com/users/dmwm/repos","events_url":"https://api.github.com/users/dmwm/events{/privacy}","received_events_url":"https://api.github.com/users/dmwm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dmwm/CRABServer","description":"","fork":false,"url":"https://api.github.com/repos/dmwm/CRABServer","forks_url":"https://api.github.com/repos/dmwm/CRABServer/forks","keys_url":"https://api.github.com/repos/dmwm/CRABServer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmwm/CRABServer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmwm/CRABServer/teams","hooks_url":"https://api.github.com/repos/dmwm/CRABServer/hooks","issue_events_url":"https://api.github.com/repos/dmwm/CRABServer/issues/events{/number}","events_url":"https://api.github.com/repos/dmwm/CRABServer/events","assignees_url":"https://api.github.com/repos/dmwm/CRABServer/assignees{/user}","branches_url":"https://api.github.com/repos/dmwm/CRABServer/branches{/branch}","tags_url":"https://api.github.com/repos/dmwm/CRABServer/tags","blobs_url":"https://api.github.com/repos/dmwm/CRABServer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmwm/CRABServer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmwm/CRABServer/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmwm/CRABServer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmwm/CRABServer/statuses/{sha}","languages_url":"https://api.github.com/repos/dmwm/CRABServer/languages","stargazers_url":"https://api.github.com/repos/dmwm/CRABServer/stargazers","contributors_url":"https://api.github.com/repos/dmwm/CRABServer/contributors","subscribers_url":"https://api.github.com/repos/dmwm/CRABServer/subscribers","subscription_url":"https://api.github.com/repos/dmwm/CRABServer/subscription","commits_url":"https://api.github.com/repos/dmwm/CRABServer/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmwm/CRABServer/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmwm/CRABServer/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmwm/CRABServer/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmwm/CRABServer/contents/{+path}","compare_url":"https://api.github.com/repos/dmwm/CRABServer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmwm/CRABServer/merges","archive_url":"https://api.github.com/repos/dmwm/CRABServer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmwm/CRABServer/downloads","issues_url":"https://api.github.com/repos/dmwm/CRABServer/issues{/number}","pulls_url":"https://api.github.com/repos/dmwm/CRABServer/pulls{/number}","milestones_url":"https://api.github.com/repos/dmwm/CRABServer/milestones{/number}","notifications_url":"https://api.github.com/repos/dmwm/CRABServer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmwm/CRABServer/labels{/name}","releases_url":"https://api.github.com/repos/dmwm/CRABServer/releases{/id}","created_at":"2012-05-23T18:31:37Z","updated_at":"2015-05-06T07:41:06Z","pushed_at":"2015-06-21T09:08:13Z","git_url":"git://github.com/dmwm/CRABServer.git","ssh_url":"git@github.com:dmwm/CRABServer.git","clone_url":"https://github.com/dmwm/CRABServer.git","svn_url":"https://github.com/dmwm/CRABServer","homepage":null,"size":15938,"stargazers_count":8,"watchers_count":8,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":132,"forks":20,"open_issues":132,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dmwm/CRABServer/pulls/4843"},"html":{"href":"https://github.com/dmwm/CRABServer/pull/4843"},"issue":{"href":"https://api.github.com/repos/dmwm/CRABServer/issues/4843"},"comments":{"href":"https://api.github.com/repos/dmwm/CRABServer/issues/4843/comments"},"review_comments":{"href":"https://api.github.com/repos/dmwm/CRABServer/pulls/4843/comments"},"review_comment":{"href":"https://api.github.com/repos/dmwm/CRABServer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dmwm/CRABServer/pulls/4843/commits"},"statuses":{"href":"https://api.github.com/repos/dmwm/CRABServer/statuses/785e79358322cda7d288d7824a859d453c42fade"}}}}