Skip to content
New issue

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

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

Already on GitHub? # to your account

TonY Stops when received error from RM #367

Open
oliverhu opened this issue Sep 5, 2019 · 0 comments
Open

TonY Stops when received error from RM #367

oliverhu opened this issue Sep 5, 2019 · 0 comments

Comments

@oliverhu
Copy link
Member

oliverhu commented Sep 5, 2019

19/08/31 22:35:28 ERROR tony.ApplicationMaster: Received error in AM to RM call
java.lang.NullPointerException: Task was null! Nothing to schedule.
	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:900)
	at com.linkedin.tony.ApplicationMaster$ContainerLauncher.run(ApplicationMaster.java:1061)
	at com.linkedin.tony.ApplicationMaster$RMCallbackHandler.onContainersAllocated(ApplicationMaster.java:1019)
	at org.apache.hadoop.yarn.client.api.async.impl.AMRMClientAsyncImpl$CallbackHandlerThread.run(AMRMClientAsyncImpl.java:366)

in code

    @Override
    public void onError(Throwable throwable) {
      LOG.error("Received error in AM to RM call", throwable);
      stop();
    }

We should have some recovering mechanism instead of just stopping the world

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

No branches or pull requests

1 participant