0

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>

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>

But intellij is saying dependency not found. How do I add this dependency?

kinkajou
  • 3,664
  • 25
  • 75
  • 128
  • From what I see, they have not released 0.9.0 version, its just someone updated the readme documentation, please check again - https://github.com/druid-io/tranquility/releases – Biplob Biswas Oct 23 '17 at 08:27
  • @BiplobBiswas Yes, The documentation is not correct (readme). But still can't import 0.8.2 as well. – kinkajou Oct 23 '17 at 08:46

1 Answers1

0

After lot of trying, I manually added library:

  1. Find your pom.xml in your files

  2. Right click on it --> Maven --> Import

  3. Wait for the project to load :D
  4. Press ctrl+alt+shift+s (This opens the Projects window.)

Then click green + sign to import maven library.

kinkajou
  • 3,664
  • 25
  • 75
  • 128