You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.
objectExampleSchemaextendsSchema {
//There should only be one HBaseConfiguration object per process. You'll probably want to manage that//instance yourself, so this library expects a reference to that instance. It's implicitly injected into//the code, so the most convenient place to put it is right after you declare your Schema.implicitvalconf=LocalCluster.getTestConfiguration
This approach is tightly-coupling a test Hadoop configuration into the schema object. Obviously this is fine for a project which will never be run on a real cluster, but what's the recommended approach for a schema which will be used "in anger", i.e. needs to support LocalCluster.getTestConfigurationand the real Hadoop cluster's Configuration? (Bearing in mind that implicit values in Scala can't cross object boundaries.)
The text was updated successfully, but these errors were encountered:
I'm confused by the schema design found in the HPaste test suite:
This approach is tightly-coupling a test Hadoop configuration into the schema object. Obviously this is fine for a project which will never be run on a real cluster, but what's the recommended approach for a schema which will be used "in anger", i.e. needs to support
LocalCluster.getTestConfiguration
and the real Hadoop cluster'sConfiguration
? (Bearing in mind that implicit values in Scala can't cross object boundaries.)The text was updated successfully, but these errors were encountered: