Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

A lot of error DeleteFile Action fails, file doesn't exist! #2253

Open
stanislav-gabdulgaziev opened this issue May 24, 2022 · 0 comments
Open

Comments

@stanislav-gabdulgaziev
Copy link

I put rule:
file : path matches "/tmp/dr-test/*" | sync -dest hdfs://tla-tst-2.ru-central1.internal:8020//tmp/dr-test

Copying to a remote cluster works but there are a lot of errors like this:
Action starts at Tue May 24 15:08:56 UTC 2022 : Delete hdfs://tla-tst-2.ru-central1.internal:8020//tmp/dr-test/SSM/supports/integration-test/test_mover.py.COPYING
org.smartdata.action.ActionException: DeleteFile Action fails, file doesn't exist!
at org.smartdata.hdfs.action.DeleteFileAction.deleteFile(DeleteFileAction.java:77)
at org.smartdata.hdfs.action.DeleteFileAction.execute(DeleteFileAction.java:65)

In logfile:
ERROR [pool-19-thread-4] (SmartAction.java:134) - SmartAction execute error
org.smartdata.action.ActionException: DeleteFile Action fails, file doesn't exist!
at org.smartdata.hdfs.action.DeleteFileAction.deleteFile(DeleteFileAction.java:77) ~[smart-hadoop-1.6.0-SNAPSHOT.jar:?]
at org.smartdata.hdfs.action.DeleteFileAction.execute(DeleteFileAction.java:65) ~[smart-hadoop-1.6.0-SNAPSHOT.jar:?]
at org.smartdata.action.SmartAction.run(SmartAction.java:131) [smart-action-1.6.0-SNAPSHOT.jar:?]
at org.smartdata.server.engine.cmdlet.Cmdlet.runAllActions(Cmdlet.java:104) [smart-engine-1.6.0-SNAPSHOT.jar:?]
at org.smartdata.server.engine.cmdlet.Cmdlet.run(Cmdlet.java:125) [smart-engine-1.6.0-SNAPSHOT.jar:?]

For example
hdfs dfs -put original-ks.cfg /tmp/dr-test
Error1

The file was copy good, but then we have errors like
Error2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant