Which config file do we set Rubix's configuration settings?

52 views
Skip to first unread message

myth...@gmail.com

unread,
Feb 6, 2018, 8:27:56 PM2/6/18
to RubiX
Hello, All.

From perusing the following documentation, it appears that one sets Rubix's configuration properties (e.g. hadoop.cache.data.enabled=true) in the catalog configurations:

However, after setting these in a catalog file, one sees the following startup failure in Presto 0.192. Should I be putting these configs elsewhere?

<fail>
2018-02-07T01:18:52.087Z        WARN    main    Bootstrap       UNUSED PROPERTIES
2018-02-07T01:18:52.087Z        WARN    main    Bootstrap       hadoop.cache.data.block-size
2018-02-07T01:18:52.087Z        WARN    main    Bootstrap       hadoop.cache.data.dirprefix.list
2018-02-07T01:18:52.087Z        WARN    main    Bootstrap       hadoop.cache.data.enabled
2018-02-07T01:18:52.087Z        WARN    main    Bootstrap       hadoop.cache.data.table.columns.min
2018-02-07T01:18:52.087Z        WARN    main    Bootstrap       hadoop.cache.data.table.whitelist
2018-02-07T01:18:52.087Z        WARN    main    Bootstrap
2018-02-07T01:18:52.252Z        ERROR   main    com.facebook.presto.server.PrestoServer Unable to create injector, see the following errors:

1) Configuration property 'hadoop.cache.data.block-size' was not used
  at io.airlift.bootstrap.Bootstrap.lambda$initialize$2(Bootstrap.java:235)

2) Configuration property 'hadoop.cache.data.dirprefix.list' was not used
  at io.airlift.bootstrap.Bootstrap.lambda$initialize$2(Bootstrap.java:235)

3) Configuration property 'hadoop.cache.data.enabled' was not used
  at io.airlift.bootstrap.Bootstrap.lambda$initialize$2(Bootstrap.java:235)

4) Configuration property 'hadoop.cache.data.table.columns.min' was not used
  at io.airlift.bootstrap.Bootstrap.lambda$initialize$2(Bootstrap.java:235)

5) Configuration property 'hadoop.cache.data.table.whitelist' was not used
  at io.airlift.bootstrap.Bootstrap.lambda$initialize$2(Bootstrap.java:235)

5 errors
com.google.inject.CreationException: Unable to create injector, see the following errors:

1) Configuration property 'hadoop.cache.data.block-size' was not used
  at io.airlift.bootstrap.Bootstrap.lambda$initialize$2(Bootstrap.java:235)

2) Configuration property 'hadoop.cache.data.dirprefix.list' was not used
  at io.airlift.bootstrap.Bootstrap.lambda$initialize$2(Bootstrap.java:235)

3) Configuration property 'hadoop.cache.data.enabled' was not used
  at io.airlift.bootstrap.Bootstrap.lambda$initialize$2(Bootstrap.java:235)

4) Configuration property 'hadoop.cache.data.table.columns.min' was not used
  at io.airlift.bootstrap.Bootstrap.lambda$initialize$2(Bootstrap.java:235)

5) Configuration property 'hadoop.cache.data.table.whitelist' was not used
  at io.airlift.bootstrap.Bootstrap.lambda$initialize$2(Bootstrap.java:235)

5 errors
        at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:466)
        at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:155)
        at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107)
        at com.google.inject.Guice.createInjector(Guice.java:96)
        at io.airlift.bootstrap.Bootstrap.initialize(Bootstrap.java:242)
        at com.facebook.presto.hive.HiveConnectorFactory.create(HiveConnectorFactory.java:110)
        at com.facebook.presto.connector.ConnectorManager.createConnector(ConnectorManager.java:303)
        at com.facebook.presto.connector.ConnectorManager.addCatalogConnector(ConnectorManager.java:191)
        at com.facebook.presto.connector.ConnectorManager.createConnection(ConnectorManager.java:183)
        at com.facebook.presto.connector.ConnectorManager.createConnection(ConnectorManager.java:169)
        at com.facebook.presto.metadata.StaticCatalogStore.loadCatalog(StaticCatalogStore.java:96)
        at com.facebook.presto.metadata.StaticCatalogStore.loadCatalogs(StaticCatalogStore.java:74)
        at com.facebook.presto.server.PrestoServer.run(PrestoServer.java:118)
        at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:66)
</fail>

With best regards,
Mithun
Reply all
Reply to author
Forward
0 new messages