Description
Global Dictionary store data on hdfs directly, and overwrite directly when data file updated. If the server crashed suddenly during writing file, the data file may be corrupt and can't be recovered.
To resolve this problem, copy the data file into a tmp directory and copy back after the file is updated successfully.
I'll post a patch later with this solution.