panbingkun commented on PR #48192:
URL: https://github.com/apache/spark/pull/48192#issuecomment-2370441802
compile warning deprecation
```shell
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/TestUtils.scala:424:11:
method write in class Files is deprecated
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.TestUtils.createTempScriptWithExpectedOutput,
origin=com.google.common.io.Files.write
[error] Files.write(script, file, StandardCharsets.UTF_8)
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala:170:30:
method getAllStatistics in class FileSystem is deprecated
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.deploy.SparkHadoopUtil.getFSBytesReadOnThreadCallback.f.$anonfun,
origin=org.apache.hadoop.fs.FileSystem.getAllStatistics
[error] val f = () =>
FileSystem.getAllStatistics.asScala.map(_.getThreadStatistics.getBytesRead).sum
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala:201:34:
method getAllStatistics in class FileSystem is deprecated
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.deploy.SparkHadoopUtil.getFSBytesWrittenOnThreadCallback.threadStats,
origin=org.apache.hadoop.fs.FileSystem.getAllStatistics
[error] val threadStats =
FileSystem.getAllStatistics.asScala.map(_.getThreadStatistics)
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/deploy/history/BasicEventFilterBuilder.scala:160:13:
class SparkListenerExecutorBlacklisted in package scheduler is deprecated
(since 3.1.0): use SparkListenerExecutorExcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.deploy.history.BasicEventFilter._acceptFn,
origin=org.apache.spark.scheduler.SparkListenerExecutorBlacklisted,
version=3.1.0
[error] case e: SparkListenerExecutorBlacklisted =>
liveExecutors.contains(e.executorId)
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/deploy/history/BasicEventFilterBuilder.scala:161:13:
class SparkListenerExecutorUnblacklisted in package scheduler is deprecated
(since 3.1.0): use SparkListenerExecutorUnexcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.deploy.history.BasicEventFilter._acceptFn,
origin=org.apache.spark.scheduler.SparkListenerExecutorUnblacklisted,
version=3.1.0
[error] case e: SparkListenerExecutorUnblacklisted =>
liveExecutors.contains(e.executorId)
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/deploy/history/HistoryAppStatusStore.scala:75:40:
value isBlacklisted in class ExecutorSummary is deprecated (since 3.1.0): use
isExcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.deploy.history.HistoryAppStatusStore.replaceExecutorLogs,
origin=org.apache.spark.status.api.v1.ExecutorSummary.isBlacklisted,
version=3.1.0
[error] source.totalShuffleWrite, source.isBlacklisted,
source.maxMemory, source.addTime,
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/deploy/history/HistoryAppStatusStore.scala:77:14:
value blacklistedInStages in class ExecutorSummary is deprecated (since
3.1.0): use excludedInStages instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.deploy.history.HistoryAppStatusStore.replaceExecutorLogs,
origin=org.apache.spark.status.api.v1.ExecutorSummary.blacklistedInStages,
version=3.1.0
[error] source.blacklistedInStages, source.peakMemoryMetrics,
source.attributes, source.resources,
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/deploy/worker/DriverRunner.scala:219:13:
method append in class Files is deprecated
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.deploy.worker.DriverRunner.runDriver.initialize,
origin=com.google.common.io.Files.append
[error] Files.append(header, stderr, StandardCharsets.UTF_8)
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/deploy/worker/ExecutorRunner.scala:194:13:
method write in class Files is deprecated
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.deploy.worker.ExecutorRunner.fetchAndRunExecutor,
origin=com.google.common.io.Files.write
[error] Files.write(header, stderr, StandardCharsets.UTF_8)
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/executor/ExecutorSource.scala:36:16:
method getAllStatistics in class FileSystem is deprecated
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.executor.ExecutorSource.fileStats,
origin=org.apache.hadoop.fs.FileSystem.getAllStatistics
[error] FileSystem.getAllStatistics.asScala.find(s =>
s.getScheme.equals(scheme))
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/internal/io/FileCommitProtocol.scala:121:7:
method newTaskTempFile in class FileCommitProtocol is deprecated (since
3.3.0): use newTaskTempFile(..., spec: FileNameSpec) instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.internal.io.FileCommitProtocol.newTaskTempFile,
origin=org.apache.spark.internal.io.FileCommitProtocol.newTaskTempFile,
version=3.3.0
[error] newTaskTempFile(taskContext, dir, spec.suffix)
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/internal/io/FileCommitProtocol.scala:157:7:
method newTaskTempFileAbsPath in class FileCommitProtocol is deprecated (since
3.3.0): use newTaskTempFileAbsPath(..., spec: FileNameSpec) instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.internal.io.FileCommitProtocol.newTaskTempFileAbsPath,
origin=org.apache.spark.internal.io.FileCommitProtocol.newTaskTempFileAbsPath,
version=3.3.0
[error] newTaskTempFileAbsPath(taskContext, absoluteDir, spec.suffix)
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/EventLoggingListener.scala:193:45:
class SparkListenerExecutorBlacklisted in package scheduler is deprecated
(since 3.1.0): use SparkListenerExecutorExcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.EventLoggingListener.onExecutorBlacklisted.event,
origin=org.apache.spark.scheduler.SparkListenerExecutorBlacklisted,
version=3.1.0
[error] override def onExecutorBlacklisted(event:
SparkListenerExecutorBlacklisted): Unit = {
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/EventLoggingListener.scala:202:14:
class SparkListenerExecutorBlacklistedForStage in package scheduler is
deprecated (since 3.1.0): use SparkListenerExecutorExcludedForStage instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.EventLoggingListener.onExecutorBlacklistedForStage.event,
origin=org.apache.spark.scheduler.SparkListenerExecutorBlacklistedForStage,
version=3.1.0
[error] event: SparkListenerExecutorBlacklistedForStage): Unit = {
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/EventLoggingListener.scala:211:49:
class SparkListenerNodeBlacklistedForStage in package scheduler is deprecated
(since 3.1.0): use SparkListenerNodeExcludedForStage instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.EventLoggingListener.onNodeBlacklistedForStage.event,
origin=org.apache.spark.scheduler.SparkListenerNodeBlacklistedForStage,
version=3.1.0
[error] override def onNodeBlacklistedForStage(event:
SparkListenerNodeBlacklistedForStage): Unit = {
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/EventLoggingListener.scala:219:47:
class SparkListenerExecutorUnblacklisted in package scheduler is deprecated
(since 3.1.0): use SparkListenerExecutorUnexcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.EventLoggingListener.onExecutorUnblacklisted.event,
origin=org.apache.spark.scheduler.SparkListenerExecutorUnblacklisted,
version=3.1.0
[error] override def onExecutorUnblacklisted(event:
SparkListenerExecutorUnblacklisted): Unit = {
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/EventLoggingListener.scala:228:41:
class SparkListenerNodeBlacklisted in package scheduler is deprecated (since
3.1.0): use SparkListenerNodeExcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.EventLoggingListener.onNodeBlacklisted.event,
origin=org.apache.spark.scheduler.SparkListenerNodeBlacklisted, version=3.1.0
[error] override def onNodeBlacklisted(event:
SparkListenerNodeBlacklisted): Unit = {
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/EventLoggingListener.scala:236:43:
class SparkListenerNodeUnblacklisted in package scheduler is deprecated (since
3.1.0): use SparkListenerNodeUnexcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.EventLoggingListener.onNodeUnblacklisted.event,
origin=org.apache.spark.scheduler.SparkListenerNodeUnblacklisted, version=3.1.0
[error] override def onNodeUnblacklisted(event:
SparkListenerNodeUnblacklisted): Unit = {
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/HealthTracker.scala:120:28:
class SparkListenerExecutorUnblacklisted in package scheduler is deprecated
(since 3.1.0): use SparkListenerExecutorUnexcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.HealthTracker.applyExcludeOnFailureTimeout.$anonfun,
origin=org.apache.spark.scheduler.SparkListenerExecutorUnblacklisted,
version=3.1.0
[error] listenerBus.post(SparkListenerExecutorUnblacklisted(now,
exec))
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/HealthTracker.scala:136:28:
class SparkListenerNodeUnblacklisted in package scheduler is deprecated (since
3.1.0): use SparkListenerNodeUnexcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.HealthTracker.applyExcludeOnFailureTimeout.$anonfun,
origin=org.apache.spark.scheduler.SparkListenerNodeUnblacklisted, version=3.1.0
[error] listenerBus.post(SparkListenerNodeUnblacklisted(now, node))
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/HealthTracker.scala:240:28:
class SparkListenerNodeBlacklisted in package scheduler is deprecated (since
3.1.0): use SparkListenerNodeExcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.HealthTracker.updateExcludedForFetchFailure,
origin=org.apache.spark.scheduler.SparkListenerNodeBlacklisted, version=3.1.0
[error] listenerBus.post(SparkListenerNodeBlacklisted(now, host,
1))
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/HealthTracker.scala:253:26:
class SparkListenerExecutorBlacklisted in package scheduler is deprecated
(since 3.1.0): use SparkListenerExecutorExcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.HealthTracker.updateExcludedForFetchFailure,
origin=org.apache.spark.scheduler.SparkListenerExecutorBlacklisted,
version=3.1.0
[error] listenerBus.post(SparkListenerExecutorBlacklisted(now, exec,
1))
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/HealthTracker.scala:290:26:
class SparkListenerExecutorBlacklisted in package scheduler is deprecated
(since 3.1.0): use SparkListenerExecutorExcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.HealthTracker.updateExcludedForSuccessfulTaskSet.$anonfun,
origin=org.apache.spark.scheduler.SparkListenerExecutorBlacklisted,
version=3.1.0
[error] listenerBus.post(SparkListenerExecutorBlacklisted(now, exec,
newTotal))
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/HealthTracker.scala:309:28:
class SparkListenerNodeBlacklisted in package scheduler is deprecated (since
3.1.0): use SparkListenerNodeExcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.HealthTracker.updateExcludedForSuccessfulTaskSet.$anonfun,
origin=org.apache.spark.scheduler.SparkListenerNodeBlacklisted, version=3.1.0
[error] listenerBus.post(SparkListenerNodeBlacklisted(now, node,
excludedExecsOnNode.size))
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/SparkListener.scala:545:28:
class SparkListenerExecutorBlacklisted in package scheduler is deprecated
(since 3.1.0): use SparkListenerExecutorExcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.SparkListener.onExecutorBlacklisted.executorBlacklisted,
origin=org.apache.spark.scheduler.SparkListenerExecutorBlacklisted,
version=3.1.0
[error] executorBlacklisted: SparkListenerExecutorBlacklisted): Unit =
{ }
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/SparkListener.scala:550:36:
class SparkListenerExecutorBlacklistedForStage in package scheduler is
deprecated (since 3.1.0): use SparkListenerExecutorExcludedForStage instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.SparkListener.onExecutorBlacklistedForStage.executorBlacklistedForStage,
origin=org.apache.spark.scheduler.SparkListenerExecutorBlacklistedForStage,
version=3.1.0
[error] executorBlacklistedForStage:
SparkListenerExecutorBlacklistedForStage): Unit = { }
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/SparkListener.scala:555:32:
class SparkListenerNodeBlacklistedForStage in package scheduler is deprecated
(since 3.1.0): use SparkListenerNodeExcludedForStage instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.SparkListener.onNodeBlacklistedForStage.nodeBlacklistedForStage,
origin=org.apache.spark.scheduler.SparkListenerNodeBlacklistedForStage,
version=3.1.0
[error] nodeBlacklistedForStage:
SparkListenerNodeBlacklistedForStage): Unit = { }
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/SparkListener.scala:560:30:
class SparkListenerExecutorUnblacklisted in package scheduler is deprecated
(since 3.1.0): use SparkListenerExecutorUnexcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.SparkListener.onExecutorUnblacklisted.executorUnblacklisted,
origin=org.apache.spark.scheduler.SparkListenerExecutorUnblacklisted,
version=3.1.0
[error] executorUnblacklisted: SparkListenerExecutorUnblacklisted):
Unit = { }
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/SparkListener.scala:565:24:
class SparkListenerNodeBlacklisted in package scheduler is deprecated (since
3.1.0): use SparkListenerNodeExcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.SparkListener.onNodeBlacklisted.nodeBlacklisted,
origin=org.apache.spark.scheduler.SparkListenerNodeBlacklisted, version=3.1.0
[error] nodeBlacklisted: SparkListenerNodeBlacklisted): Unit = { }
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/SparkListener.scala:570:26:
class SparkListenerNodeUnblacklisted in package scheduler is deprecated (since
3.1.0): use SparkListenerNodeUnexcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.SparkListener.onNodeUnblacklisted.nodeUnblacklisted,
origin=org.apache.spark.scheduler.SparkListenerNodeUnblacklisted, version=3.1.0
[error] nodeUnblacklisted: SparkListenerNodeUnblacklisted): Unit = { }
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/SparkListenerBus.scala:66:41:
class SparkListenerExecutorBlacklistedForStage in package scheduler is
deprecated (since 3.1.0): use SparkListenerExecutorExcludedForStage instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.SparkListenerBus.doPostEvent,
origin=org.apache.spark.scheduler.SparkListenerExecutorBlacklistedForStage,
version=3.1.0
[error] case executorBlacklistedForStage:
SparkListenerExecutorBlacklistedForStage =>
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/SparkListenerBus.scala:67:18:
method onExecutorBlacklistedForStage in trait SparkListenerInterface is
deprecated (since 3.1.0): use onExecutorExcludedForStage instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.SparkListenerBus.doPostEvent,
origin=org.apache.spark.scheduler.SparkListenerInterface.onExecutorBlacklistedForStage,
version=3.1.0
[error]
listener.onExecutorBlacklistedForStage(executorBlacklistedForStage)
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/SparkListenerBus.scala:68:37:
class SparkListenerNodeBlacklistedForStage in package scheduler is deprecated
(since 3.1.0): use SparkListenerNodeExcludedForStage instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.SparkListenerBus.doPostEvent,
origin=org.apache.spark.scheduler.SparkListenerNodeBlacklistedForStage,
version=3.1.0
[error] case nodeBlacklistedForStage:
SparkListenerNodeBlacklistedForStage =>
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/SparkListenerBus.scala:69:18:
method onNodeBlacklistedForStage in trait SparkListenerInterface is deprecated
(since 3.1.0): use onNodeExcludedForStage instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.SparkListenerBus.doPostEvent,
origin=org.apache.spark.scheduler.SparkListenerInterface.onNodeBlacklistedForStage,
version=3.1.0
[error] listener.onNodeBlacklistedForStage(nodeBlacklistedForStage)
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/SparkListenerBus.scala:70:33:
class SparkListenerExecutorBlacklisted in package scheduler is deprecated
(since 3.1.0): use SparkListenerExecutorExcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.SparkListenerBus.doPostEvent,
origin=org.apache.spark.scheduler.SparkListenerExecutorBlacklisted,
version=3.1.0
[error] case executorBlacklisted: SparkListenerExecutorBlacklisted =>
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/SparkListenerBus.scala:71:18:
method onExecutorBlacklisted in trait SparkListenerInterface is deprecated
(since 3.1.0): use onExecutorExcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.SparkListenerBus.doPostEvent,
origin=org.apache.spark.scheduler.SparkListenerInterface.onExecutorBlacklisted,
version=3.1.0
[error] listener.onExecutorBlacklisted(executorBlacklisted)
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/SparkListenerBus.scala:72:35:
class SparkListenerExecutorUnblacklisted in package scheduler is deprecated
(since 3.1.0): use SparkListenerExecutorUnexcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.SparkListenerBus.doPostEvent,
origin=org.apache.spark.scheduler.SparkListenerExecutorUnblacklisted,
version=3.1.0
[error] case executorUnblacklisted: SparkListenerExecutorUnblacklisted
=>
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/SparkListenerBus.scala:73:18:
method onExecutorUnblacklisted in trait SparkListenerInterface is deprecated
(since 3.1.0): use onExecutorUnexcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.SparkListenerBus.doPostEvent,
origin=org.apache.spark.scheduler.SparkListenerInterface.onExecutorUnblacklisted,
version=3.1.0
[error] listener.onExecutorUnblacklisted(executorUnblacklisted)
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/SparkListenerBus.scala:74:29:
class SparkListenerNodeBlacklisted in package scheduler is deprecated (since
3.1.0): use SparkListenerNodeExcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.SparkListenerBus.doPostEvent,
origin=org.apache.spark.scheduler.SparkListenerNodeBlacklisted, version=3.1.0
[error] case nodeBlacklisted: SparkListenerNodeBlacklisted =>
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/SparkListenerBus.scala:75:18:
method onNodeBlacklisted in trait SparkListenerInterface is deprecated (since
3.1.0): use onNodeExcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.SparkListenerBus.doPostEvent,
origin=org.apache.spark.scheduler.SparkListenerInterface.onNodeBlacklisted,
version=3.1.0
[error] listener.onNodeBlacklisted(nodeBlacklisted)
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/SparkListenerBus.scala:76:31:
class SparkListenerNodeUnblacklisted in package scheduler is deprecated (since
3.1.0): use SparkListenerNodeUnexcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.SparkListenerBus.doPostEvent,
origin=org.apache.spark.scheduler.SparkListenerNodeUnblacklisted, version=3.1.0
[error] case nodeUnblacklisted: SparkListenerNodeUnblacklisted =>
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/SparkListenerBus.scala:77:18:
method onNodeUnblacklisted in trait SparkListenerInterface is deprecated
(since 3.1.0): use onNodeUnexcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.SparkListenerBus.doPostEvent,
origin=org.apache.spark.scheduler.SparkListenerInterface.onNodeUnblacklisted,
version=3.1.0
[error] listener.onNodeUnblacklisted(nodeUnblacklisted)
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/TaskSetExcludeList.scala:150:11:
class SparkListenerExecutorBlacklistedForStage in package scheduler is
deprecated (since 3.1.0): use SparkListenerExecutorExcludedForStage instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.TaskSetExcludelist.updateExcludedForFailedTask,
origin=org.apache.spark.scheduler.SparkListenerExecutorBlacklistedForStage,
version=3.1.0
[error] SparkListenerExecutorBlacklistedForStage(now, exec,
numFailures, stageId, stageAttemptId))
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/scheduler/TaskSetExcludeList.scala:161:15:
class SparkListenerNodeBlacklistedForStage in package scheduler is deprecated
(since 3.1.0): use SparkListenerNodeExcludedForStage instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.scheduler.TaskSetExcludelist.updateExcludedForFailedTask,
origin=org.apache.spark.scheduler.SparkListenerNodeBlacklistedForStage,
version=3.1.0
[error] SparkListenerNodeBlacklistedForStage(now, host,
numFailExec, stageId, stageAttemptId))
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/serializer/SerializationDebugger.scala:79:6:
class AccessController in package security is deprecated (since 17)
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.serializer.SerializationDebugger.enableDebugging,
origin=java.security.AccessController, version=17
[error] !AccessController.doPrivileged(action).booleanValue()
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/status/AppStatusListener.scala:293:45:
class SparkListenerExecutorBlacklisted in package scheduler is deprecated
(since 3.1.0): use SparkListenerExecutorExcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.status.AppStatusListener.onExecutorBlacklisted.event,
origin=org.apache.spark.scheduler.SparkListenerExecutorBlacklisted,
version=3.1.0
[error] override def onExecutorBlacklisted(event:
SparkListenerExecutorBlacklisted): Unit = {
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/status/AppStatusListener.scala:302:14:
class SparkListenerExecutorBlacklistedForStage in package scheduler is
deprecated (since 3.1.0): use SparkListenerExecutorExcludedForStage instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.status.AppStatusListener.onExecutorBlacklistedForStage.event,
origin=org.apache.spark.scheduler.SparkListenerExecutorBlacklistedForStage,
version=3.1.0
[error] event: SparkListenerExecutorBlacklistedForStage): Unit = {
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/status/AppStatusListener.scala:311:49:
class SparkListenerNodeBlacklistedForStage in package scheduler is deprecated
(since 3.1.0): use SparkListenerNodeExcludedForStage instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.status.AppStatusListener.onNodeBlacklistedForStage.event,
origin=org.apache.spark.scheduler.SparkListenerNodeBlacklistedForStage,
version=3.1.0
[error] override def onNodeBlacklistedForStage(event:
SparkListenerNodeBlacklistedForStage): Unit = {
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/status/AppStatusListener.scala:334:47:
class SparkListenerExecutorUnblacklisted in package scheduler is deprecated
(since 3.1.0): use SparkListenerExecutorUnexcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.status.AppStatusListener.onExecutorUnblacklisted.event,
origin=org.apache.spark.scheduler.SparkListenerExecutorUnblacklisted,
version=3.1.0
[error] override def onExecutorUnblacklisted(event:
SparkListenerExecutorUnblacklisted): Unit = {
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/status/AppStatusListener.scala:342:41:
class SparkListenerNodeBlacklisted in package scheduler is deprecated (since
3.1.0): use SparkListenerNodeExcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.status.AppStatusListener.onNodeBlacklisted.event,
origin=org.apache.spark.scheduler.SparkListenerNodeBlacklisted, version=3.1.0
[error] override def onNodeBlacklisted(event:
SparkListenerNodeBlacklisted): Unit = {
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/status/AppStatusListener.scala:350:43:
class SparkListenerNodeUnblacklisted in package scheduler is deprecated (since
3.1.0): use SparkListenerNodeUnexcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.status.AppStatusListener.onNodeUnblacklisted.event,
origin=org.apache.spark.scheduler.SparkListenerNodeUnblacklisted, version=3.1.0
[error] override def onNodeUnblacklisted(event:
SparkListenerNodeUnblacklisted): Unit = {
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/status/AppStatusListener.scala:400:35:
value BLACKLISTED_EXECUTORS in class AppStatusSource is deprecated (since
3.1.0): use excludedExecutors instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.status.AppStatusListener.updateExecExclusionStatus.$anonfun,
origin=org.apache.spark.status.AppStatusSource.BLACKLISTED_EXECUTORS,
version=3.1.0
[error] appStatusSource.foreach(_.BLACKLISTED_EXECUTORS.inc())
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/status/AppStatusListener.scala:403:35:
value UNBLACKLISTED_EXECUTORS in class AppStatusSource is deprecated (since
3.1.0): use unexcludedExecutors instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.status.AppStatusListener.updateExecExclusionStatus.$anonfun,
origin=org.apache.spark.status.AppStatusSource.UNBLACKLISTED_EXECUTORS,
version=3.1.0
[error] appStatusSource.foreach(_.UNBLACKLISTED_EXECUTORS.inc())
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/status/AppStatusStore.scala:121:40:
value isBlacklisted in class ExecutorSummary is deprecated (since 3.1.0): use
isExcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.status.AppStatusStore.replaceDriverGcTime,
origin=org.apache.spark.status.api.v1.ExecutorSummary.isBlacklisted,
version=3.1.0
[error] source.totalShuffleWrite, source.isBlacklisted,
source.maxMemory, source.addTime,
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/status/AppStatusStore.scala:123:14:
value blacklistedInStages in class ExecutorSummary is deprecated (since
3.1.0): use excludedInStages instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.status.AppStatusStore.replaceDriverGcTime,
origin=org.apache.spark.status.api.v1.ExecutorSummary.blacklistedInStages,
version=3.1.0
[error] source.blacklistedInStages, source.peakMemoryMetrics,
source.attributes, source.resources,
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/status/api/v1/api.scala:529:12:
value holdingLocks in class ThreadStackTrace is deprecated (since 4.0.0):
using synchronizers and monitors instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.status.api.v1.ThreadStackTrace.productElement,
origin=org.apache.spark.status.api.v1.ThreadStackTrace.holdingLocks,
version=4.0.0
[error] case class ThreadStackTrace(
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/status/protobuf/ExecutorStageSummarySerializer.scala:41:39:
value isBlacklistedForStage in class ExecutorStageSummary is deprecated (since
3.1.0): use isExcludedForStage instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.status.protobuf.ExecutorStageSummarySerializer.serialize.builder,
origin=org.apache.spark.status.api.v1.ExecutorStageSummary.isBlacklistedForStage,
version=3.1.0
[error] .setIsBlacklistedForStage(input.isBlacklistedForStage)
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/status/protobuf/ExecutorSummaryWrapperSerializer.scala:64:31:
value isBlacklisted in class ExecutorSummary is deprecated (since 3.1.0): use
isExcluded instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.status.protobuf.ExecutorSummaryWrapperSerializer.serializeExecutorSummary.builder,
origin=org.apache.spark.status.api.v1.ExecutorSummary.isBlacklisted,
version=3.1.0
[error] .setIsBlacklisted(input.isBlacklisted)
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/status/protobuf/ExecutorSummaryWrapperSerializer.scala:79:11:
value blacklistedInStages in class ExecutorSummary is deprecated (since
3.1.0): use excludedInStages instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.status.protobuf.ExecutorSummaryWrapperSerializer.serializeExecutorSummary,
origin=org.apache.spark.status.api.v1.ExecutorSummary.blacklistedInStages,
version=3.1.0
[error] input.blacklistedInStages.foreach { stage =>
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/util/collection/AppendOnlyMap.scala:211:45:
method murmur3_32 in class Hashing is deprecated
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.util.collection.AppendOnlyMap.rehash,
origin=com.google.common.hash.Hashing.murmur3_32
[error] private def rehash(h: Int): Int =
Hashing.murmur3_32().hashInt(h).asInt()
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/core/src/main/scala/org/apache/spark/util/collection/OpenHashSet.scala:269:47:
method murmur3_32 in class Hashing is deprecated
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.util.collection.OpenHashSet.hashcode,
origin=com.google.common.hash.Hashing.murmur3_32
[error] private def hashcode(h: Int): Int =
Hashing.murmur3_32().hashInt(h).asInt()
[error] ^
[error] 61 errors found
[error]
/Users/panbingkun/Developer/spark/spark-community/connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/SparkSession.scala:156:12:
method addAllPosArguments in class Builder is deprecated
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.sql.SparkSession.sql.$anonfun.cmd.$anonfun,
origin=org.apache.spark.connect.proto.SqlCommand.Builder.addAllPosArguments
[error]
.addAllPosArguments(args.map(lit(_).expr).toImmutableArraySeq.asJava)))
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/SparkSession.scala:155:12:
method setSql in class Builder is deprecated
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.sql.SparkSession.sql.$anonfun.cmd.$anonfun,
origin=org.apache.spark.connect.proto.SqlCommand.Builder.setSql
[error] .setSql(sqlText)
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/SparkSession.scala:188:14:
method putAllNamedArguments in class Builder is deprecated
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.sql.SparkSession.sql.$anonfun.cmd.$anonfun,
origin=org.apache.spark.connect.proto.SqlCommand.Builder.putAllNamedArguments
[error] .putAllNamedArguments(args.asScala.map { case (k, v) =>
(k, lit(v).expr) }.asJava)))
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/SparkSession.scala:187:14:
method setSql in class Builder is deprecated
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.sql.SparkSession.sql.$anonfun.cmd.$anonfun,
origin=org.apache.spark.connect.proto.SqlCommand.Builder.setSql
[error] .setSql(sqlText)
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/catalog/Catalog.scala:101:11:
method createExternalTable in class Catalog is deprecated (since 2.2.0): use
createTable instead.
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.sql.catalog.Catalog.createExternalTable,
origin=org.apache.spark.sql.api.Catalog.createExternalTable, version=2.2.0
[error] super.createExternalTable(tableName, path)
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/catalog/Catalog.scala:105:11:
method createExternalTable in class Catalog is deprecated (since 2.2.0): use
createTable instead.
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.sql.catalog.Catalog.createExternalTable,
origin=org.apache.spark.sql.api.Catalog.createExternalTable, version=2.2.0
[error] super.createExternalTable(tableName, path, source)
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/catalog/Catalog.scala:112:11:
method createExternalTable in class Catalog is deprecated (since 2.2.0): use
createTable instead.
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.sql.catalog.Catalog.createExternalTable,
origin=org.apache.spark.sql.api.Catalog.createExternalTable, version=2.2.0
[error] super.createExternalTable(tableName, source, options)
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/catalog/Catalog.scala:126:11:
method createExternalTable in class Catalog is deprecated (since 2.2.0): use
createTable instead.
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.sql.catalog.Catalog.createExternalTable,
origin=org.apache.spark.sql.api.Catalog.createExternalTable, version=2.2.0
[error] super.createExternalTable(tableName, source, options)
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/catalog/Catalog.scala:134:11:
method createExternalTable in class Catalog is deprecated (since 2.2.0): use
createTable instead.
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.sql.catalog.Catalog.createExternalTable,
origin=org.apache.spark.sql.api.Catalog.createExternalTable, version=2.2.0
[error] super.createExternalTable(tableName, source, schema, options)
[error] ^
[error]
/Users/panbingkun/Developer/spark/spark-community/connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/catalog/Catalog.scala:158:11:
method createExternalTable in class Catalog is deprecated (since 2.2.0): use
createTable instead.
[error] Applicable -Wconf / @nowarn filters for this fatal warning:
msg=<part of the message>, cat=deprecation,
site=org.apache.spark.sql.catalog.Catalog.createExternalTable,
origin=org.apache.spark.sql.api.Catalog.createExternalTable, version=2.2.0
[error] super.createExternalTable(tableName, source, schema, options)
[error] ^
[error] 10 errors found
[error] (core / Compile / compileIncremental) Compilation failed
[error] (connect-client-jvm / Compile / compileIncremental) Compilation
failed
[error] Total time: 121 s (02:01), completed Sep 24, 2024, 3:39:40 PM
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]