Skip to content

Commit

Permalink
Repair compilation failure
Browse files Browse the repository at this point in the history
  • Loading branch information
“v_kkhuang” committed Dec 10, 2024
1 parent 812d2b3 commit 1b9c18e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ class PythonEngineHook extends PythonModuleLoadEngineConnHook {
val fileName: String = new java.io.File(path).getName
val destPath: String = tmpDir + fileName
val config: Configuration = HDFSUtils.getConfiguration(HadoopConf.HADOOP_ROOT_USER.getValue)
val fs: FileSystem = HDFSUtils.getHDFSUserFileSystem(user, config)
val fs: FileSystem = HDFSUtils.getHDFSUserFileSystem(user, null, config)
fs.copyToLocalFile(new Path(path), new Path("file://" + destPath))
if (fileName.endsWith("zip")) {
tmpDir += fileName
Expand Down

0 comments on commit 1b9c18e

Please sign in to comment.