dCache / dcache

dCache - a system for storing and retrieving huge amounts of data, distributed among a large number of heterogenous server nodes, under a single virtual filesystem tree with a variety of standard access methods
https://dcache.org
291 stars 136 forks source link

pool reports incorrect error condition when request to pnfs manager timed out #2929

Closed kofemann closed 7 years ago

kofemann commented 8 years ago

Failed to instantiate mover due to unsupported checksum type: Request to [>PnfsManager@local] timed out.

09 Nov 2016 06:31:42 (dcache-photon15-08) [door:DCap-dcache-door-photon02-<unknown>-AAVAxwea-mA DCap-dcache-door-photon02-<unknown>-AAVAxwea-mA PoolAcceptFile 00009F9DC4B46F3E498FB6F8BFAF3F695B84] Failed to instantiate mover due to unsupported checksum type: Request to [>PnfsManager@local] timed out.
diskCacheV111.util.TimeoutCacheException: Request to [>PnfsManager@local] timed out.
        at org.dcache.cells.CellStub$CallbackFuture.answerTimedOut(CellStub.java:685) ~[dcache-core-2.15.5.jar:2.15.5]
        at dmg.cells.nucleus.CellNucleus$2.run(CellNucleus.java:434) ~[cells-2.15.5.jar:2.15.5]
        at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:456) ~[guava-19.0.jar:na]
        at dmg.cells.nucleus.CellNucleus.executeMaintenanceTasks(CellNucleus.java:427) ~[cells-2.15.5.jar:2.15.5]
        at dmg.cells.nucleus.CellNucleus.access$200(CellNucleus.java:56) ~[cells-2.15.5.jar:2.15.5]
        at dmg.cells.nucleus.CellNucleus$7.run(CellNucleus.java:913) ~[cells-2.15.5.jar:2.15.5]
        at java.util.TimerThread.mainLoop(Timer.java:555) ~[na:1.8.0_92]
        at java.util.TimerThread.run(Timer.java:505) ~[na:1.8.0_92]
paulmillar commented 8 years ago

Which of these are failures here?

  1. That the message "due to unsupported checksum type" appears to be wrong?
  2. that we log a stack-trace?
  3. there was a timeout?
kofemann commented 8 years ago

Well, obviously due to unsupported checksum type must not be reported in case of timeouts to pnfs manager

paulmillar commented 7 years ago

Patch: https://rb.dcache.org/r/10241/