zentol commented on code in PR #1:
URL: 
https://github.com/apache/flink-connector-hbase/pull/1#discussion_r1032457087


##########
pom.xml:
##########
@@ -0,0 +1,545 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+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.
+-->
+<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/maven-v4_0_0.xsd";>
+
+       <modelVersion>4.0.0</modelVersion>
+
+       <parent>
+               <groupId>io.github.zentol.flink</groupId>
+               <artifactId>flink-connector-parent</artifactId>
+               <version>1.0</version>
+       </parent>
+
+       <groupId>org.apache.flink</groupId>
+       <artifactId>flink-connector-hbase-parent</artifactId>
+       <version>1.0-SNAPSHOT</version>
+
+       <name>Flink : Connectors : HBase Parent</name>
+       <packaging>pom</packaging>
+       <url>https://flink.apache.org</url>
+       <inceptionYear>2022</inceptionYear>
+
+       <licenses>
+               <license>
+                       <name>The Apache Software License, Version 2.0</name>
+                       
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
+                       <distribution>repo</distribution>
+               </license>
+       </licenses>
+
+       <scm>
+               <url>https://github.com/apache/flink-connector-hbase</url>
+               
<connection>g...@github.com:apache/flink-connector-hbase.git</connection>
+               
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/flink-connector-hbase.git</developerConnection>
+       </scm>
+
+       <properties>
+               <scala.binary.version>2.12</scala.binary.version>
+
+               <flink.version>1.16.0</flink.version>
+               <flink.shaded.version>16.0</flink.shaded.version>
+
+               <assertj.version>3.21.0</assertj.version>
+               <hadoop.version>2.8.5</hadoop.version>
+               <hbase1.version>1.4.3</hbase1.version>
+               <hbase2.version>2.2.3</hbase2.version>
+               <httpclient.version>4.5.13</httpclient.version>
+               <httpcore.version>4.4.14</httpcore.version>
+               <jackson.version>2.13.4.20221013</jackson.version>
+               <jsr305.version>1.3.9</jsr305.version>
+               <junit4.version>4.13.2</junit4.version>
+               <junit5.version>5.8.1</junit5.version>
+               <kryo.verison>2.24.0</kryo.verison>
+               <netty.version>4.1.77.Final</netty.version>

Review Comment:
   I'd suggest to stick to the version that we used in 1.16.0. We've had issues 
with netty versions way too often that I'd be comfortable with just bumping it 
just like that.



##########
flink-connector-hbase-2.2/pom.xml:
##########
@@ -0,0 +1,431 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+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.
+-->
+<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/maven-v4_0_0.xsd";>
+
+       <modelVersion>4.0.0</modelVersion>
+
+       <parent>
+               <groupId>org.apache.flink</groupId>
+               <artifactId>flink-connector-hbase-parent</artifactId>
+               <version>1.0-SNAPSHOT</version>
+       </parent>
+
+       <artifactId>flink-connector-hbase-2.2</artifactId>
+       <name>Flink : Connectors : HBase 2.2</name>
+       <packaging>jar</packaging>
+
+       <dependencies>
+               <!-- Core -->
+               <dependency>
+                       <groupId>org.apache.flink</groupId>
+                       <artifactId>flink-core</artifactId>
+                       <scope>provided</scope>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.apache.flink</groupId>
+                       <artifactId>flink-streaming-java</artifactId>
+                       <scope>provided</scope>
+               </dependency>
+
+               <!-- Flink HBase -->
+               <dependency>
+                       <groupId>org.apache.flink</groupId>
+                       <artifactId>flink-connector-hbase-base</artifactId>
+                       <version>${project.version}</version>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>org.apache.hbase</groupId>
+                                       <artifactId>hbase-client</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.apache.hbase</groupId>
+                                       <artifactId>hbase-server</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+
+               <!-- Table ecosystem -->
+
+               <!-- Projects depending on this project won't depend on 
flink-table-*. -->
+               <dependency>
+                       <groupId>org.apache.flink</groupId>
+                       <artifactId>flink-table-api-java-bridge</artifactId>
+                       <scope>provided</scope>
+                       <optional>true</optional>
+               </dependency>
+
+               <!-- HBase -->
+               <dependency>
+                       <groupId>org.apache.hadoop</groupId>
+                       <artifactId>hadoop-common</artifactId>
+                       <scope>provided</scope>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>log4j</groupId>
+                                       <artifactId>log4j</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.slf4j</groupId>
+                                       <artifactId>slf4j-log4j12</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.apache.hbase</groupId>
+                       <artifactId>hbase-client</artifactId>
+                       <exclusions>
+                               <!-- Remove unneeded dependency, which is 
conflicting with our jetty-util version. -->
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jetty-util</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jetty</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jetty-sslengine</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jsp-2.1</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jsp-api-2.1</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>servlet-api-2.5</artifactId>
+                               </exclusion>
+                               <!-- Bug in hbase annotations, can be removed 
when fixed. See FLINK-2153. -->
+                               <exclusion>
+                                       <groupId>org.apache.hbase</groupId>
+                                       
<artifactId>hbase-annotations</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-core</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.apache.hadoop</groupId>
+                                       <artifactId>hadoop-common</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.apache.hadoop</groupId>
+                                       <artifactId>hadoop-auth</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.apache.hadoop</groupId>
+                                       
<artifactId>hadoop-annotations</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.apache.hadoop</groupId>
+                                       
<artifactId>hadoop-mapreduce-client-core</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.apache.hadoop</groupId>
+                                       <artifactId>hadoop-client</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.apache.hadoop</groupId>
+                                       <artifactId>hadoop-hdfs</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>log4j</groupId>
+                                       <artifactId>log4j</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.slf4j</groupId>
+                                       <artifactId>slf4j-log4j12</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+
+               <!-- Tests -->
+               <dependency>
+                       <groupId>junit</groupId>
+                       <artifactId>junit</artifactId>
+                       <scope>test</scope>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.apache.flink</groupId>
+                       <artifactId>flink-connector-hbase-base</artifactId>
+                       <version>${project.version}</version>
+                       <exclusions>
+                               <!-- exclude HBase dependencies -->
+                               <exclusion>
+                                       <groupId>org.apache.hbase</groupId>
+                                       <artifactId>hbase-server</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.apache.hbase</groupId>
+                                       
<artifactId>hbase-hadoop-compat</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.apache.hbase</groupId>
+                                       
<artifactId>hbase-hadoop2-compat</artifactId>
+                               </exclusion>
+                       </exclusions>
+                       <type>test-jar</type>
+                       <scope>test</scope>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.apache.flink</groupId>
+                       <artifactId>flink-clients</artifactId>
+                       <version>${flink.version}</version>
+                       <scope>test</scope>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.apache.flink</groupId>
+                       
<artifactId>flink-hadoop-compatibility_${scala.binary.version}</artifactId>
+                       <scope>test</scope>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>org.apache.flink</groupId>
+                                       
<artifactId>flink-shaded-include-yarn_${scala.binary.version}</artifactId>

Review Comment:
   There's no such dependency.



##########
pom.xml:
##########
@@ -0,0 +1,545 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+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.
+-->
+<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/maven-v4_0_0.xsd";>
+
+       <modelVersion>4.0.0</modelVersion>
+
+       <parent>
+               <groupId>io.github.zentol.flink</groupId>
+               <artifactId>flink-connector-parent</artifactId>
+               <version>1.0</version>
+       </parent>
+
+       <groupId>org.apache.flink</groupId>
+       <artifactId>flink-connector-hbase-parent</artifactId>
+       <version>1.0-SNAPSHOT</version>
+
+       <name>Flink : Connectors : HBase Parent</name>
+       <packaging>pom</packaging>
+       <url>https://flink.apache.org</url>
+       <inceptionYear>2022</inceptionYear>
+
+       <licenses>
+               <license>
+                       <name>The Apache Software License, Version 2.0</name>
+                       
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
+                       <distribution>repo</distribution>
+               </license>
+       </licenses>
+
+       <scm>
+               <url>https://github.com/apache/flink-connector-hbase</url>
+               
<connection>g...@github.com:apache/flink-connector-hbase.git</connection>
+               
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/flink-connector-hbase.git</developerConnection>
+       </scm>
+
+       <properties>
+               <scala.binary.version>2.12</scala.binary.version>
+
+               <flink.version>1.16.0</flink.version>
+               <flink.shaded.version>16.0</flink.shaded.version>

Review Comment:
   ```suggestion
                <flink.shaded.version>15.0</flink.shaded.version>
   ```
   This is the actual version that 1.16.0 depends on.



##########
.idea/vcs.xml:
##########
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="VcsDirectoryMappings">
+    <mapping directory="" vcs="Git" />

Review Comment:
   This should be closer to 
https://github.com/apache/flink-connector-elasticsearch/blob/main/.idea/vcs.xml 
for some nifty IDE features.



##########
flink-connector-hbase-2.2/pom.xml:
##########
@@ -0,0 +1,431 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+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.
+-->
+<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/maven-v4_0_0.xsd";>
+
+       <modelVersion>4.0.0</modelVersion>
+
+       <parent>
+               <groupId>org.apache.flink</groupId>
+               <artifactId>flink-connector-hbase-parent</artifactId>
+               <version>1.0-SNAPSHOT</version>
+       </parent>
+
+       <artifactId>flink-connector-hbase-2.2</artifactId>
+       <name>Flink : Connectors : HBase 2.2</name>
+       <packaging>jar</packaging>
+
+       <dependencies>
+               <!-- Core -->
+               <dependency>
+                       <groupId>org.apache.flink</groupId>
+                       <artifactId>flink-core</artifactId>
+                       <scope>provided</scope>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.apache.flink</groupId>
+                       <artifactId>flink-streaming-java</artifactId>
+                       <scope>provided</scope>
+               </dependency>
+
+               <!-- Flink HBase -->
+               <dependency>
+                       <groupId>org.apache.flink</groupId>
+                       <artifactId>flink-connector-hbase-base</artifactId>
+                       <version>${project.version}</version>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>org.apache.hbase</groupId>
+                                       <artifactId>hbase-client</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.apache.hbase</groupId>
+                                       <artifactId>hbase-server</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+
+               <!-- Table ecosystem -->
+
+               <!-- Projects depending on this project won't depend on 
flink-table-*. -->
+               <dependency>
+                       <groupId>org.apache.flink</groupId>
+                       <artifactId>flink-table-api-java-bridge</artifactId>
+                       <scope>provided</scope>
+                       <optional>true</optional>
+               </dependency>
+
+               <!-- HBase -->
+               <dependency>
+                       <groupId>org.apache.hadoop</groupId>
+                       <artifactId>hadoop-common</artifactId>
+                       <scope>provided</scope>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>log4j</groupId>
+                                       <artifactId>log4j</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.slf4j</groupId>
+                                       <artifactId>slf4j-log4j12</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.apache.hbase</groupId>
+                       <artifactId>hbase-client</artifactId>
+                       <exclusions>
+                               <!-- Remove unneeded dependency, which is 
conflicting with our jetty-util version. -->
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jetty-util</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jetty</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jetty-sslengine</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jsp-2.1</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jsp-api-2.1</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>servlet-api-2.5</artifactId>
+                               </exclusion>
+                               <!-- Bug in hbase annotations, can be removed 
when fixed. See FLINK-2153. -->
+                               <exclusion>
+                                       <groupId>org.apache.hbase</groupId>
+                                       
<artifactId>hbase-annotations</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-core</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.apache.hadoop</groupId>
+                                       <artifactId>hadoop-common</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.apache.hadoop</groupId>
+                                       <artifactId>hadoop-auth</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.apache.hadoop</groupId>
+                                       
<artifactId>hadoop-annotations</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.apache.hadoop</groupId>
+                                       
<artifactId>hadoop-mapreduce-client-core</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.apache.hadoop</groupId>
+                                       <artifactId>hadoop-client</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.apache.hadoop</groupId>
+                                       <artifactId>hadoop-hdfs</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>log4j</groupId>
+                                       <artifactId>log4j</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.slf4j</groupId>
+                                       <artifactId>slf4j-log4j12</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+
+               <!-- Tests -->
+               <dependency>
+                       <groupId>junit</groupId>
+                       <artifactId>junit</artifactId>
+                       <scope>test</scope>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.apache.flink</groupId>
+                       <artifactId>flink-connector-hbase-base</artifactId>
+                       <version>${project.version}</version>
+                       <exclusions>
+                               <!-- exclude HBase dependencies -->
+                               <exclusion>
+                                       <groupId>org.apache.hbase</groupId>
+                                       <artifactId>hbase-server</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.apache.hbase</groupId>
+                                       
<artifactId>hbase-hadoop-compat</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.apache.hbase</groupId>
+                                       
<artifactId>hbase-hadoop2-compat</artifactId>
+                               </exclusion>
+                       </exclusions>
+                       <type>test-jar</type>
+                       <scope>test</scope>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.apache.flink</groupId>
+                       <artifactId>flink-clients</artifactId>
+                       <version>${flink.version}</version>
+                       <scope>test</scope>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.apache.flink</groupId>
+                       
<artifactId>flink-hadoop-compatibility_${scala.binary.version}</artifactId>
+                       <scope>test</scope>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>org.apache.flink</groupId>
+                                       
<artifactId>flink-shaded-include-yarn_${scala.binary.version}</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.apache.flink</groupId>
+                       <artifactId>flink-table-common</artifactId>
+                       <type>test-jar</type>
+                       <scope>test</scope>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.apache.flink</groupId>
+                       
<artifactId>flink-table-api-scala-bridge_${scala.binary.version}</artifactId>

Review Comment:
   what do we need the scala bridge for? I see no scala code or any scala 
import.



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to