All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.jetoile.hadoopunit.component.HdfsConfig Maven / Gradle / Ivy

There is a newer version: 3.8
Show newest version
/*
 * Licensed 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 fr.jetoile.hadoopunit.component;

public class HdfsConfig {

    //HDFS
    public static final String HDFS_NAMENODE_HOST_KEY = "hdfs.namenode.host";
    public static final String HDFS_NAMENODE_PORT_KEY = "hdfs.namenode.port";
    public static final String HDFS_NAMENODE_HTTP_PORT_KEY = "hdfs.namenode.http.port";
    public static final String HDFS_TEMP_DIR_KEY = "hdfs.temp.dir";
    public static final String HDFS_NUM_DATANODES_KEY = "hdfs.num.datanodes";
    public static final String HDFS_ENABLE_PERMISSIONS_KEY = "hdfs.enable.permissions";
    public static final String HDFS_FORMAT_KEY = "hdfs.format";
    public static final String HDFS_ENABLE_RUNNING_USER_AS_PROXY_USER = "hdfs.enable.running.user.as.proxy.user";
    public static final String HDFS_REPLICATION_KEY = "hdfs.replication";

    public static final String HDFS_DATANODE_ADDRESS_KEY = "hdfs.datanode.address";
    public static final String HDFS_DATANODE_HTTP_ADDRESS_KEY = "hdfs.datanode.http.address";
    public static final String HDFS_DATANODE_IPC_ADDRESS_KEY = "hdfs.datanode.ipc.address";

    // HDFS Test
    public static final String HDFS_TEST_FILE_KEY = "hdfs.test.file";
    public static final String HDFS_TEST_STRING_KEY = "hdfs.test.string";

    public static final String HDFS_NAMENODE_HOST_CLIENT_KEY = "hdfs.namenode.client.host";
    public static final String HDFS_DATANODE_ADDRESS_CLIENT_KEY = "hdfs.datanode.client.address";
    public static final String HDFS_DATANODE_HTTP_ADDRESS_CLIENT_KEY = "hdfs.datanode.http.client.address";
    public static final String HDFS_DATANODE_IPC_ADDRESS_CLIENT_KEY = "hdfs.datanode.ipc.client.address";

    private HdfsConfig() {}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy