Michael Blow has uploaded a new change for review. https://asterix-gerrit.ics.uci.edu/2585
Change subject: [NO ISSUE] Remove unused metadata property "instance.name" ...................................................................... [NO ISSUE] Remove unused metadata property "instance.name" Change-Id: Ic530559e96eb4c744499f46a5595e3a4c59f7683 --- M asterixdb/asterix-common/src/main/java/org/apache/asterix/common/config/MetadataProperties.java M asterixdb/asterix-doc/src/site/markdown/ncservice.md 2 files changed, 0 insertions(+), 8 deletions(-) git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb refs/changes/85/2585/1 diff --git a/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/config/MetadataProperties.java b/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/config/MetadataProperties.java index 0b18f98..7325c98 100644 --- a/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/config/MetadataProperties.java +++ b/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/config/MetadataProperties.java @@ -34,7 +34,6 @@ public class MetadataProperties extends AbstractProperties { public enum Option implements IOption { - INSTANCE_NAME(STRING, "DEFAULT_INSTANCE"), METADATA_NODE(STRING, null), METADATA_REGISTRATION_TIMEOUT_SECS(INTEGER, 60), METADATA_LISTEN_PORT(INTEGER, 0), @@ -56,8 +55,6 @@ @Override public String description() { switch (this) { - case INSTANCE_NAME: - return "The name of this cluster instance"; case METADATA_NODE: return "the node which should serve as the metadata node"; case METADATA_REGISTRATION_TIMEOUT_SECS: @@ -95,10 +92,6 @@ public MetadataProperties(PropertiesAccessor accessor) { super(accessor); - } - - public String getInstanceName() { - return accessor.getString(Option.INSTANCE_NAME); } public String getMetadataNodeName() { diff --git a/asterixdb/asterix-doc/src/site/markdown/ncservice.md b/asterixdb/asterix-doc/src/site/markdown/ncservice.md index 1d174e9..713ee71 100644 --- a/asterixdb/asterix-doc/src/site/markdown/ncservice.md +++ b/asterixdb/asterix-doc/src/site/markdown/ncservice.md @@ -346,7 +346,6 @@ | common | compiler.parallelism | The degree of parallelism for query execution. Zero means to use the storage parallelism as the query execution parallelism, while other integer values dictate the number of query execution parallel partitions. The system will fall back to use the number of all available CPU cores in the cluster as the degree of parallelism if the number set by a user is too large or too small | 0 | | common | compiler.sortmemory | The memory budget (in bytes) for a sort operator instance in a partition | 33554432 (32 MB) | | common | compiler.textsearchmemory | The memory budget (in bytes) for an inverted-index-search operator instance in a partition | 33554432 (32 MB) | -| common | instance.name | The name of this cluster instance | DEFAULT_INSTANCE | | common | log.level | The logging level for master and slave processes | WARNING | | common | max.wait.active.cluster | The max pending time (in seconds) for cluster startup. After the threshold, if the cluster still is not up and running, it is considered unavailable | 60 | | common | messaging.frame.count | Number of reusable frames for NC to NC messaging | 512 | -- To view, visit https://asterix-gerrit.ics.uci.edu/2585 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic530559e96eb4c744499f46a5595e3a4c59f7683 Gerrit-PatchSet: 1 Gerrit-Project: asterixdb Gerrit-Branch: release-0.9.4-pre-rc Gerrit-Owner: Michael Blow <mb...@apache.org>