actor
actor copied to clipboard
When saving to HDFS using hdfs_save, need to sleep for 1 second otherwise HDFS report error.
The reason might be that there is some delay between the actual file is created on a datanode and it appears in namenode's file system. If the following up operation on this newly created file goes too fast to the namenode, the namenode is not aware of the file, then error occurs.