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

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

Open
sabbene opened this issue Apr 6, 2021 · 0 comments
Open

Comments

@sabbene
Copy link

sabbene commented Apr 6, 2021

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant