Skip to content

FDT exits when trying to pull a file that no longer exists on the source #55

@sabbene

Description

@sabbene

It would be really cool if you could tell FDT to continue syncing other files even if some of the files in the file list do not exist. This would help with syncing dynamic data like home dirs, etc.

[root@test-02 tmp]# java -jar -XX:MaxDirectMemorySize=100000m /tmp/fdt.jar -pull -wCount 8 -rCount 8 -c test-01 -fl /tmp/file_list -d /output
...
...
FDTWriterSession ( d342e05b-d937-43b1-bff8-15a4b5787251 ) final stats:
 Started: Tue Apr 06 12:05:26 PDT 2021
 Ended:   Tue Apr 06 12:05:29 PDT 2021
 Transfer period:   03s
 TotalBytes: 0
 TotalNetworkBytes: 0
 Exit Status: Not OK

2021-04-06 12:05:29 INFO lia.util.net.copy.FDTWriterSession doPostProcessing [ FDTWriterSession ] Post Processing started
2021-04-06 12:05:29 INFO lia.util.net.copy.FDTWriterSession doPostProcessing [ FDTWriterSession ] No post processing filters defined/processed.
2021-04-06 12:05:30 INFO lia.util.net.copy.transport.ControlChannel sendMsgImpl  [ ControlChannel ] sending message tag ( 10 ): END_SESSION msg: null
2021-04-06 12:05:30 INFO lia.util.net.copy.FDT doWork  [ Tue Apr 06 12:05:30 PDT 2021 ] - GracefulStopper hook started ... Waiting for the cleanup to finish
2021-04-06 12:05:30 INFO lia.util.net.copy.FDT doWork  [ Tue Apr 06 12:05:30 PDT 2021 ]  - GracefulStopper hook finished!
2021-04-06 12:05:30 WARNING lia.util.net.copy.FDT doWork
 [ Tue Apr 06 12:05:30 PDT 2021 ]  FDT Session finished with errors:
2021-04-06 12:05:30 WARNING lia.util.net.copy.FDT doWork Down message: Got exception trying to process
Down cause:
java.io.FileNotFoundException: File does not exist! /tmp/sabbene3
        at lia.util.net.copy.FDTReaderSession.internalInit(FDTReaderSession.java:250)
        at lia.util.net.copy.FDTReaderSession.handleInitFDTSessionConf(FDTReaderSession.java:803)
        at lia.util.net.copy.FDTSession.notifyCtrlMsg(FDTSession.java:429)
        at lia.util.net.copy.FDTSessionManager.notifyCtrlMsg(FDTSessionManager.java:188)
        at lia.util.net.copy.transport.ControlChannel$1.run(ControlChannel.java:479)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions