Преглед изворни кода

[hdfs] Improve log message for left-over temporary file during upload op (#3843)

Harsh Gupta пре 1 година
родитељ
комит
08ca92ca38
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      desktop/libs/hadoop/src/hadoop/fs/upload.py

+ 1 - 1
desktop/libs/hadoop/src/hadoop/fs/upload.py

@@ -198,7 +198,7 @@ class HDFStemporaryUploadedFile(object):
     if self._do_cleanup:
       # Do not do cleanup here. It's hopeless. The self._fs threadlocal states
       # are going to be all wrong.
-      LOG.error("Left-over upload file is not cleaned up: %s" % (self._path,))
+      LOG.debug(f"Check for left-over upload file for cleanup if the upload op was unsuccessful: {self._path}")
 
   def get_temp_path(self):
     return self._path