[
https://issues.apache.org/jira/browse/GOBBLIN-1962?focusedWorklogId=893051&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-893051
]
ASF GitHub Bot logged work on GOBBLIN-1962:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 30/Nov/23 04:56
Start Date: 30/Nov/23 04:56
Worklog Time Spent: 10m
Work Description: Apexhit opened a new pull request, #3839:
URL: https://github.com/apache/gobblin/pull/3839
Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I
have checked off all the steps below!
### JIRA
- [x] My PR addresses the following [Gobblin
JIRA](https://issues.apache.org/jira/browse/GOBBLIN/) issues and references
them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"
- https://issues.apache.org/jira/browse/GOBBLIN-1962
### Description
- [x] Here are some details about my PR, including screenshots (if
applicable):
Job Creation Failed- Unable to acquire job lock for job
### Tests
- [x] My PR adds the following unit tests __OR__ does not need testing for
this extremely good reason:
### Commits
- [x] My commits all reference JIRA issues in their subject lines, and I
have squashed multiple commits if they address the same issue. In addition, my
commits follow the guidelines from "[How to write a good git commit
message](http://chris.beams.io/posts/git-commit/)":
1. Subject is separated from body by a blank line
2. Subject is limited to 50 characters
3. Subject does not end with a period
4. Subject uses the imperative mood ("add", not "adding")
5. Body wraps at 72 characters
6. Body explains "what" and "why", not "how"
Issue Time Tracking
-------------------
Worklog Id: (was: 893051)
Remaining Estimate: 0h
Time Spent: 10m
> Gobblin job creation encountered a failure due to a NullPointerException,
> inability to obtain a job lock for the "Data copy" job.
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: GOBBLIN-1962
> URL: https://issues.apache.org/jira/browse/GOBBLIN-1962
> Project: Apache Gobblin
> Issue Type: Bug
> Components: misc
> Affects Versions: 0.15.0
> Reporter: Apekshit Kumar
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> *Context :*
> Data copy back job failed because it's unable to acquire job lock.
> Gobblin job creation encountered a failure due to a *NullPointerException*
>
> *Code ref-*
> [https://github.com/apache/gobblin/blob/master/gobblin-runtime/src/main/java/org/apache/gobblin/runtime/AbstractJobLauncher.java#L945]
>
> Error Stacktraces
> {quote}at
> org.apache.gobblin.cluster.HelixRetriggeringJobCallable.runJobLauncherLoop(HelixRetriggeringJobCallable.java:214)
> at
> org.apache.gobblin.cluster.HelixRetriggeringJobCallable.runJobLauncherLoop(HelixRetriggeringJobCallable.java:214)
> at
> org.apache.gobblin.cluster.HelixRetriggeringJobCallable.call(HelixRetriggeringJobCallable.java:159)
> at
> org.apache.gobblin.cluster.GobblinHelixJobScheduler.runJob(GobblinHelixJobScheduler.java:251)
> at
> org.apache.gobblin.cluster.GobblinHelixJobScheduler$NonScheduledJobRunner.run(GobblinHelixJobScheduler.java:450)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)Caused by:
> java.lang.NullPointerException at
> org.apache.gobblin.runtime.AbstractJobLauncher.tryLockJob(AbstractJobLauncher.java:887)
> at
> org.apache.gobblin.runtime.AbstractJobLauncher.<init>(AbstractJobLauncher.java:202)
> at
> org.apache.gobblin.runtime.AbstractJobLauncher.<init>(AbstractJobLauncher.java:176)
> at
> org.apache.gobblin.cluster.GobblinHelixJobLauncher.<init>(GobblinHelixJobLauncher.java:138)
> at
> org.apache.gobblin.cluster.GobblinHelixJobScheduler.buildJobLauncher(GobblinHelixJobScheduler.java:266)
> at
> org.apache.gobblin.cluster.HelixRetriggeringJobCallable.runJobLauncherLoop(HelixRetriggeringJobCallable.java:201)
> ... 6 more
> {quote}
>
> *Job run metastore failure details*
> mysql> select * from gobblin_job_queue where queue_id like
> 'DM-JOB-FINANCIALPACKV2PRD.FPV2-SCORES_1632434443250' order by created_date
> desc;mysql> select * from gobblin_job_queue where queue_id like
> 'DM-JOB-FINANCIALPACKV2PRD.FPV2-SCORES_1632434443250' order by created_date
> desc;+-----------------------------------------------------+---------------------------------------+---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------+--------+---------------------+---------------------+|
> queue_id | job_name
> | deployment_id | failure_exception
>
>
>
>
>
>
>
>
>
>
>
>
> | configs
>
> | status
> | job_id | created_date | updated_date
> |+-----------------------------------------------------+---------------------------------------+---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------+--------+---------------------+---------------------+|
> DM-JOB-FINANCIALPACKV2PRD.FPV2-SCORES_1632434443250 |
> DM-JOB-FINANCIALPACKV2PRD.FPV2-SCORES | 230 |
> org.apache.gobblin.runtime.JobException: Failed to run job
> DM-JOB-FINANCIALPACKV2PRD.FPV2-SCORES at
> org.apache.gobblin.cluster.HelixRetriggeringJobCallable.runJobLauncherLoop(HelixRetriggeringJobCallable.java:214)
> at
> org.apache.gobblin.cluster.HelixRetriggeringJobCallable.call(HelixRetriggeringJobCallable.java:159)
> at
> org.apache.gobblin.cluster.GobblinHelixJobScheduler.runJob(GobblinHelixJobScheduler.java:251)
> at
> org.apache.gobblin.cluster.GobblinHelixJobScheduler$NonScheduledJobRunner.run(GobblinHelixJobScheduler.java:450)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)Caused by:
> java.lang.NullPointerException at
> org.apache.gobblin.runtime.AbstractJobLauncher.tryLockJob(AbstractJobLauncher.java:887)
> at
> org.apache.gobblin.runtime.AbstractJobLauncher.<init>(AbstractJobLauncher.java:202)
> at
> org.apache.gobblin.runtime.AbstractJobLauncher.<init>(AbstractJobLauncher.java:176)
> at
> org.apache.gobblin.cluster.GobblinHelixJobLauncher.<init>(GobblinHelixJobLauncher.java:138)
> at
> org.apache.gobblin.cluster.GobblinHelixJobScheduler.buildJobLauncher(GobblinHelixJobScheduler.java:266)
> at
> org.apache.gobblin.cluster.HelixRetriggeringJobCallable.runJobLauncherLoop(HelixRetriggeringJobCallable.java:201)
> ... 6 more |
> \\{"dataset":{"batch_id":"20210923150042","name":"financialpackv2prd.fpv2_scores","snapshot_id":"20210923150042"},"gobblin":\\{"deployment":{"name":"DMP230"}},"namespace":"Chunnel"}
> | FAILED | NULL | 2021-09-23 22:00:43 | 2021-09-23 22:40:07
> |+-----------------------------------------------------+---------------------------------------+---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------+--------+---------------------+---------------------+
>
> 1 row in set (0.00 sec)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)