blob: a1823b355d1c5a108f7ffac7d67fcbf6d8463228 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.hdds.recon;
/**
* This class contains constants for Recon related configuration keys used in
* SCM & Datanode.
*/
public final class ReconConfigKeys {
/**
* Never constructed.
*/
private ReconConfigKeys() {
}
public static final String RECON_SCM_CONFIG_PREFIX = "ozone.recon.scmconfig";
public static final String OZONE_RECON_DATANODE_ADDRESS_KEY =
"ozone.recon.datanode.address";
public static final String OZONE_RECON_ADDRESS_KEY =
"ozone.recon.address";
public static final String OZONE_RECON_ADDRESS_DEFAULT =
"0.0.0.0:9891";
public static final String OZONE_RECON_HTTP_ADDRESS_KEY =
"ozone.recon.http-address";
public static final String OZONE_RECON_HTTP_ADDRESS_DEFAULT =
"0.0.0.0:9888";
public static final String OZONE_RECON_HTTPS_ADDRESS_KEY =
"ozone.recon.https-address";
public static final String OZONE_RECON_HTTPS_ADDRESS_DEFAULT =
"0.0.0.0:9889";
public static final String OZONE_RECON_DATANODE_BIND_HOST_KEY =
"ozone.recon.datanode.bind.host";
public static final String OZONE_RECON_DATANODE_BIND_HOST_DEFAULT =
"0.0.0.0";
public static final int OZONE_RECON_DATANODE_PORT_DEFAULT = 9891;
// Prometheus HTTP endpoint including port
// ex: http://prometheus:9090
public static final String OZONE_RECON_PROMETHEUS_HTTP_ENDPOINT =
"ozone.recon.prometheus.http.endpoint";
/**
* Recon administrator users delimited by a comma.
* This is the list of users who can access admin only information from recon.
* Users defined in
* {@link org.apache.hadoop.ozone.OzoneConfigKeys.OZONE_ADMINISTRATORS}
* will always be able to access all recon information regardless of this
* setting.
*/
public static final String OZONE_RECON_ADMINISTRATORS =
"ozone.recon.administrators";
public static final String OZONE_RECON_ADMINISTRATORS_GROUPS =
"ozone.recon.administrators.groups";
}