Github user ManoharVanam commented on the issue:
https://github.com/apache/carbondata/pull/1734
@manishgupta88 If operation is success, unlock will try to delete lock
file from old table ( which doesn't exists) so error will be printed on spark
sql console. So release old table lock only in case of exception. ---
