Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Druid doesn't work

Druid doesn't work

Explorer

I have a 4 node cluster and am trying to make druid work on the same.

I successfully started the hive LLAP services and got the hive interactive JDBC URL.

When trying to create hive table stored by hive ( https://cwiki.apache.org/confluence/display/Hive/Druid+Integration),

I get the following error:

Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. null (state=08S01,code=1)

In fact following the quickstart without using hive, ( http://druid.io/docs/latest/tutorials/tutorial-batch.html and trying to ingest the wikiticker database, also fails with the following error:

97392-screen-shot-2018-12-14-at-121756-pm.png

5 ERROR [main] io.druid.cli.CliPeon - Error when starting up.  Failing.
com.google.inject.ProvisionException: Unable to provision, see the following errors:

1) Error in custom provider, java.lang.OutOfMemoryError
  at io.druid.guice.DruidProcessingModule.getMergeBufferPool(DruidProcessingModule.java:124) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> io.druid.guice.DruidProcessingModule)
  at io.druid.guice.DruidProcessingModule.getMergeBufferPool(DruidProcessingModule.java:124) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> io.druid.guice.DruidProcessingModule)
  while locating io.druid.collections.BlockingPool<java.nio.ByteBuffer> annotated with @io.druid.guice.annotations.Merging()
    for the 4th parameter of io.druid.query.groupby.strategy.GroupByStrategyV2.<init>(GroupByStrategyV2.java:97)
  while locating io.druid.query.groupby.strategy.GroupByStrategyV2
    for the 3rd parameter of io.druid.query.groupby.strategy.GroupByStrategySelector.<init>(GroupByStrategySelector.java:43)
  while locating io.druid.query.groupby.strategy.GroupByStrategySelector
    for the 1st parameter of io.druid.query.groupby.GroupByQueryQueryToolChest.<init>(GroupByQueryQueryToolChest.java:104)
  at io.druid.guice.QueryToolChestModule.configure(QueryToolChestModule.java:95) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> io.druid.guice.QueryRunnerFactoryModule)
  while locating io.druid.query.groupby.GroupByQueryQueryToolChest
  while locating io.druid.query.QueryToolChest annotated with @com.google.inject.multibindings.Element(setName=,uniqueId=64, type=MAPBINDER, keyType=java.lang.Class<? extends io.druid.query.Query>)
  at io.druid.guice.DruidBinders.queryToolChestBinder(DruidBinders.java:45) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> io.druid.guice.QueryRunnerFactoryModule -> com.google.inject.multibindings.MapBinder$RealMapBinder)
  while locating java.util.Map<java.lang.Class<? extends io.druid.query.Query>, io.druid.query.QueryToolChest>
    for the 1st parameter of io.druid.query.MapQueryToolChestWarehouse.<init>(MapQueryToolChestWarehouse.java:36)
  while locating io.druid.query.MapQueryToolChestWarehouse
  while locating io.druid.query.QueryToolChestWarehouse
    for the 1st parameter of io.druid.server.QueryLifecycleFactory.<init>(QueryLifecycleFactory.java:53)
  at io.druid.server.QueryLifecycleFactory.class(QueryLifecycleFactory.java:53)
  while locating io.druid.server.QueryLifecycleFactory
    for the 1st parameter of io.druid.server.QueryResource.<init>(QueryResource.java:107)
  at io.druid.server.QueryResource.class(QueryResource.java:77)
  while locating io.druid.server.QueryResource

1 error
 at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1028) ~[guice-4.1.0.jar:?]
 at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1050) ~[guice-4.1.0.jar:?]
 at io.druid.guice.LifecycleModule$2.start(LifecycleModule.java:154) ~[druid-api-0.10.1.2.6.5.1050-37.jar:0.10.1.2.6.5.1050-37]
 at io.druid.cli.GuiceRunnable.initLifecycle(GuiceRunnable.java:103) [druid-services-0.10.1.2.6.5.1050-37.jar:0.10.1.2.6.5.1050-37]
 at io.druid.cli.CliPeon.run(CliPeon.java:282) [druid-services-0.10.1.2.6.5.1050-37.jar:0.10.1.2.6.5.1050-37]
 at io.druid.cli.Main.main(Main.java:108) [druid-services-0.10.1.2.6.5.1050-37.jar:0.10.1.2.6.5.1050-37]
Caused by: java.lang.OutOfMemoryError

Note:

Ambari-UI shows Druid services running fine but hdp-select show "none" version installed on the edge node.

97389-screen-shot-2018-12-17-at-50840-pm.png

97390-screen-shot-2018-12-17-at-45957-pm.png

97391-screen-shot-2018-12-17-at-45843-pm.png

Don't have an account?
Coming from Hortonworks? Activate your account here