Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.
This repository was 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

@stanislav-gabdulgaziev

Description

@stanislav-gabdulgaziev

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

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