Skip to content

Commit

Permalink
remove fs close
Browse files Browse the repository at this point in the history
  • Loading branch information
naive-zhang committed Dec 20, 2024
1 parent c150558 commit 240393c
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ class YarnLogPartitionReader(yarnLogPartition: YarnLogPartition)
UTF8String.fromString(yarnLog.message)))
}

override def close(): Unit = {
fs.close()
}
override def close(): Unit = {}

/**
* fet log
Expand Down Expand Up @@ -107,6 +105,7 @@ class YarnLogPartitionReader(yarnLogPartition: YarnLogPartition)
} finally {
IOUtils.closeStream(inputStream)
reader.close()
fs.close()
}
case _ => Seq.empty
}
Expand Down

0 comments on commit 240393c

Please sign in to comment.