You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celeborn.apache.org by ni...@apache.org on 2024/03/12 06:08:09 UTC
(incubator-celeborn) branch branch-0.4 updated: [CELEBORN-1324][MINOR] Remove unused PrometheusSink class
This is an automated email from the ASF dual-hosted git repository.
nicholasjiang pushed a commit to branch branch-0.4
in repository https://gitbox.apache.org/repos/asf/incubator-celeborn.git
The following commit(s) were added to refs/heads/branch-0.4 by this push:
new 724cb7835 [CELEBORN-1324][MINOR] Remove unused PrometheusSink class
724cb7835 is described below
commit 724cb78357eccb5cba34af8316acc165d668210c
Author: Fei Wang <fw...@ebay.com>
AuthorDate: Tue Mar 12 14:07:12 2024 +0800
[CELEBORN-1324][MINOR] Remove unused PrometheusSink class
### What changes were proposed in this pull request?
PrometheusSink is not used.
### Why are the changes needed?
Close CELEBORN-1324
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Not needed.
Closes #2381 from turboFei/remove_unused.
Authored-by: Fei Wang <fw...@ebay.com>
Signed-off-by: SteNicholas <pr...@163.com>
(cherry picked from commit 597f594f93766451f3b5178ca511aa656844be06)
Signed-off-by: SteNicholas <pr...@163.com>
---
.../common/metrics/sink/PrometheusSink.scala | 30 ----------------------
1 file changed, 30 deletions(-)
diff --git a/common/src/main/scala/org/apache/celeborn/common/metrics/sink/PrometheusSink.scala b/common/src/main/scala/org/apache/celeborn/common/metrics/sink/PrometheusSink.scala
deleted file mode 100644
index 4c6d37093..000000000
--- a/common/src/main/scala/org/apache/celeborn/common/metrics/sink/PrometheusSink.scala
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.celeborn.common.metrics.sink
-
-import java.util.Properties
-
-import com.codahale.metrics.MetricRegistry
-
-class PrometheusSink(val property: Properties, val registry: MetricRegistry) extends Sink {
- override def start(): Unit = {}
-
- override def stop(): Unit = {}
-
- override def report(): Unit = {}
-}