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

fix when stop throw InterruptedException #1494

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

myleolei
Copy link

fix when stop throw InterruptedException

@osheroff
Copy link
Collaborator

do you have an error log of what you're trying to fix?

@myleolei
Copy link
Author

do you have an error log of what you're trying to fix?

when terminate maxwell. MaxwellContext.terminate(Exception error) methd will receive java.lang.InterruptedException,call error.printStackTrace() method,print error log like :

java.lang.InterruptedException: null
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2014)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2088)
at java.util.concurrent.ArrayBlockingQueue.poll(ArrayBlockingQueue.java:418)
at com.zendesk.maxwell.producer.MaxwellKafkaProducerWorker.run(MaxwellKafkaProducer.java:209)
at java.lang.Thread.run(Thread.java:748)

this bug has no effect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants