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

[Ingest] Zookeeper ingest status is incorrect #2125

Open
mreyescdl opened this issue Dec 2, 2024 · 0 comments
Open

[Ingest] Zookeeper ingest status is incorrect #2125

mreyescdl opened this issue Dec 2, 2024 · 0 comments
Assignees
Labels

Comments

@mreyescdl
Copy link
Contributor

While processing a 270 object UCJEPS batch there was a single failure due to an odd state issue.

org.cdlib.mrt.zk.MerrittStateError: State change (Downloading->Provisioning) is not allowed
        at org.cdlib.mrt.zk.QueueItem.setStatus(QueueItem.java:255)
        at org.cdlib.mrt.zk.QueueItem.setStatus(QueueItem.java:245)
        at org.cdlib.mrt.ingest.consumer.EstimateConsumeData.run(EstimateConsumer.java:579)

The Estimate consumer daemon thought it was in a "Downloading" state when it was "Estimating"
I'm not sure if this is a ZK library issue or a client one.

Code segment is shown below

            if (jobState.getJobStatus() == JobStatusEnum.COMPLETED) {
                if (DEBUG) System.out.println("[item]: EstimateConsumer Daemon COMPLETED queue data:" + jp.toString() + " --- " + ji.toString());
                job.setStatus(zooKeeper, org.cdlib.mrt.zk.JobState.Provisioning);
@mreyescdl mreyescdl self-assigned this Dec 2, 2024
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

1 participant