You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by za...@apache.org on 2023/03/09 15:37:06 UTC

[hive] 01/02: HIVE-27131: Remove empty module shims/scheduler (Stamatis Zampetakis reviewed by Krisztian Kasa)

This is an automated email from the ASF dual-hosted git repository.

zabetak pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git

commit da967c215dc0a155dc7fabd3e40ecbd9b30bb3c2
Author: Stamatis Zampetakis <za...@gmail.com>
AuthorDate: Wed Mar 8 13:18:54 2023 +0100

    HIVE-27131: Remove empty module shims/scheduler (Stamatis Zampetakis reviewed by Krisztian Kasa)
    
    The module has nothing more than a plain pom.xml file and the latter
    does not seem to do anything special apart from bundling up together
    some optional dependencies.
    
    There is no source code, no tests, and no reason for the module to
    exist.
    
    At some point it used to contain a few classes but these were removed
    progressively (e.g., HIVE-22398) leaving back an empty module.
    
    Closes #4103
---
 shims/aggregator/pom.xml |   6 ---
 shims/pom.xml            |   1 -
 shims/scheduler/pom.xml  | 120 -----------------------------------------------
 3 files changed, 127 deletions(-)

diff --git a/shims/aggregator/pom.xml b/shims/aggregator/pom.xml
index b68f629ff75..9ad5c8807ac 100644
--- a/shims/aggregator/pom.xml
+++ b/shims/aggregator/pom.xml
@@ -40,11 +40,5 @@
       <version>${project.version}</version>
       <scope>runtime</scope>
     </dependency>
-    <dependency>
-      <groupId>org.apache.hive.shims</groupId>
-      <artifactId>hive-shims-scheduler</artifactId>
-      <version>${project.version}</version>
-      <scope>runtime</scope>
-    </dependency>
   </dependencies>
 </project>
diff --git a/shims/pom.xml b/shims/pom.xml
index 44a1c1fda9f..83d653ad21b 100644
--- a/shims/pom.xml
+++ b/shims/pom.xml
@@ -29,7 +29,6 @@
   <modules>
     <module>common</module>
     <module>0.23</module>
-    <module>scheduler</module>
     <module>aggregator</module>
   </modules>
 </project>
diff --git a/shims/scheduler/pom.xml b/shims/scheduler/pom.xml
deleted file mode 100644
index ebd0388b041..00000000000
--- a/shims/scheduler/pom.xml
+++ /dev/null
@@ -1,120 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed 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.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.hive</groupId>
-    <artifactId>hive</artifactId>
-    <version>4.0.0-SNAPSHOT</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.hive.shims</groupId>
-  <artifactId>hive-shims-scheduler</artifactId>
-  <packaging>jar</packaging>
-  <name>Hive Shims Scheduler</name>
-  <properties>
-    <hive.path.to.root>../..</hive.path.to.root>
-  </properties>
-  <dependencies>
-    <!-- dependencies are always listed in sorted order by groupId, artifactId -->
-    <!-- intra-project -->
-    <dependency>
-      <groupId>org.apache.hive.shims</groupId>
-      <artifactId>hive-shims-common</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <!-- inter-project -->
-    <dependency>
-      <groupId>org.apache.hadoop</groupId>
-      <artifactId>hadoop-common</artifactId>
-      <optional>true</optional>
-      <exclusions>
-        <exclusion>
-          <groupId>commons-beanutils</groupId>
-          <artifactId>commons-beanutils</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>org.slf4j</groupId>
-          <artifactId>slf4j-log4j12</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>org.slf4j</groupId>
-          <artifactId>slf4j-reload4j</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>ch.qos.reload4j</groupId>
-          <artifactId>reload4j</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>commons-logging</groupId>
-          <artifactId>commons-logging</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.hadoop</groupId>
-      <artifactId>hadoop-mapreduce-client-core</artifactId>
-      <optional>true</optional>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.hadoop</groupId>
-      <artifactId>hadoop-yarn-api</artifactId>
-      <optional>true</optional>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.hadoop</groupId>
-      <artifactId>hadoop-yarn-common</artifactId>
-      <optional>true</optional>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.hadoop</groupId>
-      <artifactId>hadoop-yarn-client</artifactId>
-      <optional>true</optional>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.hadoop</groupId>
-      <artifactId>hadoop-yarn-server-resourcemanager</artifactId>
-      <version>${hadoop.version}</version>
-      <optional>true</optional>
-      <exclusions>
-        <exclusion>
-          <groupId>org.slf4j</groupId>
-          <artifactId>slf4j-log4j12</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>org.slf4j</groupId>
-          <artifactId>slf4j-reload4j</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>ch.qos.reload4j</groupId>
-          <artifactId>reload4j</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.hadoop</groupId>
-      <artifactId>hadoop-yarn-server-tests</artifactId>
-      <version>${hadoop.version}</version>
-      <optional>true</optional>
-      <classifier>tests</classifier>
-      <exclusions>
-        <exclusion>
-          <groupId>com.codahale.metrics</groupId>
-          <artifactId>metrics-core</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-  </dependencies>
-</project>