Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task "contributor_type_specific_code_type" not reporting internal errors correctly? #231

Open
lukas-vlcek opened this issue May 4, 2015 · 0 comments
Labels

Comments

@lukas-vlcek
Copy link
Member

There seems to be possible issue with contributor_type_specific_code_type reindexing task in terms of handling internal errors. Sometimes the task finished without any errors but no records are created. The symptoms are as follows:

  1. Run reindexing task:
curl -X POST 'https://\<searchisko2.x\>/v2/rest/tasks/task/sync_contributors_and_profiles' \
--user superadmin_name:superadmin_pswd -H "Content-Type:application/json" \
-d '{"contributor_type_specific_code_type" : "jbossorg_username","size":100, "start":50}'
  1. The task is started and taskId is returned. It is possible to check task status:
curl -X GET --user superadmin_name:superadmin_pswd \
'https://\<searchisko2.x\>/v2/rest/tasks/task/i3kieH5jQG-iHg2YE0rfaQ'
# Response:
{  
   "id":"i3kieH5jQG-iHg2YE0rfaQ",
   "taskType":"sync_contributors_and_profiles",
   "taskConfigSerialized":"{\"contributor_type_specific_code_type\":\"jbossorg_username\",\"size\":100,\"start\":700}",
   "taskCreatedAt":"2015-05-04T08:46:33.000+0000",
   "lastRunStartedAt":"2015-05-04T08:46:33.000+0000",
   "runCount":1,
   "lastRunFinishedAt":"2015-05-04T08:47:04.085+0000",
   "executionNodeId":"<searchisko2.x>",
   "taskStatus":"FINISHED_OK",
   "processingLog":"Task started. Count of processed profiles: \n\n\nTask Finished. Total count of processed profiles: 0",
   "cancelRequested":false,
   "heartbeat":1430729215630
}

Can this be related to network issues when Searchisko calls JIVE (code: 502)?

@lukas-vlcek lukas-vlcek added the bug label May 5, 2015
@lukas-vlcek lukas-vlcek added this to the 2.0.2 milestone May 5, 2015
@lukas-vlcek lukas-vlcek modified the milestones: 2.0.3, 2.0.2 Jul 2, 2015
@lukas-vlcek lukas-vlcek modified the milestones: 2.1.2, 2.1.1 Sep 3, 2015
@lukas-vlcek lukas-vlcek modified the milestones: 2.1.3, 2.1.2 Oct 5, 2015
@unibrew unibrew modified the milestones: 2.1.3, 2.1.4 Feb 11, 2016
@unibrew unibrew modified the milestones: 2.1.4, 2.1.5 Feb 19, 2016
@lkrzyzanek lkrzyzanek modified the milestone: 2.1.5 Oct 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants