添加flink hbase连接器依赖项 [英] Adding flink hbase connector dependency
问题描述
我正在尝试通过flink与Hbase和Druid连接.我在intellij中添加了以下依赖项.
I am trying to connect with Hbase and Druid from flink. I have added following dependency in intellij.
https://mvnrepository.com/artifact/org.apache.flink/flink-hbase_2.10
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-hbase_2.10</artifactId>
<version>1.3.2</version>
</dependency>
和 https://github.com/druid-io/tranquility .似乎Maven Central仅具有版本 0.8.2 而不是大于0.9.
and https://github.com/druid-io/tranquility. Seems maven central has only version 0.8.2 rather than 0.9.
<dependency>
<groupId>io.druid</groupId>
<artifactId>tranquility-flink_2.11</artifactId>
<version>0.9.0</version>
</dependency>
但是intellij表示未找到依赖项.如何添加此依赖项?
But intellij is saying dependency not found. How do I add this dependency?
推荐答案
经过大量尝试,我手动添加了库:
After lot of trying, I manually added library:
-
在文件中找到pom.xml
Find your pom.xml in your files
右键单击-> Maven->导入
Right click on it --> Maven --> Import
然后单击绿色+符号以导入Maven库.
Then click green + sign to import maven library.
这篇关于添加flink hbase连接器依赖项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!