소스 검색

[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