Cannot overwrite a path that is also being read from spark hive

NoSuchKey