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

org.apache.slider.providers.hbase.HBaseConfigFileOptions Maven / Gradle / Ivy

Go to download

Direct provider for slider. This is the original provider from Hoya, moved to one side as it is no longer being actively developed. It contains tests against mini clusters as well as full functional tests

The newest version!
/*
 * 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.slider.providers.hbase;

/**
 * Mappings of config params to env variables for
 * custom -site.xml files to pick up
 *
 * A lot of these come from HConstants -the reason they have been copied
 * and pasted in here is to remove dependencies on HBase from
 * the Slider Client and AM.
 */
public interface HBaseConfigFileOptions {

  String KEY_HBASE_CLUSTER_DISTRIBUTED = "hbase.cluster.distributed";
   String KEY_HBASE_ROOTDIR = "hbase.rootdir";

  String KEY_ZOOKEEPER_QUORUM = "hbase.zookeeper.quorum";
  //HConstants.ZOOKEEPER_QUORUM;
  String KEY_ZOOKEEPER_PORT = "hbase.zookeeper.property.clientPort";
  //HConstants.ZOOKEEPER_CLIENT_PORT;
  String KEY_ZNODE_PARENT = "zookeeper.znode.parent";


  int DEFAULT_MASTER_PORT = 60000;
  int DEFAULT_MASTER_INFO_PORT = 60010;

  String KEY_HBASE_MASTER_PORT = "hbase.master.port";
  String KEY_HBASE_MASTER_INFO_PORT = "hbase.master.info.port";

  int HBASE_ZK_PORT = 2181; // HConstants.DEFAULT_ZOOKEPER_CLIENT_PORT;


  String KEY_REGIONSERVER_PORT = "hbase.regionserver.port";
  String KEY_REGIONSERVER_INFO_PORT = "hbase.regionserver.info.port";

  /**
   * needed to relax constraints in negotiations, including tests
   */
  String IPC_CLIENT_FALLBACK_TO_SIMPLE_AUTH =
    "ipc.client.fallback-to-simple-auth-allowed";

  /*
      
        hbase.regionserver.kerberos.principal
        hbase/[email protected]
      
      
        hbase.regionserver.keytab.file
        /etc/hbase/conf/keytab.krb5
      
      
        hbase.master.kerberos.principal
        hbase/[email protected]
      
      
        hbase.master.keytab.file
        /etc/hbase/conf/keytab.krb5
      
   */


  String KEY_REGIONSERVER_KERBEROS_PRINCIPAL = "hbase.regionserver.kerberos.principal";
  String KEY_REGIONSERVER_KERBEROS_KEYTAB = "hbase.regionserver.keytab.file";
  
  String KEY_MASTER_KERBEROS_PRINCIPAL = "hbase.master.kerberos.principal";
  String KEY_MASTER_KERBEROS_KEYTAB = "hbase.master.keytab.file";
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy