public class TestConfig extends BaseTest
| Constructor and Description |
|---|
TestConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
testLoad()
Creates a stack of settings to test overrides.
|
void |
testNonLocalized() |
void |
testNonLocalizedNonSite() |
public void testLoad()
throws IOException,
DoyConfigException
| property | default | distrib | user | system |
|---|---|---|---|---|
| drill-key | "drill" | |||
| app-dir | "/user/drill" | "/opt/drill" | ||
| app-name | "Drill-on-YARN" | "config-app-name" | "My-App" | |
| queue | "default" | "distrib-queue" | "my-queue" | "sys-queue" |
Full property names:
IOExceptionDoyConfigExceptionpublic void testNonLocalized()
throws IOException,
DoyConfigException
IOExceptionDoyConfigExceptionpublic void testNonLocalizedNonSite()
throws IOException,
DoyConfigException
IOExceptionDoyConfigExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.