添加 flink hbase 连接器依赖项 [英] Adding flink hbase connector dependency

查看:62
本文介绍了添加 flink hbase 连接器依赖项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从 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:

  1. 在你的文件中找到你的 pom.xml

  1. 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆