Github user fpompermaier commented on a diff in the pull request:
https://github.com/apache/incubator-flink/pull/220#discussion_r20648707
--- Diff: flink-addons/flink-hbase/pom.xml ---
@@ -28,59 +28,60 @@ under the License.
<version>0.8-incubating-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
-
- <repositories>
- <repository>
- <id>cloudera-releases</id>
-
<url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- </repositories>
-
- <properties>
- <hbase.version>0.96.0-hadoop2</hbase.version>
- </properties>
<artifactId>flink-hbase</artifactId>
<name>flink-hbase</name>
<packaging>jar</packaging>
+ <properties>
+ <hbase.hadoop1.version>0.98.6.1-hadoop1</hbase.hadoop1.version>
+ <hbase.hadoop2.version>0.98.6.1-hadoop2</hbase.hadoop2.version>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-core</artifactId>
<version>${project.version}</version>
</dependency>
-
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-java</artifactId>
<version>${project.version}</version>
</dependency>
-
<dependency>
- <groupId>org.apache.hbase</groupId>
- <artifactId>hbase</artifactId>
- <version>0.94.2-cdh4.2.1</version>
+ <groupId>org.apache.flink</groupId>
+ <artifactId>flink-clients</artifactId>
+ <version>${project.version}</version>
<exclusions>
- <!-- jruby is used for the hbase shell. -->
<exclusion>
- <groupId>org.jruby</groupId>
- <artifactId>jruby-complete</artifactId>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-core</artifactId>
</exclusion>
</exclusions>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flink</groupId>
+ <artifactId>flink-hadoop-compatibility</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-client</artifactId>
+ <version>${hbase.version}</version>
</dependency>
-
<dependency>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-client</artifactId>
- <version>${hadoop.version}</version>
+ <groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-server</artifactId>
--- End diff --
You were actually right :)
Now it is possible to use ResultScanner from client lib insteadof
TableRecordReader (that is in the server)! Just pushed
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---