Hi Sanel,

this is a bug. Fix was prepared and will be merged soon into the master.

[1] https://issues.apache.org/jira/browse/DRILL-6119
[2] https://github.com/apache/drill/pull/1102

Kind regards
Arina

On Thu, Feb 1, 2018 at 3:56 PM, Sanel Zukan <[email protected]> wrote:

> Hi,
>
> I've noticed that 1.12 version got support for OpenTSDB storage plugin,
> but I'm still failing to register it.
>
> Here are the steps I've tried:
>
> 1. Run it with local zookeeper: bin/sqlline -u jdbc:drill:zk=local
> 2. From http://drill.apache.org/blog/2017/12/15/drill-1.12-released/ I
> tried to register plugin in Storage tab with this code:
>
>   {
>    "storage": {
>      openTSDB: {
>        type: "openTSDB",
>        connection: "http://localhost:10000";,
>        enabled: false
>         }
>      }
>    }
>
> It failed with: "Please retry: error (invalid JSON mapping)". I also
> looked in existing plugins configuration, and tried with this:
>
>   {
>     "type": "openTSDB",
>     "connection": "http://localhost:10000";,
>     "enabled": false
>   }
>
> which also failed with "Please retry: error (invalid JSON mapping)".
>
> In apache-drill-1.12.0/jars folder, I see these storage plugins:
>
>   drill-storage-kafka-1.12.0.jar
>   drill-storage-hbase-1.12.0.jar
>   drill-jdbc-storage-1.12.0.jar
>   drill-storage-hive-core-1.12.0.jar
>   drill-kudu-storage-1.12.0.jar
>   drill-mongo-storage-1.12.0.jar
>
> Also, grepping through jars I can't find any of classes from
> org.apache.drill.exec.store.openTSDB package. Is OpenTSDB plugin
> (un)intentionally left from release tarball or the cause could be
> something else?
>
> Thanks,
> Sanel
>

Reply via email to