java.lang.IllegalStateException: Expected the service to be TERMINATED, but the service has FAILED

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by jinglt
, 1 year ago
Expected the service to be TERMINATED, but the service has FAILED
via GitHub by abti
, 1 year ago
Expected the service to be TERMINATED, but the service has FAILED
via Google Groups by Prashant Bhardwaj, 1 year ago
Expected the service to be TERMINATED, but the service has FAILED
via Google Groups by Maurice Wolter, 10 months ago
Expected the service to be TERMINATED, but the service has FAILED
via GitHub by lud9393
, 1 year ago
Expected the service to be RUNNING, but the service has FAILED
via GitHub by mikehearn
, 2 years ago
Expected the service to be TERMINATED, but the service has FAILED
java.lang.IllegalStateException: Expected the service to be TERMINATED, but the service has FAILED
at org.apache.hadoop.hdfs.DFSClient.checkOpen(DFSClient.java:629)
at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1677)
at org.apache.hadoop.hdfs.DistributedFileSystem$17.doCall(DistributedFileSystem.java:1106)
at org.apache.hadoop.hdfs.DistributedFileSystem$17.doCall(DistributedFileSystem.java:1102)
at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1397)
at gobblin.runtime.TaskStateCollectorService.collectOutputTaskStates(TaskStateCollectorService.java:118)
at gobblin.runtime.TaskStateCollectorService.runOneIteration(TaskStateCollectorService.java:81)
at gobblin.runtime.TaskStateCollectorService.shutDown(TaskStateCollectorService.java:100)
at com.google.common.util.concurrent.AbstractScheduledService$1$4.run(AbstractScheduledService.java:225)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.