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

Send errors back to the client #19

Open
thilinamb opened this issue Apr 2, 2020 · 0 comments
Open

Send errors back to the client #19

thilinamb opened this issue Apr 2, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@thilinamb
Copy link
Collaborator

Example: when queried for a non-existing dataset

sustain.synopsis.dht.store.query.QueryException: Non existing dataset: noaa_2015_jan
    at sustain.synopsis.dht.store.node.NodeStore.getMatchingEntityStores(NodeStore.java:285)
    at sustain.synopsis.dht.store.query.QueryCoordinator.schedule(QueryCoordinator.java:29)
    at sustain.synopsis.dht.services.TargetedQueryService.query(TargetedQueryService.java:25)
    at sustain.synopsis.dht.store.services.TargetedQueryServiceGrpc$MethodHandlers.invoke(TargetedQueryServiceGrpc.java:210)
    at io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(ServerCalls.java:172)
    at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:331)
    at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(ServerImpl.java:817)
    at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
    at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
@thilinamb thilinamb added the bug Something isn't working label Apr 2, 2020
@thilinamb thilinamb self-assigned this Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant