com.google.inject.ProvisionException: Unable to provision, see the following errors:
1) druid.segmentCache.locations - may not be empty
at io.druid.guice.JsonConfigProvider.bind(JsonConfigProvider.java:131) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> io.druid.guice.StorageNodeModule)
at io.druid.guice.JsonConfigProvider.bind(JsonConfigProvider.java:131) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> io.druid.guice.StorageNodeModule)
while locating com.google.common.base.Supplier<io.druid.segment.loading.SegmentLoaderConfig>
at io.druid.guice.JsonConfigProvider.bind(JsonConfigProvider.java:132) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> io.druid.guice.StorageNodeModule)
while locating io.druid.segment.loading.SegmentLoaderConfig
for the 2nd parameter of io.druid.segment.loading.SegmentLoaderLocalCacheManager.<init>(SegmentLoaderLocalCacheManager.java:59)
while locating io.druid.segment.loading.SegmentLoaderLocalCacheManager
at io.druid.guice.LocalDataStorageDruidModule.configure(LocalDataStorageDruidModule.java:53) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> io.druid.guice.LocalDataStorageDruidModule)
while locating io.druid.segment.loading.SegmentLoader
for the 1st parameter of io.druid.server.coordination.ServerManager.<init>(ServerManager.java:106)
at io.druid.cli.CliHistorical$1.configure(CliHistorical.java:78) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> io.druid.cli.CliHistorical$1)
while locating io.druid.server.coordination.ServerManager
at io.druid.cli.CliHistorical$1.configure(CliHistorical.java:80) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> io.druid.cli.CliHistorical$1)
while locating io.druid.query.QuerySegmentWalker
for the 5th parameter of io.druid.server.QueryResource.<init>(QueryResource.java:110)
while locating io.druid.server.QueryResource
So I want to know about this property:
(1) I just used hdfs as the deep storage, so why historical still need local disk cache?
(2) I want to set no caching, what the error mean? how to fix it ?
--
You received this message because you are subscribed to the Google Groups "Druid User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+unsubscribe@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/1ac6985d-1e73-4b4e-8fc4-0b6026db7032%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Gian
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+unsubscribe@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/7a02fa5a-a70b-4879-ba10-53191d12c485%40googlegroups.com.
Yeah, you still need another copy on the local disks. Druid always serves queries off its local memory or disk, and views deep storage as more of a "backup". druid.segmentCache.locations is mandatory since the default value of "none" is not a workable config.
Gian
On Mon, Aug 29, 2016 at 8:53 PM, Zha Rui <zrd...@gmail.com> wrote:
Gian:Than you for quick reply. As you say even if I havei persisted segments on HDFS druid still needs another copy of segments in local disk cache??? And what does it meaning "no caching" as the default value of "druid.segmentCache.locations"?
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/b4dfb127-9c57-4bd0-a773-cbfdf0ac67e7%40googlegroups.com.
Gian
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/de102b7a-4b18-42af-8a19-d52e7a5a21b2%40googlegroups.com.