@Config("node-scheduler.max-pending-splits-per-task") @LegacyConfig({"node-scheduler.max-pending-splits-per-node-per-task", "node-scheduler.max-pending-splits-per-node-per-stage"}) public NodeSchedulerConfig setMaxPendingSplitsPerTask(int maxPendingSplitsPerTask) { this.maxPendingSplitsPerTask = maxPendingSplitsPerTask; return this; }
@Config("hive.dfs.domain-socket-path") @LegacyConfig("dfs.domain-socket-path") public HiveClientConfig setDomainSocketPath(String domainSocketPath) { this.domainSocketPath = domainSocketPath; return this; }
@LegacyConfig("query.max-age") @Config("query.min-expire-age") public QueryManagerConfig setMinQueryExpireAge(Duration minQueryExpireAge) { this.minQueryExpireAge = minQueryExpireAge; return this; }
@LegacyConfig("plugin.config-dir") @Config("catalog.config-dir") public StaticCatalogStoreConfig setCatalogConfigurationDir(File dir) { this.catalogConfigurationDir = dir; return this; }
@LegacyConfig("task.verbose-stats") @Config("task.per-operator-cpu-timer-enabled") public TaskManagerConfig setPerOperatorCpuTimerEnabled(boolean perOperatorCpuTimerEnabled) { this.perOperatorCpuTimerEnabled = perOperatorCpuTimerEnabled; return this; }
@LegacyConfig("task.shard.max-threads") @Config("task.max-worker-threads") public TaskManagerConfig setMaxWorkerThreads(int maxWorkerThreads) { this.maxWorkerThreads = maxWorkerThreads; return this; }
@ConfigDescription("Username for control cluster") @Config("control.username-override") @LegacyConfig("control.username") public VerifierConfig setControlUsernameOverride(String controlUsernameOverride) { this.controlUsernameOverride = controlUsernameOverride; return this; }
@ConfigDescription("Password for control cluster") @Config("control.password-override") @LegacyConfig("control.password") public VerifierConfig setControlPasswordOverride(String controlPasswordOverride) { this.controlPasswordOverride = controlPasswordOverride; return this; }
@ConfigDescription("Username for test cluster") @Config("test.username-override") @LegacyConfig("test.username") public VerifierConfig setTestUsernameOverride(String testUsernameOverride) { this.testUsernameOverride = testUsernameOverride; return this; }
@ConfigDescription("Password for test cluster") @Config("test.password-override") @LegacyConfig("test.password") public VerifierConfig setTestPasswordOverride(String testPasswordOverride) { this.testPasswordOverride = testPasswordOverride; return this; }
@LegacyConfig("log.output-file") @Config("log.path") public LoggingConfiguration setLogPath(String logPath) { this.logPath = logPath; return this; }
@LegacyConfig("replacedValue") public void setValue(String value) { this.value = value; } }
@LegacyConfig(value = "home-page-url", replacedBy = "home-page") public PersonConfig setHomePageUrl(URL homePage) { try { this.homePage = homePage.toURI(); return this; } catch (URISyntaxException e) { throw new IllegalArgumentException(e); } } }
@Deprecated @LegacyConfig(value = "replacedValue", replacedBy = "value") public void setIntValue(int value) { this.value = Integer.toString(value); } }
@Config("value") @LegacyConfig(value = "replacedValue", replacedBy = "other-name") public void setValue(String value) { this.value = value; } }
@Config("value") @LegacyConfig({}) public void setValue(String value) { this.value = value; } }
@Config("string-a") @LegacyConfig("string-value") public void setStringA(String stringValue) { this.stringA = stringValue; }
@Deprecated @LegacyConfig("replacedValue") @ConfigSecuritySensitive public void setValue(int value) { this.value = Integer.toString(value); } }
@Config("value") @LegacyConfig("replacedValue") @ConfigDescription("description") public void setValue(String value) { this.value = value; } }
@Config("value") @LegacyConfig({"legacy1", "legacy2"}) @ConfigDescription("description") public void setValue(String value) { this.value = value; } }