on ‎2018 Jun 26 4:39 PM - last edited on ‎2024 Feb 04 6:14 AM by postmig_api_4
Hello
I got an ImpExImport job which is created from a publication from Datahub. According to the following lines, the job has been started:
12:01:46,629 26-06-2018 [[8797928555446]] INFO [mpex.impl.DefaultImportService] Starting import synchronous using cronjob with code=0000AFVU
12:01:46,669 26-06-2018 [[8797928555446]] INFO [ex.jalo.cronjob.ImpExImportJob] (0000AFVU) Starting multi-threaded ImpEx cronjob "ImpEx-Import" (4 threads)
The job is now still in RUNNING state after 3 hours without any additional logging. When I use the impex-media from the job and run it locally or on a second server node, the duration is around 5min.
So, my questions are the following:
How do I see if the cronjob is still doing something?
How can I make him stop?
What might be reasons it takes so long?
ImpEx-Importjob is still hybris-default.
Hybris/Datahub version is: 6.0.0.1
Regards
Andy
Request clarification before answering.
The problem seems to be solved after patching hybris to the latest 6.0.0.27 version. I suspect one of those patches solved the issue:
https://jira.hybris.com/browse/PATCH-4405
https://jira.hybris.com/browse/ECP-1915
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To make it stop you probably have to restart hybris.
i've also been able to remove it with an impex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, as writes, check the JDBC logs, these will give you a lot of information. And take thread dumps, there you can see where the threads are stuck. If threads are stuck in the sql layer, then you know that you have index problems.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try setting the threads to 1 to see if it's a concurrency/deadlock issue. Also turn on JDBC logging to see what's happening on the node executing the job.
There is a pretty short list of things that happen in ImpEx import jobs' workload: maybe translators, maybe interceptors, SQL select/update/insert statements.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.