http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f55baeba/apidocs/src-html/org/apache/hadoop/hbase/HConstants.html ---------------------------------------------------------------------- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/HConstants.html b/apidocs/src-html/org/apache/hadoop/hbase/HConstants.html index c976bc8..b222809 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/HConstants.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/HConstants.html @@ -746,578 +746,590 @@ <span class="sourceLineNo">738</span> public static final int DEFAULT_HBASE_CLIENT_MAX_PERREGION_TASKS = 1;<a name="line.738"></a> <span class="sourceLineNo">739</span><a name="line.739"></a> <span class="sourceLineNo">740</span> /**<a name="line.740"></a> -<span class="sourceLineNo">741</span> * Parameter name for server pause value, used mostly as value to wait before<a name="line.741"></a> -<span class="sourceLineNo">742</span> * running a retry of a failed operation.<a name="line.742"></a> -<span class="sourceLineNo">743</span> */<a name="line.743"></a> -<span class="sourceLineNo">744</span> public static final String HBASE_SERVER_PAUSE = "hbase.server.pause";<a name="line.744"></a> +<span class="sourceLineNo">741</span> * The maximum number of concurrent pending RPC requests for one server in process level.<a name="line.741"></a> +<span class="sourceLineNo">742</span> */<a name="line.742"></a> +<span class="sourceLineNo">743</span> public static final String HBASE_CLIENT_PERSERVER_REQUESTS_THRESHOLD =<a name="line.743"></a> +<span class="sourceLineNo">744</span> "hbase.client.perserver.requests.threshold";<a name="line.744"></a> <span class="sourceLineNo">745</span><a name="line.745"></a> <span class="sourceLineNo">746</span> /**<a name="line.746"></a> -<span class="sourceLineNo">747</span> * Default value of {@link #HBASE_SERVER_PAUSE}.<a name="line.747"></a> +<span class="sourceLineNo">747</span> * Default value of {@link #HBASE_CLIENT_PERSERVER_REQUESTS_THRESHOLD}.<a name="line.747"></a> <span class="sourceLineNo">748</span> */<a name="line.748"></a> -<span class="sourceLineNo">749</span> public static final int DEFAULT_HBASE_SERVER_PAUSE = 1000;<a name="line.749"></a> +<span class="sourceLineNo">749</span> public static final int DEFAULT_HBASE_CLIENT_PERSERVER_REQUESTS_THRESHOLD = Integer.MAX_VALUE;<a name="line.749"></a> <span class="sourceLineNo">750</span><a name="line.750"></a> -<span class="sourceLineNo">751</span> /**<a name="line.751"></a> -<span class="sourceLineNo">752</span> * Parameter name for maximum retries, used as maximum for all retryable<a name="line.752"></a> -<span class="sourceLineNo">753</span> * operations such as fetching of the root region from root region server,<a name="line.753"></a> -<span class="sourceLineNo">754</span> * getting a cell's value, starting a row update, etc.<a name="line.754"></a> +<span class="sourceLineNo">751</span><a name="line.751"></a> +<span class="sourceLineNo">752</span> /**<a name="line.752"></a> +<span class="sourceLineNo">753</span> * Parameter name for server pause value, used mostly as value to wait before<a name="line.753"></a> +<span class="sourceLineNo">754</span> * running a retry of a failed operation.<a name="line.754"></a> <span class="sourceLineNo">755</span> */<a name="line.755"></a> -<span class="sourceLineNo">756</span> public static final String HBASE_CLIENT_RETRIES_NUMBER = "hbase.client.retries.number";<a name="line.756"></a> +<span class="sourceLineNo">756</span> public static final String HBASE_SERVER_PAUSE = "hbase.server.pause";<a name="line.756"></a> <span class="sourceLineNo">757</span><a name="line.757"></a> <span class="sourceLineNo">758</span> /**<a name="line.758"></a> -<span class="sourceLineNo">759</span> * Default value of {@link #HBASE_CLIENT_RETRIES_NUMBER}.<a name="line.759"></a> +<span class="sourceLineNo">759</span> * Default value of {@link #HBASE_SERVER_PAUSE}.<a name="line.759"></a> <span class="sourceLineNo">760</span> */<a name="line.760"></a> -<span class="sourceLineNo">761</span> public static final int DEFAULT_HBASE_CLIENT_RETRIES_NUMBER = 31;<a name="line.761"></a> +<span class="sourceLineNo">761</span> public static final int DEFAULT_HBASE_SERVER_PAUSE = 1000;<a name="line.761"></a> <span class="sourceLineNo">762</span><a name="line.762"></a> <span class="sourceLineNo">763</span> /**<a name="line.763"></a> -<span class="sourceLineNo">764</span> * Parameter name to set the default scanner caching for all clients.<a name="line.764"></a> -<span class="sourceLineNo">765</span> */<a name="line.765"></a> -<span class="sourceLineNo">766</span> public static final String HBASE_CLIENT_SCANNER_CACHING = "hbase.client.scanner.caching";<a name="line.766"></a> -<span class="sourceLineNo">767</span><a name="line.767"></a> -<span class="sourceLineNo">768</span> /**<a name="line.768"></a> -<span class="sourceLineNo">769</span> * Default value for {@link #HBASE_CLIENT_SCANNER_CACHING}<a name="line.769"></a> -<span class="sourceLineNo">770</span> */<a name="line.770"></a> -<span class="sourceLineNo">771</span> public static final int DEFAULT_HBASE_CLIENT_SCANNER_CACHING = Integer.MAX_VALUE;<a name="line.771"></a> -<span class="sourceLineNo">772</span><a name="line.772"></a> -<span class="sourceLineNo">773</span> /**<a name="line.773"></a> -<span class="sourceLineNo">774</span> * Parameter name for number of rows that will be fetched when calling next on<a name="line.774"></a> -<span class="sourceLineNo">775</span> * a scanner if it is not served from memory. Higher caching values will<a name="line.775"></a> -<span class="sourceLineNo">776</span> * enable faster scanners but will eat up more memory and some calls of next<a name="line.776"></a> -<span class="sourceLineNo">777</span> * may take longer and longer times when the cache is empty.<a name="line.777"></a> -<span class="sourceLineNo">778</span> */<a name="line.778"></a> -<span class="sourceLineNo">779</span> public static final String HBASE_META_SCANNER_CACHING = "hbase.meta.scanner.caching";<a name="line.779"></a> -<span class="sourceLineNo">780</span><a name="line.780"></a> -<span class="sourceLineNo">781</span> /**<a name="line.781"></a> -<span class="sourceLineNo">782</span> * Default value of {@link #HBASE_META_SCANNER_CACHING}.<a name="line.782"></a> -<span class="sourceLineNo">783</span> */<a name="line.783"></a> -<span class="sourceLineNo">784</span> public static final int DEFAULT_HBASE_META_SCANNER_CACHING = 100;<a name="line.784"></a> -<span class="sourceLineNo">785</span><a name="line.785"></a> -<span class="sourceLineNo">786</span> /**<a name="line.786"></a> -<span class="sourceLineNo">787</span> * Parameter name for number of versions, kept by meta table.<a name="line.787"></a> -<span class="sourceLineNo">788</span> */<a name="line.788"></a> -<span class="sourceLineNo">789</span> public static final String HBASE_META_VERSIONS = "hbase.meta.versions";<a name="line.789"></a> -<span class="sourceLineNo">790</span><a name="line.790"></a> -<span class="sourceLineNo">791</span> /**<a name="line.791"></a> -<span class="sourceLineNo">792</span> * Default value of {@link #HBASE_META_VERSIONS}.<a name="line.792"></a> -<span class="sourceLineNo">793</span> */<a name="line.793"></a> -<span class="sourceLineNo">794</span> public static final int DEFAULT_HBASE_META_VERSIONS = 3;<a name="line.794"></a> -<span class="sourceLineNo">795</span><a name="line.795"></a> -<span class="sourceLineNo">796</span> /**<a name="line.796"></a> -<span class="sourceLineNo">797</span> * Parameter name for number of versions, kept by meta table.<a name="line.797"></a> -<span class="sourceLineNo">798</span> */<a name="line.798"></a> -<span class="sourceLineNo">799</span> public static final String HBASE_META_BLOCK_SIZE = "hbase.meta.blocksize";<a name="line.799"></a> -<span class="sourceLineNo">800</span><a name="line.800"></a> -<span class="sourceLineNo">801</span> /**<a name="line.801"></a> -<span class="sourceLineNo">802</span> * Default value of {@link #HBASE_META_BLOCK_SIZE}.<a name="line.802"></a> -<span class="sourceLineNo">803</span> */<a name="line.803"></a> -<span class="sourceLineNo">804</span> public static final int DEFAULT_HBASE_META_BLOCK_SIZE = 8 * 1024;<a name="line.804"></a> -<span class="sourceLineNo">805</span><a name="line.805"></a> -<span class="sourceLineNo">806</span> /**<a name="line.806"></a> -<span class="sourceLineNo">807</span> * Parameter name for unique identifier for this {@link org.apache.hadoop.conf.Configuration}<a name="line.807"></a> -<span class="sourceLineNo">808</span> * instance. If there are two or more {@link org.apache.hadoop.conf.Configuration} instances that,<a name="line.808"></a> -<span class="sourceLineNo">809</span> * for all intents and purposes, are the same except for their instance ids, then they will not be<a name="line.809"></a> -<span class="sourceLineNo">810</span> * able to share the same org.apache.hadoop.hbase.client.HConnection instance. On the other hand,<a name="line.810"></a> -<span class="sourceLineNo">811</span> * even if the instance ids are the same, it could result in non-shared<a name="line.811"></a> -<span class="sourceLineNo">812</span> * org.apache.hadoop.hbase.client.HConnection instances if some of the other connection parameters<a name="line.812"></a> -<span class="sourceLineNo">813</span> * differ.<a name="line.813"></a> -<span class="sourceLineNo">814</span> */<a name="line.814"></a> -<span class="sourceLineNo">815</span> public static final String HBASE_CLIENT_INSTANCE_ID = "hbase.client.instance.id";<a name="line.815"></a> -<span class="sourceLineNo">816</span><a name="line.816"></a> -<span class="sourceLineNo">817</span> /**<a name="line.817"></a> -<span class="sourceLineNo">818</span> * The client scanner timeout period in milliseconds.<a name="line.818"></a> -<span class="sourceLineNo">819</span> */<a name="line.819"></a> -<span class="sourceLineNo">820</span> public static final String HBASE_CLIENT_SCANNER_TIMEOUT_PERIOD =<a name="line.820"></a> -<span class="sourceLineNo">821</span> "hbase.client.scanner.timeout.period";<a name="line.821"></a> -<span class="sourceLineNo">822</span><a name="line.822"></a> -<span class="sourceLineNo">823</span> /**<a name="line.823"></a> -<span class="sourceLineNo">824</span> * Use {@link #HBASE_CLIENT_SCANNER_TIMEOUT_PERIOD} instead.<a name="line.824"></a> -<span class="sourceLineNo">825</span> * @deprecated This config option is deprecated. Will be removed at later releases after 0.96.<a name="line.825"></a> +<span class="sourceLineNo">764</span> * Parameter name for maximum retries, used as maximum for all retryable<a name="line.764"></a> +<span class="sourceLineNo">765</span> * operations such as fetching of the root region from root region server,<a name="line.765"></a> +<span class="sourceLineNo">766</span> * getting a cell's value, starting a row update, etc.<a name="line.766"></a> +<span class="sourceLineNo">767</span> */<a name="line.767"></a> +<span class="sourceLineNo">768</span> public static final String HBASE_CLIENT_RETRIES_NUMBER = "hbase.client.retries.number";<a name="line.768"></a> +<span class="sourceLineNo">769</span><a name="line.769"></a> +<span class="sourceLineNo">770</span> /**<a name="line.770"></a> +<span class="sourceLineNo">771</span> * Default value of {@link #HBASE_CLIENT_RETRIES_NUMBER}.<a name="line.771"></a> +<span class="sourceLineNo">772</span> */<a name="line.772"></a> +<span class="sourceLineNo">773</span> public static final int DEFAULT_HBASE_CLIENT_RETRIES_NUMBER = 31;<a name="line.773"></a> +<span class="sourceLineNo">774</span><a name="line.774"></a> +<span class="sourceLineNo">775</span> /**<a name="line.775"></a> +<span class="sourceLineNo">776</span> * Parameter name to set the default scanner caching for all clients.<a name="line.776"></a> +<span class="sourceLineNo">777</span> */<a name="line.777"></a> +<span class="sourceLineNo">778</span> public static final String HBASE_CLIENT_SCANNER_CACHING = "hbase.client.scanner.caching";<a name="line.778"></a> +<span class="sourceLineNo">779</span><a name="line.779"></a> +<span class="sourceLineNo">780</span> /**<a name="line.780"></a> +<span class="sourceLineNo">781</span> * Default value for {@link #HBASE_CLIENT_SCANNER_CACHING}<a name="line.781"></a> +<span class="sourceLineNo">782</span> */<a name="line.782"></a> +<span class="sourceLineNo">783</span> public static final int DEFAULT_HBASE_CLIENT_SCANNER_CACHING = Integer.MAX_VALUE;<a name="line.783"></a> +<span class="sourceLineNo">784</span><a name="line.784"></a> +<span class="sourceLineNo">785</span> /**<a name="line.785"></a> +<span class="sourceLineNo">786</span> * Parameter name for number of rows that will be fetched when calling next on<a name="line.786"></a> +<span class="sourceLineNo">787</span> * a scanner if it is not served from memory. Higher caching values will<a name="line.787"></a> +<span class="sourceLineNo">788</span> * enable faster scanners but will eat up more memory and some calls of next<a name="line.788"></a> +<span class="sourceLineNo">789</span> * may take longer and longer times when the cache is empty.<a name="line.789"></a> +<span class="sourceLineNo">790</span> */<a name="line.790"></a> +<span class="sourceLineNo">791</span> public static final String HBASE_META_SCANNER_CACHING = "hbase.meta.scanner.caching";<a name="line.791"></a> +<span class="sourceLineNo">792</span><a name="line.792"></a> +<span class="sourceLineNo">793</span> /**<a name="line.793"></a> +<span class="sourceLineNo">794</span> * Default value of {@link #HBASE_META_SCANNER_CACHING}.<a name="line.794"></a> +<span class="sourceLineNo">795</span> */<a name="line.795"></a> +<span class="sourceLineNo">796</span> public static final int DEFAULT_HBASE_META_SCANNER_CACHING = 100;<a name="line.796"></a> +<span class="sourceLineNo">797</span><a name="line.797"></a> +<span class="sourceLineNo">798</span> /**<a name="line.798"></a> +<span class="sourceLineNo">799</span> * Parameter name for number of versions, kept by meta table.<a name="line.799"></a> +<span class="sourceLineNo">800</span> */<a name="line.800"></a> +<span class="sourceLineNo">801</span> public static final String HBASE_META_VERSIONS = "hbase.meta.versions";<a name="line.801"></a> +<span class="sourceLineNo">802</span><a name="line.802"></a> +<span class="sourceLineNo">803</span> /**<a name="line.803"></a> +<span class="sourceLineNo">804</span> * Default value of {@link #HBASE_META_VERSIONS}.<a name="line.804"></a> +<span class="sourceLineNo">805</span> */<a name="line.805"></a> +<span class="sourceLineNo">806</span> public static final int DEFAULT_HBASE_META_VERSIONS = 3;<a name="line.806"></a> +<span class="sourceLineNo">807</span><a name="line.807"></a> +<span class="sourceLineNo">808</span> /**<a name="line.808"></a> +<span class="sourceLineNo">809</span> * Parameter name for number of versions, kept by meta table.<a name="line.809"></a> +<span class="sourceLineNo">810</span> */<a name="line.810"></a> +<span class="sourceLineNo">811</span> public static final String HBASE_META_BLOCK_SIZE = "hbase.meta.blocksize";<a name="line.811"></a> +<span class="sourceLineNo">812</span><a name="line.812"></a> +<span class="sourceLineNo">813</span> /**<a name="line.813"></a> +<span class="sourceLineNo">814</span> * Default value of {@link #HBASE_META_BLOCK_SIZE}.<a name="line.814"></a> +<span class="sourceLineNo">815</span> */<a name="line.815"></a> +<span class="sourceLineNo">816</span> public static final int DEFAULT_HBASE_META_BLOCK_SIZE = 8 * 1024;<a name="line.816"></a> +<span class="sourceLineNo">817</span><a name="line.817"></a> +<span class="sourceLineNo">818</span> /**<a name="line.818"></a> +<span class="sourceLineNo">819</span> * Parameter name for unique identifier for this {@link org.apache.hadoop.conf.Configuration}<a name="line.819"></a> +<span class="sourceLineNo">820</span> * instance. If there are two or more {@link org.apache.hadoop.conf.Configuration} instances that,<a name="line.820"></a> +<span class="sourceLineNo">821</span> * for all intents and purposes, are the same except for their instance ids, then they will not be<a name="line.821"></a> +<span class="sourceLineNo">822</span> * able to share the same org.apache.hadoop.hbase.client.HConnection instance. On the other hand,<a name="line.822"></a> +<span class="sourceLineNo">823</span> * even if the instance ids are the same, it could result in non-shared<a name="line.823"></a> +<span class="sourceLineNo">824</span> * org.apache.hadoop.hbase.client.HConnection instances if some of the other connection parameters<a name="line.824"></a> +<span class="sourceLineNo">825</span> * differ.<a name="line.825"></a> <span class="sourceLineNo">826</span> */<a name="line.826"></a> -<span class="sourceLineNo">827</span> @Deprecated<a name="line.827"></a> -<span class="sourceLineNo">828</span> public static final String HBASE_REGIONSERVER_LEASE_PERIOD_KEY =<a name="line.828"></a> -<span class="sourceLineNo">829</span> "hbase.regionserver.lease.period";<a name="line.829"></a> -<span class="sourceLineNo">830</span><a name="line.830"></a> -<span class="sourceLineNo">831</span> /**<a name="line.831"></a> -<span class="sourceLineNo">832</span> * Default value of {@link #HBASE_CLIENT_SCANNER_TIMEOUT_PERIOD}.<a name="line.832"></a> -<span class="sourceLineNo">833</span> */<a name="line.833"></a> -<span class="sourceLineNo">834</span> public static final int DEFAULT_HBASE_CLIENT_SCANNER_TIMEOUT_PERIOD = 60000;<a name="line.834"></a> -<span class="sourceLineNo">835</span><a name="line.835"></a> -<span class="sourceLineNo">836</span> /**<a name="line.836"></a> -<span class="sourceLineNo">837</span> * timeout for each RPC<a name="line.837"></a> -<span class="sourceLineNo">838</span> * @deprecated Use {@link #HBASE_RPC_READ_TIMEOUT_KEY} or {@link #HBASE_RPC_WRITE_TIMEOUT_KEY}<a name="line.838"></a> -<span class="sourceLineNo">839</span> * instead.<a name="line.839"></a> -<span class="sourceLineNo">840</span> */<a name="line.840"></a> -<span class="sourceLineNo">841</span> @Deprecated<a name="line.841"></a> -<span class="sourceLineNo">842</span> public static final String HBASE_RPC_TIMEOUT_KEY = "hbase.rpc.timeout";<a name="line.842"></a> -<span class="sourceLineNo">843</span><a name="line.843"></a> -<span class="sourceLineNo">844</span> /**<a name="line.844"></a> -<span class="sourceLineNo">845</span> * timeout for each read RPC<a name="line.845"></a> -<span class="sourceLineNo">846</span> */<a name="line.846"></a> -<span class="sourceLineNo">847</span> public static final String HBASE_RPC_READ_TIMEOUT_KEY = "hbase.rpc.read.timeout";<a name="line.847"></a> -<span class="sourceLineNo">848</span><a name="line.848"></a> -<span class="sourceLineNo">849</span> /**<a name="line.849"></a> -<span class="sourceLineNo">850</span> * timeout for each write RPC<a name="line.850"></a> -<span class="sourceLineNo">851</span> */<a name="line.851"></a> -<span class="sourceLineNo">852</span> public static final String HBASE_RPC_WRITE_TIMEOUT_KEY = "hbase.rpc.write.timeout";<a name="line.852"></a> -<span class="sourceLineNo">853</span><a name="line.853"></a> -<span class="sourceLineNo">854</span> /**<a name="line.854"></a> -<span class="sourceLineNo">855</span> * Default value of {@link #HBASE_RPC_TIMEOUT_KEY}<a name="line.855"></a> -<span class="sourceLineNo">856</span> */<a name="line.856"></a> -<span class="sourceLineNo">857</span> public static final int DEFAULT_HBASE_RPC_TIMEOUT = 60000;<a name="line.857"></a> -<span class="sourceLineNo">858</span><a name="line.858"></a> -<span class="sourceLineNo">859</span> /**<a name="line.859"></a> -<span class="sourceLineNo">860</span> * timeout for short operation RPC<a name="line.860"></a> -<span class="sourceLineNo">861</span> */<a name="line.861"></a> -<span class="sourceLineNo">862</span> public static final String HBASE_RPC_SHORTOPERATION_TIMEOUT_KEY =<a name="line.862"></a> -<span class="sourceLineNo">863</span> "hbase.rpc.shortoperation.timeout";<a name="line.863"></a> -<span class="sourceLineNo">864</span><a name="line.864"></a> -<span class="sourceLineNo">865</span> /**<a name="line.865"></a> -<span class="sourceLineNo">866</span> * Default value of {@link #HBASE_RPC_SHORTOPERATION_TIMEOUT_KEY}<a name="line.866"></a> -<span class="sourceLineNo">867</span> */<a name="line.867"></a> -<span class="sourceLineNo">868</span> public static final int DEFAULT_HBASE_RPC_SHORTOPERATION_TIMEOUT = 10000;<a name="line.868"></a> -<span class="sourceLineNo">869</span><a name="line.869"></a> -<span class="sourceLineNo">870</span> /**<a name="line.870"></a> -<span class="sourceLineNo">871</span> * Value indicating the server name was saved with no sequence number.<a name="line.871"></a> -<span class="sourceLineNo">872</span> */<a name="line.872"></a> -<span class="sourceLineNo">873</span> public static final long NO_SEQNUM = -1;<a name="line.873"></a> -<span class="sourceLineNo">874</span><a name="line.874"></a> -<span class="sourceLineNo">875</span><a name="line.875"></a> -<span class="sourceLineNo">876</span> /*<a name="line.876"></a> -<span class="sourceLineNo">877</span> * cluster replication constants.<a name="line.877"></a> -<span class="sourceLineNo">878</span> */<a name="line.878"></a> -<span class="sourceLineNo">879</span> public static final String<a name="line.879"></a> -<span class="sourceLineNo">880</span> REPLICATION_SOURCE_SERVICE_CLASSNAME = "hbase.replication.source.service";<a name="line.880"></a> -<span class="sourceLineNo">881</span> public static final String<a name="line.881"></a> -<span class="sourceLineNo">882</span> REPLICATION_SINK_SERVICE_CLASSNAME = "hbase.replication.sink.service";<a name="line.882"></a> -<span class="sourceLineNo">883</span> public static final String REPLICATION_SERVICE_CLASSNAME_DEFAULT =<a name="line.883"></a> -<span class="sourceLineNo">884</span> "org.apache.hadoop.hbase.replication.regionserver.Replication";<a name="line.884"></a> -<span class="sourceLineNo">885</span> public static final String REPLICATION_BULKLOAD_ENABLE_KEY = "hbase.replication.bulkload.enabled";<a name="line.885"></a> -<span class="sourceLineNo">886</span> public static final boolean REPLICATION_BULKLOAD_ENABLE_DEFAULT = false;<a name="line.886"></a> -<span class="sourceLineNo">887</span> /** Replication cluster id of source cluster which uniquely identifies itself with peer cluster */<a name="line.887"></a> -<span class="sourceLineNo">888</span> public static final String REPLICATION_CLUSTER_ID = "hbase.replication.cluster.id";<a name="line.888"></a> -<span class="sourceLineNo">889</span><a name="line.889"></a> -<span class="sourceLineNo">890</span> public static final String<a name="line.890"></a> -<span class="sourceLineNo">891</span> REPLICATION_SERIALLY_WAITING_KEY = "hbase.serial.replication.waitingMs";<a name="line.891"></a> -<span class="sourceLineNo">892</span> public static final long<a name="line.892"></a> -<span class="sourceLineNo">893</span> REPLICATION_SERIALLY_WAITING_DEFAULT = 10000;<a name="line.893"></a> -<span class="sourceLineNo">894</span><a name="line.894"></a> -<span class="sourceLineNo">895</span> /**<a name="line.895"></a> -<span class="sourceLineNo">896</span> * Directory where the source cluster file system client configuration are placed which is used by<a name="line.896"></a> -<span class="sourceLineNo">897</span> * sink cluster to copy HFiles from source cluster file system<a name="line.897"></a> -<span class="sourceLineNo">898</span> */<a name="line.898"></a> -<span class="sourceLineNo">899</span> public static final String REPLICATION_CONF_DIR = "hbase.replication.conf.dir";<a name="line.899"></a> -<span class="sourceLineNo">900</span><a name="line.900"></a> -<span class="sourceLineNo">901</span> /** Maximum time to retry for a failed bulk load request */<a name="line.901"></a> -<span class="sourceLineNo">902</span> public static final String BULKLOAD_MAX_RETRIES_NUMBER = "hbase.bulkload.retries.number";<a name="line.902"></a> -<span class="sourceLineNo">903</span><a name="line.903"></a> -<span class="sourceLineNo">904</span> /** HBCK special code name used as server name when manipulating ZK nodes */<a name="line.904"></a> -<span class="sourceLineNo">905</span> public static final String HBCK_CODE_NAME = "HBCKServerName";<a name="line.905"></a> +<span class="sourceLineNo">827</span> public static final String HBASE_CLIENT_INSTANCE_ID = "hbase.client.instance.id";<a name="line.827"></a> +<span class="sourceLineNo">828</span><a name="line.828"></a> +<span class="sourceLineNo">829</span> /**<a name="line.829"></a> +<span class="sourceLineNo">830</span> * The client scanner timeout period in milliseconds.<a name="line.830"></a> +<span class="sourceLineNo">831</span> */<a name="line.831"></a> +<span class="sourceLineNo">832</span> public static final String HBASE_CLIENT_SCANNER_TIMEOUT_PERIOD =<a name="line.832"></a> +<span class="sourceLineNo">833</span> "hbase.client.scanner.timeout.period";<a name="line.833"></a> +<span class="sourceLineNo">834</span><a name="line.834"></a> +<span class="sourceLineNo">835</span> /**<a name="line.835"></a> +<span class="sourceLineNo">836</span> * Use {@link #HBASE_CLIENT_SCANNER_TIMEOUT_PERIOD} instead.<a name="line.836"></a> +<span class="sourceLineNo">837</span> * @deprecated This config option is deprecated. Will be removed at later releases after 0.96.<a name="line.837"></a> +<span class="sourceLineNo">838</span> */<a name="line.838"></a> +<span class="sourceLineNo">839</span> @Deprecated<a name="line.839"></a> +<span class="sourceLineNo">840</span> public static final String HBASE_REGIONSERVER_LEASE_PERIOD_KEY =<a name="line.840"></a> +<span class="sourceLineNo">841</span> "hbase.regionserver.lease.period";<a name="line.841"></a> +<span class="sourceLineNo">842</span><a name="line.842"></a> +<span class="sourceLineNo">843</span> /**<a name="line.843"></a> +<span class="sourceLineNo">844</span> * Default value of {@link #HBASE_CLIENT_SCANNER_TIMEOUT_PERIOD}.<a name="line.844"></a> +<span class="sourceLineNo">845</span> */<a name="line.845"></a> +<span class="sourceLineNo">846</span> public static final int DEFAULT_HBASE_CLIENT_SCANNER_TIMEOUT_PERIOD = 60000;<a name="line.846"></a> +<span class="sourceLineNo">847</span><a name="line.847"></a> +<span class="sourceLineNo">848</span> /**<a name="line.848"></a> +<span class="sourceLineNo">849</span> * timeout for each RPC<a name="line.849"></a> +<span class="sourceLineNo">850</span> * @deprecated Use {@link #HBASE_RPC_READ_TIMEOUT_KEY} or {@link #HBASE_RPC_WRITE_TIMEOUT_KEY}<a name="line.850"></a> +<span class="sourceLineNo">851</span> * instead.<a name="line.851"></a> +<span class="sourceLineNo">852</span> */<a name="line.852"></a> +<span class="sourceLineNo">853</span> @Deprecated<a name="line.853"></a> +<span class="sourceLineNo">854</span> public static final String HBASE_RPC_TIMEOUT_KEY = "hbase.rpc.timeout";<a name="line.854"></a> +<span class="sourceLineNo">855</span><a name="line.855"></a> +<span class="sourceLineNo">856</span> /**<a name="line.856"></a> +<span class="sourceLineNo">857</span> * timeout for each read RPC<a name="line.857"></a> +<span class="sourceLineNo">858</span> */<a name="line.858"></a> +<span class="sourceLineNo">859</span> public static final String HBASE_RPC_READ_TIMEOUT_KEY = "hbase.rpc.read.timeout";<a name="line.859"></a> +<span class="sourceLineNo">860</span><a name="line.860"></a> +<span class="sourceLineNo">861</span> /**<a name="line.861"></a> +<span class="sourceLineNo">862</span> * timeout for each write RPC<a name="line.862"></a> +<span class="sourceLineNo">863</span> */<a name="line.863"></a> +<span class="sourceLineNo">864</span> public static final String HBASE_RPC_WRITE_TIMEOUT_KEY = "hbase.rpc.write.timeout";<a name="line.864"></a> +<span class="sourceLineNo">865</span><a name="line.865"></a> +<span class="sourceLineNo">866</span> /**<a name="line.866"></a> +<span class="sourceLineNo">867</span> * Default value of {@link #HBASE_RPC_TIMEOUT_KEY}<a name="line.867"></a> +<span class="sourceLineNo">868</span> */<a name="line.868"></a> +<span class="sourceLineNo">869</span> public static final int DEFAULT_HBASE_RPC_TIMEOUT = 60000;<a name="line.869"></a> +<span class="sourceLineNo">870</span><a name="line.870"></a> +<span class="sourceLineNo">871</span> /**<a name="line.871"></a> +<span class="sourceLineNo">872</span> * timeout for short operation RPC<a name="line.872"></a> +<span class="sourceLineNo">873</span> */<a name="line.873"></a> +<span class="sourceLineNo">874</span> public static final String HBASE_RPC_SHORTOPERATION_TIMEOUT_KEY =<a name="line.874"></a> +<span class="sourceLineNo">875</span> "hbase.rpc.shortoperation.timeout";<a name="line.875"></a> +<span class="sourceLineNo">876</span><a name="line.876"></a> +<span class="sourceLineNo">877</span> /**<a name="line.877"></a> +<span class="sourceLineNo">878</span> * Default value of {@link #HBASE_RPC_SHORTOPERATION_TIMEOUT_KEY}<a name="line.878"></a> +<span class="sourceLineNo">879</span> */<a name="line.879"></a> +<span class="sourceLineNo">880</span> public static final int DEFAULT_HBASE_RPC_SHORTOPERATION_TIMEOUT = 10000;<a name="line.880"></a> +<span class="sourceLineNo">881</span><a name="line.881"></a> +<span class="sourceLineNo">882</span> /**<a name="line.882"></a> +<span class="sourceLineNo">883</span> * Value indicating the server name was saved with no sequence number.<a name="line.883"></a> +<span class="sourceLineNo">884</span> */<a name="line.884"></a> +<span class="sourceLineNo">885</span> public static final long NO_SEQNUM = -1;<a name="line.885"></a> +<span class="sourceLineNo">886</span><a name="line.886"></a> +<span class="sourceLineNo">887</span><a name="line.887"></a> +<span class="sourceLineNo">888</span> /*<a name="line.888"></a> +<span class="sourceLineNo">889</span> * cluster replication constants.<a name="line.889"></a> +<span class="sourceLineNo">890</span> */<a name="line.890"></a> +<span class="sourceLineNo">891</span> public static final String<a name="line.891"></a> +<span class="sourceLineNo">892</span> REPLICATION_SOURCE_SERVICE_CLASSNAME = "hbase.replication.source.service";<a name="line.892"></a> +<span class="sourceLineNo">893</span> public static final String<a name="line.893"></a> +<span class="sourceLineNo">894</span> REPLICATION_SINK_SERVICE_CLASSNAME = "hbase.replication.sink.service";<a name="line.894"></a> +<span class="sourceLineNo">895</span> public static final String REPLICATION_SERVICE_CLASSNAME_DEFAULT =<a name="line.895"></a> +<span class="sourceLineNo">896</span> "org.apache.hadoop.hbase.replication.regionserver.Replication";<a name="line.896"></a> +<span class="sourceLineNo">897</span> public static final String REPLICATION_BULKLOAD_ENABLE_KEY = "hbase.replication.bulkload.enabled";<a name="line.897"></a> +<span class="sourceLineNo">898</span> public static final boolean REPLICATION_BULKLOAD_ENABLE_DEFAULT = false;<a name="line.898"></a> +<span class="sourceLineNo">899</span> /** Replication cluster id of source cluster which uniquely identifies itself with peer cluster */<a name="line.899"></a> +<span class="sourceLineNo">900</span> public static final String REPLICATION_CLUSTER_ID = "hbase.replication.cluster.id";<a name="line.900"></a> +<span class="sourceLineNo">901</span><a name="line.901"></a> +<span class="sourceLineNo">902</span> public static final String<a name="line.902"></a> +<span class="sourceLineNo">903</span> REPLICATION_SERIALLY_WAITING_KEY = "hbase.serial.replication.waitingMs";<a name="line.903"></a> +<span class="sourceLineNo">904</span> public static final long<a name="line.904"></a> +<span class="sourceLineNo">905</span> REPLICATION_SERIALLY_WAITING_DEFAULT = 10000;<a name="line.905"></a> <span class="sourceLineNo">906</span><a name="line.906"></a> -<span class="sourceLineNo">907</span> public static final String KEY_FOR_HOSTNAME_SEEN_BY_MASTER =<a name="line.907"></a> -<span class="sourceLineNo">908</span> "hbase.regionserver.hostname.seen.by.master";<a name="line.908"></a> -<span class="sourceLineNo">909</span><a name="line.909"></a> -<span class="sourceLineNo">910</span> public static final String HBASE_MASTER_LOGCLEANER_PLUGINS =<a name="line.910"></a> -<span class="sourceLineNo">911</span> "hbase.master.logcleaner.plugins";<a name="line.911"></a> +<span class="sourceLineNo">907</span> /**<a name="line.907"></a> +<span class="sourceLineNo">908</span> * Directory where the source cluster file system client configuration are placed which is used by<a name="line.908"></a> +<span class="sourceLineNo">909</span> * sink cluster to copy HFiles from source cluster file system<a name="line.909"></a> +<span class="sourceLineNo">910</span> */<a name="line.910"></a> +<span class="sourceLineNo">911</span> public static final String REPLICATION_CONF_DIR = "hbase.replication.conf.dir";<a name="line.911"></a> <span class="sourceLineNo">912</span><a name="line.912"></a> -<span class="sourceLineNo">913</span> public static final String HBASE_REGION_SPLIT_POLICY_KEY =<a name="line.913"></a> -<span class="sourceLineNo">914</span> "hbase.regionserver.region.split.policy";<a name="line.914"></a> +<span class="sourceLineNo">913</span> /** Maximum time to retry for a failed bulk load request */<a name="line.913"></a> +<span class="sourceLineNo">914</span> public static final String BULKLOAD_MAX_RETRIES_NUMBER = "hbase.bulkload.retries.number";<a name="line.914"></a> <span class="sourceLineNo">915</span><a name="line.915"></a> -<span class="sourceLineNo">916</span> /** Whether nonces are enabled; default is true. */<a name="line.916"></a> -<span class="sourceLineNo">917</span> public static final String HBASE_RS_NONCES_ENABLED = "hbase.regionserver.nonces.enabled";<a name="line.917"></a> +<span class="sourceLineNo">916</span> /** HBCK special code name used as server name when manipulating ZK nodes */<a name="line.916"></a> +<span class="sourceLineNo">917</span> public static final String HBCK_CODE_NAME = "HBCKServerName";<a name="line.917"></a> <span class="sourceLineNo">918</span><a name="line.918"></a> -<span class="sourceLineNo">919</span> /**<a name="line.919"></a> -<span class="sourceLineNo">920</span> * Configuration key for the size of the block cache<a name="line.920"></a> -<span class="sourceLineNo">921</span> */<a name="line.921"></a> -<span class="sourceLineNo">922</span> public static final String HFILE_BLOCK_CACHE_SIZE_KEY =<a name="line.922"></a> -<span class="sourceLineNo">923</span> "hfile.block.cache.size";<a name="line.923"></a> +<span class="sourceLineNo">919</span> public static final String KEY_FOR_HOSTNAME_SEEN_BY_MASTER =<a name="line.919"></a> +<span class="sourceLineNo">920</span> "hbase.regionserver.hostname.seen.by.master";<a name="line.920"></a> +<span class="sourceLineNo">921</span><a name="line.921"></a> +<span class="sourceLineNo">922</span> public static final String HBASE_MASTER_LOGCLEANER_PLUGINS =<a name="line.922"></a> +<span class="sourceLineNo">923</span> "hbase.master.logcleaner.plugins";<a name="line.923"></a> <span class="sourceLineNo">924</span><a name="line.924"></a> -<span class="sourceLineNo">925</span> public static final float HFILE_BLOCK_CACHE_SIZE_DEFAULT = 0.4f;<a name="line.925"></a> -<span class="sourceLineNo">926</span><a name="line.926"></a> -<span class="sourceLineNo">927</span> /*<a name="line.927"></a> -<span class="sourceLineNo">928</span> * Minimum percentage of free heap necessary for a successful cluster startup.<a name="line.928"></a> -<span class="sourceLineNo">929</span> */<a name="line.929"></a> -<span class="sourceLineNo">930</span> public static final float HBASE_CLUSTER_MINIMUM_MEMORY_THRESHOLD = 0.2f;<a name="line.930"></a> -<span class="sourceLineNo">931</span><a name="line.931"></a> -<span class="sourceLineNo">932</span> public static final Pattern CP_HTD_ATTR_KEY_PATTERN =<a name="line.932"></a> -<span class="sourceLineNo">933</span> Pattern.compile("^coprocessor\\$([0-9]+)$", Pattern.CASE_INSENSITIVE);<a name="line.933"></a> -<span class="sourceLineNo">934</span><a name="line.934"></a> -<span class="sourceLineNo">935</span> /**<a name="line.935"></a> -<span class="sourceLineNo">936</span> * <pre><a name="line.936"></a> -<span class="sourceLineNo">937</span> * Pattern that matches a coprocessor specification. Form is:<a name="line.937"></a> -<span class="sourceLineNo">938</span> * {@code <coprocessor jar file location> '|' <class name> ['|' <priority> ['|' <arguments>]]}<a name="line.938"></a> -<span class="sourceLineNo">939</span> * where arguments are {@code <KEY> '=' <VALUE> [,...]}<a name="line.939"></a> -<span class="sourceLineNo">940</span> * For example: {@code hdfs:///foo.jar|com.foo.FooRegionObserver|1001|arg1=1,arg2=2}<a name="line.940"></a> -<span class="sourceLineNo">941</span> * </pre><a name="line.941"></a> -<span class="sourceLineNo">942</span> */<a name="line.942"></a> -<span class="sourceLineNo">943</span> public static final Pattern CP_HTD_ATTR_VALUE_PATTERN =<a name="line.943"></a> -<span class="sourceLineNo">944</span> Pattern.compile("(^[^\\|]*)\\|([^\\|]+)\\|[\\s]*([\\d]*)[\\s]*(\\|.*)?$");<a name="line.944"></a> -<span class="sourceLineNo">945</span><a name="line.945"></a> -<span class="sourceLineNo">946</span> public static final String CP_HTD_ATTR_VALUE_PARAM_KEY_PATTERN = "[^=,]+";<a name="line.946"></a> -<span class="sourceLineNo">947</span> public static final String CP_HTD_ATTR_VALUE_PARAM_VALUE_PATTERN = "[^,]+";<a name="line.947"></a> -<span class="sourceLineNo">948</span> public static final Pattern CP_HTD_ATTR_VALUE_PARAM_PATTERN = Pattern.compile(<a name="line.948"></a> -<span class="sourceLineNo">949</span> "(" + CP_HTD_ATTR_VALUE_PARAM_KEY_PATTERN + ")=(" +<a name="line.949"></a> -<span class="sourceLineNo">950</span> CP_HTD_ATTR_VALUE_PARAM_VALUE_PATTERN + "),?");<a name="line.950"></a> -<span class="sourceLineNo">951</span> public static final String CP_HTD_ATTR_INCLUSION_KEY =<a name="line.951"></a> -<span class="sourceLineNo">952</span> "hbase.coprocessor.classloader.included.classes";<a name="line.952"></a> -<span class="sourceLineNo">953</span><a name="line.953"></a> -<span class="sourceLineNo">954</span> /** The delay when re-trying a socket operation in a loop (HBASE-4712) */<a name="line.954"></a> -<span class="sourceLineNo">955</span> public static final int SOCKET_RETRY_WAIT_MS = 200;<a name="line.955"></a> -<span class="sourceLineNo">956</span><a name="line.956"></a> -<span class="sourceLineNo">957</span> /** Host name of the local machine */<a name="line.957"></a> -<span class="sourceLineNo">958</span> public static final String LOCALHOST = "localhost";<a name="line.958"></a> -<span class="sourceLineNo">959</span><a name="line.959"></a> -<span class="sourceLineNo">960</span> /**<a name="line.960"></a> -<span class="sourceLineNo">961</span> * If this parameter is set to true, then hbase will read<a name="line.961"></a> -<span class="sourceLineNo">962</span> * data and then verify checksums. Checksum verification<a name="line.962"></a> -<span class="sourceLineNo">963</span> * inside hdfs will be switched off. However, if the hbase-checksum<a name="line.963"></a> -<span class="sourceLineNo">964</span> * verification fails, then it will switch back to using<a name="line.964"></a> -<span class="sourceLineNo">965</span> * hdfs checksums for verifiying data that is being read from storage.<a name="line.965"></a> -<span class="sourceLineNo">966</span> *<a name="line.966"></a> -<span class="sourceLineNo">967</span> * If this parameter is set to false, then hbase will not<a name="line.967"></a> -<span class="sourceLineNo">968</span> * verify any checksums, instead it will depend on checksum verification<a name="line.968"></a> -<span class="sourceLineNo">969</span> * being done in the hdfs client.<a name="line.969"></a> -<span class="sourceLineNo">970</span> */<a name="line.970"></a> -<span class="sourceLineNo">971</span> public static final String HBASE_CHECKSUM_VERIFICATION =<a name="line.971"></a> -<span class="sourceLineNo">972</span> "hbase.regionserver.checksum.verify";<a name="line.972"></a> -<span class="sourceLineNo">973</span><a name="line.973"></a> -<span class="sourceLineNo">974</span> public static final String LOCALHOST_IP = "127.0.0.1";<a name="line.974"></a> -<span class="sourceLineNo">975</span><a name="line.975"></a> -<span class="sourceLineNo">976</span> /** Conf key that enables unflushed WAL edits directly being replayed to region servers */<a name="line.976"></a> -<span class="sourceLineNo">977</span> public static final String DISTRIBUTED_LOG_REPLAY_KEY = "hbase.master.distributed.log.replay";<a name="line.977"></a> -<span class="sourceLineNo">978</span> public static final boolean DEFAULT_DISTRIBUTED_LOG_REPLAY_CONFIG = false;<a name="line.978"></a> -<span class="sourceLineNo">979</span> public static final String DISALLOW_WRITES_IN_RECOVERING =<a name="line.979"></a> -<span class="sourceLineNo">980</span> "hbase.regionserver.disallow.writes.when.recovering";<a name="line.980"></a> -<span class="sourceLineNo">981</span> public static final boolean DEFAULT_DISALLOW_WRITES_IN_RECOVERING_CONFIG = false;<a name="line.981"></a> -<span class="sourceLineNo">982</span><a name="line.982"></a> -<span class="sourceLineNo">983</span> public static final String REGION_SERVER_HANDLER_COUNT = "hbase.regionserver.handler.count";<a name="line.983"></a> -<span class="sourceLineNo">984</span> public static final int DEFAULT_REGION_SERVER_HANDLER_COUNT = 30;<a name="line.984"></a> +<span class="sourceLineNo">925</span> public static final String HBASE_REGION_SPLIT_POLICY_KEY =<a name="line.925"></a> +<span class="sourceLineNo">926</span> "hbase.regionserver.region.split.policy";<a name="line.926"></a> +<span class="sourceLineNo">927</span><a name="line.927"></a> +<span class="sourceLineNo">928</span> /** Whether nonces are enabled; default is true. */<a name="line.928"></a> +<span class="sourceLineNo">929</span> public static final String HBASE_RS_NONCES_ENABLED = "hbase.regionserver.nonces.enabled";<a name="line.929"></a> +<span class="sourceLineNo">930</span><a name="line.930"></a> +<span class="sourceLineNo">931</span> /**<a name="line.931"></a> +<span class="sourceLineNo">932</span> * Configuration key for the size of the block cache<a name="line.932"></a> +<span class="sourceLineNo">933</span> */<a name="line.933"></a> +<span class="sourceLineNo">934</span> public static final String HFILE_BLOCK_CACHE_SIZE_KEY =<a name="line.934"></a> +<span class="sourceLineNo">935</span> "hfile.block.cache.size";<a name="line.935"></a> +<span class="sourceLineNo">936</span><a name="line.936"></a> +<span class="sourceLineNo">937</span> public static final float HFILE_BLOCK_CACHE_SIZE_DEFAULT = 0.4f;<a name="line.937"></a> +<span class="sourceLineNo">938</span><a name="line.938"></a> +<span class="sourceLineNo">939</span> /*<a name="line.939"></a> +<span class="sourceLineNo">940</span> * Minimum percentage of free heap necessary for a successful cluster startup.<a name="line.940"></a> +<span class="sourceLineNo">941</span> */<a name="line.941"></a> +<span class="sourceLineNo">942</span> public static final float HBASE_CLUSTER_MINIMUM_MEMORY_THRESHOLD = 0.2f;<a name="line.942"></a> +<span class="sourceLineNo">943</span><a name="line.943"></a> +<span class="sourceLineNo">944</span> public static final Pattern CP_HTD_ATTR_KEY_PATTERN =<a name="line.944"></a> +<span class="sourceLineNo">945</span> Pattern.compile("^coprocessor\\$([0-9]+)$", Pattern.CASE_INSENSITIVE);<a name="line.945"></a> +<span class="sourceLineNo">946</span><a name="line.946"></a> +<span class="sourceLineNo">947</span> /**<a name="line.947"></a> +<span class="sourceLineNo">948</span> * <pre><a name="line.948"></a> +<span class="sourceLineNo">949</span> * Pattern that matches a coprocessor specification. Form is:<a name="line.949"></a> +<span class="sourceLineNo">950</span> * {@code <coprocessor jar file location> '|' <class name> ['|' <priority> ['|' <arguments>]]}<a name="line.950"></a> +<span class="sourceLineNo">951</span> * where arguments are {@code <KEY> '=' <VALUE> [,...]}<a name="line.951"></a> +<span class="sourceLineNo">952</span> * For example: {@code hdfs:///foo.jar|com.foo.FooRegionObserver|1001|arg1=1,arg2=2}<a name="line.952"></a> +<span class="sourceLineNo">953</span> * </pre><a name="line.953"></a> +<span class="sourceLineNo">954</span> */<a name="line.954"></a> +<span class="sourceLineNo">955</span> public static final Pattern CP_HTD_ATTR_VALUE_PATTERN =<a name="line.955"></a> +<span class="sourceLineNo">956</span> Pattern.compile("(^[^\\|]*)\\|([^\\|]+)\\|[\\s]*([\\d]*)[\\s]*(\\|.*)?$");<a name="line.956"></a> +<span class="sourceLineNo">957</span><a name="line.957"></a> +<span class="sourceLineNo">958</span> public static final String CP_HTD_ATTR_VALUE_PARAM_KEY_PATTERN = "[^=,]+";<a name="line.958"></a> +<span class="sourceLineNo">959</span> public static final String CP_HTD_ATTR_VALUE_PARAM_VALUE_PATTERN = "[^,]+";<a name="line.959"></a> +<span class="sourceLineNo">960</span> public static final Pattern CP_HTD_ATTR_VALUE_PARAM_PATTERN = Pattern.compile(<a name="line.960"></a> +<span class="sourceLineNo">961</span> "(" + CP_HTD_ATTR_VALUE_PARAM_KEY_PATTERN + ")=(" +<a name="line.961"></a> +<span class="sourceLineNo">962</span> CP_HTD_ATTR_VALUE_PARAM_VALUE_PATTERN + "),?");<a name="line.962"></a> +<span class="sourceLineNo">963</span> public static final String CP_HTD_ATTR_INCLUSION_KEY =<a name="line.963"></a> +<span class="sourceLineNo">964</span> "hbase.coprocessor.classloader.included.classes";<a name="line.964"></a> +<span class="sourceLineNo">965</span><a name="line.965"></a> +<span class="sourceLineNo">966</span> /** The delay when re-trying a socket operation in a loop (HBASE-4712) */<a name="line.966"></a> +<span class="sourceLineNo">967</span> public static final int SOCKET_RETRY_WAIT_MS = 200;<a name="line.967"></a> +<span class="sourceLineNo">968</span><a name="line.968"></a> +<span class="sourceLineNo">969</span> /** Host name of the local machine */<a name="line.969"></a> +<span class="sourceLineNo">970</span> public static final String LOCALHOST = "localhost";<a name="line.970"></a> +<span class="sourceLineNo">971</span><a name="line.971"></a> +<span class="sourceLineNo">972</span> /**<a name="line.972"></a> +<span class="sourceLineNo">973</span> * If this parameter is set to true, then hbase will read<a name="line.973"></a> +<span class="sourceLineNo">974</span> * data and then verify checksums. Checksum verification<a name="line.974"></a> +<span class="sourceLineNo">975</span> * inside hdfs will be switched off. However, if the hbase-checksum<a name="line.975"></a> +<span class="sourceLineNo">976</span> * verification fails, then it will switch back to using<a name="line.976"></a> +<span class="sourceLineNo">977</span> * hdfs checksums for verifiying data that is being read from storage.<a name="line.977"></a> +<span class="sourceLineNo">978</span> *<a name="line.978"></a> +<span class="sourceLineNo">979</span> * If this parameter is set to false, then hbase will not<a name="line.979"></a> +<span class="sourceLineNo">980</span> * verify any checksums, instead it will depend on checksum verification<a name="line.980"></a> +<span class="sourceLineNo">981</span> * being done in the hdfs client.<a name="line.981"></a> +<span class="sourceLineNo">982</span> */<a name="line.982"></a> +<span class="sourceLineNo">983</span> public static final String HBASE_CHECKSUM_VERIFICATION =<a name="line.983"></a> +<span class="sourceLineNo">984</span> "hbase.regionserver.checksum.verify";<a name="line.984"></a> <span class="sourceLineNo">985</span><a name="line.985"></a> -<span class="sourceLineNo">986</span> /*<a name="line.986"></a> -<span class="sourceLineNo">987</span> * REGION_SERVER_HANDLER_ABORT_ON_ERROR_PERCENT:<a name="line.987"></a> -<span class="sourceLineNo">988</span> * -1 => Disable aborting<a name="line.988"></a> -<span class="sourceLineNo">989</span> * 0 => Abort if even a single handler has died<a name="line.989"></a> -<span class="sourceLineNo">990</span> * 0.x => Abort only when this percent of handlers have died<a name="line.990"></a> -<span class="sourceLineNo">991</span> * 1 => Abort only all of the handers have died<a name="line.991"></a> -<span class="sourceLineNo">992</span> */<a name="line.992"></a> -<span class="sourceLineNo">993</span> public static final String REGION_SERVER_HANDLER_ABORT_ON_ERROR_PERCENT =<a name="line.993"></a> -<span class="sourceLineNo">994</span> "hbase.regionserver.handler.abort.on.error.percent";<a name="line.994"></a> -<span class="sourceLineNo">995</span> public static final double DEFAULT_REGION_SERVER_HANDLER_ABORT_ON_ERROR_PERCENT = 0.5;<a name="line.995"></a> -<span class="sourceLineNo">996</span><a name="line.996"></a> -<span class="sourceLineNo">997</span> //High priority handlers to deal with admin requests and system table operation requests<a name="line.997"></a> -<span class="sourceLineNo">998</span> public static final String REGION_SERVER_HIGH_PRIORITY_HANDLER_COUNT =<a name="line.998"></a> -<span class="sourceLineNo">999</span> "hbase.regionserver.metahandler.count";<a name="line.999"></a> -<span class="sourceLineNo">1000</span> public static final int DEFAULT_REGION_SERVER_HIGH_PRIORITY_HANDLER_COUNT = 20;<a name="line.1000"></a> -<span class="sourceLineNo">1001</span><a name="line.1001"></a> -<span class="sourceLineNo">1002</span> public static final String REGION_SERVER_REPLICATION_HANDLER_COUNT =<a name="line.1002"></a> -<span class="sourceLineNo">1003</span> "hbase.regionserver.replication.handler.count";<a name="line.1003"></a> -<span class="sourceLineNo">1004</span> public static final int DEFAULT_REGION_SERVER_REPLICATION_HANDLER_COUNT = 3;<a name="line.1004"></a> -<span class="sourceLineNo">1005</span><a name="line.1005"></a> -<span class="sourceLineNo">1006</span> public static final String MASTER_HANDLER_COUNT = "hbase.master.handler.count";<a name="line.1006"></a> -<span class="sourceLineNo">1007</span> public static final int DEFAULT_MASTER_HANLDER_COUNT = 25;<a name="line.1007"></a> +<span class="sourceLineNo">986</span> public static final String LOCALHOST_IP = "127.0.0.1";<a name="line.986"></a> +<span class="sourceLineNo">987</span><a name="line.987"></a> +<span class="sourceLineNo">988</span> /** Conf key that enables unflushed WAL edits directly being replayed to region servers */<a name="line.988"></a> +<span class="sourceLineNo">989</span> public static final String DISTRIBUTED_LOG_REPLAY_KEY = "hbase.master.distributed.log.replay";<a name="line.989"></a> +<span class="sourceLineNo">990</span> public static final boolean DEFAULT_DISTRIBUTED_LOG_REPLAY_CONFIG = false;<a name="line.990"></a> +<span class="sourceLineNo">991</span> public static final String DISALLOW_WRITES_IN_RECOVERING =<a name="line.991"></a> +<span class="sourceLineNo">992</span> "hbase.regionserver.disallow.writes.when.recovering";<a name="line.992"></a> +<span class="sourceLineNo">993</span> public static final boolean DEFAULT_DISALLOW_WRITES_IN_RECOVERING_CONFIG = false;<a name="line.993"></a> +<span class="sourceLineNo">994</span><a name="line.994"></a> +<span class="sourceLineNo">995</span> public static final String REGION_SERVER_HANDLER_COUNT = "hbase.regionserver.handler.count";<a name="line.995"></a> +<span class="sourceLineNo">996</span> public static final int DEFAULT_REGION_SERVER_HANDLER_COUNT = 30;<a name="line.996"></a> +<span class="sourceLineNo">997</span><a name="line.997"></a> +<span class="sourceLineNo">998</span> /*<a name="line.998"></a> +<span class="sourceLineNo">999</span> * REGION_SERVER_HANDLER_ABORT_ON_ERROR_PERCENT:<a name="line.999"></a> +<span class="sourceLineNo">1000</span> * -1 => Disable aborting<a name="line.1000"></a> +<span class="sourceLineNo">1001</span> * 0 => Abort if even a single handler has died<a name="line.1001"></a> +<span class="sourceLineNo">1002</span> * 0.x => Abort only when this percent of handlers have died<a name="line.1002"></a> +<span class="sourceLineNo">1003</span> * 1 => Abort only all of the handers have died<a name="line.1003"></a> +<span class="sourceLineNo">1004</span> */<a name="line.1004"></a> +<span class="sourceLineNo">1005</span> public static final String REGION_SERVER_HANDLER_ABORT_ON_ERROR_PERCENT =<a name="line.1005"></a> +<span class="sourceLineNo">1006</span> "hbase.regionserver.handler.abort.on.error.percent";<a name="line.1006"></a> +<span class="sourceLineNo">1007</span> public static final double DEFAULT_REGION_SERVER_HANDLER_ABORT_ON_ERROR_PERCENT = 0.5;<a name="line.1007"></a> <span class="sourceLineNo">1008</span><a name="line.1008"></a> -<span class="sourceLineNo">1009</span> /** Conf key that specifies timeout value to wait for a region ready */<a name="line.1009"></a> -<span class="sourceLineNo">1010</span> public static final String LOG_REPLAY_WAIT_REGION_TIMEOUT =<a name="line.1010"></a> -<span class="sourceLineNo">1011</span> "hbase.master.log.replay.wait.region.timeout";<a name="line.1011"></a> -<span class="sourceLineNo">1012</span><a name="line.1012"></a> -<span class="sourceLineNo">1013</span> /** Conf key for enabling meta replication */<a name="line.1013"></a> -<span class="sourceLineNo">1014</span> public static final String USE_META_REPLICAS = "hbase.meta.replicas.use";<a name="line.1014"></a> -<span class="sourceLineNo">1015</span> public static final boolean DEFAULT_USE_META_REPLICAS = false;<a name="line.1015"></a> -<span class="sourceLineNo">1016</span> public static final String META_REPLICAS_NUM = "hbase.meta.replica.count";<a name="line.1016"></a> -<span class="sourceLineNo">1017</span> public static final int DEFAULT_META_REPLICA_NUM = 1;<a name="line.1017"></a> -<span class="sourceLineNo">1018</span><a name="line.1018"></a> -<span class="sourceLineNo">1019</span> /**<a name="line.1019"></a> -<span class="sourceLineNo">1020</span> * The name of the configuration parameter that specifies<a name="line.1020"></a> -<span class="sourceLineNo">1021</span> * the number of bytes in a newly created checksum chunk.<a name="line.1021"></a> -<span class="sourceLineNo">1022</span> */<a name="line.1022"></a> -<span class="sourceLineNo">1023</span> public static final String BYTES_PER_CHECKSUM =<a name="line.1023"></a> -<span class="sourceLineNo">1024</span> "hbase.hstore.bytes.per.checksum";<a name="line.1024"></a> -<span class="sourceLineNo">1025</span><a name="line.1025"></a> -<span class="sourceLineNo">1026</span> /**<a name="line.1026"></a> -<span class="sourceLineNo">1027</span> * The name of the configuration parameter that specifies<a name="line.1027"></a> -<span class="sourceLineNo">1028</span> * the name of an algorithm that is used to compute checksums<a name="line.1028"></a> -<span class="sourceLineNo">1029</span> * for newly created blocks.<a name="line.1029"></a> -<span class="sourceLineNo">1030</span> */<a name="line.1030"></a> -<span class="sourceLineNo">1031</span> public static final String CHECKSUM_TYPE_NAME =<a name="line.1031"></a> -<span class="sourceLineNo">1032</span> "hbase.hstore.checksum.algorithm";<a name="line.1032"></a> -<span class="sourceLineNo">1033</span><a name="line.1033"></a> -<span class="sourceLineNo">1034</span> /** Enable file permission modification from standard hbase */<a name="line.1034"></a> -<span class="sourceLineNo">1035</span> public static final String ENABLE_DATA_FILE_UMASK = "hbase.data.umask.enable";<a name="line.1035"></a> -<span class="sourceLineNo">1036</span> /** File permission umask to use when creating hbase data files */<a name="line.1036"></a> -<span class="sourceLineNo">1037</span> public static final String DATA_FILE_UMASK_KEY = "hbase.data.umask";<a name="line.1037"></a> -<span class="sourceLineNo">1038</span><a name="line.1038"></a> -<span class="sourceLineNo">1039</span> /** Configuration name of WAL Compression */<a name="line.1039"></a> -<span class="sourceLineNo">1040</span> public static final String ENABLE_WAL_COMPRESSION =<a name="line.1040"></a> -<span class="sourceLineNo">1041</span> "hbase.regionserver.wal.enablecompression";<a name="line.1041"></a> -<span class="sourceLineNo">1042</span><a name="line.1042"></a> -<span class="sourceLineNo">1043</span> /** Configuration name of WAL storage policy<a name="line.1043"></a> -<span class="sourceLineNo">1044</span> * Valid values are:<a name="line.1044"></a> -<span class="sourceLineNo">1045</span> * NONE: no preference in destination of block replicas<a name="line.1045"></a> -<span class="sourceLineNo">1046</span> * ONE_SSD: place only one block replica in SSD and the remaining in default storage<a name="line.1046"></a> -<span class="sourceLineNo">1047</span> * and ALL_SSD: place all block replicas on SSD<a name="line.1047"></a> -<span class="sourceLineNo">1048</span> *<a name="line.1048"></a> -<span class="sourceLineNo">1049</span> * See http://hadoop.apache.org/docs/r2.6.0/hadoop-project-dist/hadoop-hdfs/ArchivalStorage.html*/<a name="line.1049"></a> -<span class="sourceLineNo">1050</span> public static final String WAL_STORAGE_POLICY = "hbase.wal.storage.policy";<a name="line.1050"></a> -<span class="sourceLineNo">1051</span> public static final String DEFAULT_WAL_STORAGE_POLICY = "NONE";<a name="line.1051"></a> -<span class="sourceLineNo">1052</span><a name="line.1052"></a> -<span class="sourceLineNo">1053</span> /** Region in Transition metrics threshold time */<a name="line.1053"></a> -<span class="sourceLineNo">1054</span> public static final String METRICS_RIT_STUCK_WARNING_THRESHOLD =<a name="line.1054"></a> -<span class="sourceLineNo">1055</span> "hbase.metrics.rit.stuck.warning.threshold";<a name="line.1055"></a> -<span class="sourceLineNo">1056</span><a name="line.1056"></a> -<span class="sourceLineNo">1057</span> public static final String LOAD_BALANCER_SLOP_KEY = "hbase.regions.slop";<a name="line.1057"></a> -<span class="sourceLineNo">1058</span><a name="line.1058"></a> -<span class="sourceLineNo">1059</span> /** delimiter used between portions of a region name */<a name="line.1059"></a> -<span class="sourceLineNo">1060</span> public static final int DELIMITER = ',';<a name="line.1060"></a> -<span class="sourceLineNo">1061</span><a name="line.1061"></a> -<span class="sourceLineNo">1062</span> /**<a name="line.1062"></a> -<span class="sourceLineNo">1063</span> * QOS attributes: these attributes are used to demarcate RPC call processing<a name="line.1063"></a> -<span class="sourceLineNo">1064</span> * by different set of handlers. For example, HIGH_QOS tagged methods are<a name="line.1064"></a> -<span class="sourceLineNo">1065</span> * handled by high priority handlers.<a name="line.1065"></a> -<span class="sourceLineNo">1066</span> */<a name="line.1066"></a> -<span class="sourceLineNo">1067</span> // normal_QOS < replication_QOS < replay_QOS < QOS_threshold < admin_QOS < high_QOS<a name="line.1067"></a> -<span class="sourceLineNo">1068</span> public static final int NORMAL_QOS = 0;<a name="line.1068"></a> -<span class="sourceLineNo">1069</span> public static final int REPLICATION_QOS = 5;<a name="line.1069"></a> -<span class="sourceLineNo">1070</span> public static final int REPLAY_QOS = 6;<a name="line.1070"></a> -<span class="sourceLineNo">1071</span> public static final int QOS_THRESHOLD = 10;<a name="line.1071"></a> -<span class="sourceLineNo">1072</span> public static final int ADMIN_QOS = 100;<a name="line.1072"></a> -<span class="sourceLineNo">1073</span> public static final int HIGH_QOS = 200;<a name="line.1073"></a> -<span class="sourceLineNo">1074</span> public static final int SYSTEMTABLE_QOS = HIGH_QOS;<a name="line.1074"></a> -<span class="sourceLineNo">1075</span><a name="line.1075"></a> -<span class="sourceLineNo">1076</span> /** Directory under /hbase where archived hfiles are stored */<a name="line.1076"></a> -<span class="sourceLineNo">1077</span> public static final String HFILE_ARCHIVE_DIRECTORY = "archive";<a name="line.1077"></a> -<span class="sourceLineNo">1078</span><a name="line.1078"></a> -<span class="sourceLineNo">1079</span> /**<a name="line.1079"></a> -<span class="sourceLineNo">1080</span> * Name of the directory to store all snapshots. See SnapshotDescriptionUtils for<a name="line.1080"></a> -<span class="sourceLineNo">1081</span> * remaining snapshot constants; this is here to keep HConstants dependencies at a minimum and<a name="line.1081"></a> -<span class="sourceLineNo">1082</span> * uni-directional.<a name="line.1082"></a> -<span class="sourceLineNo">1083</span> */<a name="line.1083"></a> -<span class="sourceLineNo">1084</span> public static final String SNAPSHOT_DIR_NAME = ".hbase-snapshot";<a name="line.1084"></a> -<span class="sourceLineNo">1085</span><a name="line.1085"></a> -<span class="sourceLineNo">1086</span> /* Name of old snapshot directory. See HBASE-8352 for details on why it needs to be renamed */<a name="line.1086"></a> -<span class="sourceLineNo">1087</span> public static final String OLD_SNAPSHOT_DIR_NAME = ".snapshot";<a name="line.1087"></a> -<span class="sourceLineNo">1088</span><a name="line.1088"></a> -<span class="sourceLineNo">1089</span> /** Temporary directory used for table creation and deletion */<a name="line.1089"></a> -<span class="sourceLineNo">1090</span> public static final String HBASE_TEMP_DIRECTORY = ".tmp";<a name="line.1090"></a> +<span class="sourceLineNo">1009</span> //High priority handlers to deal with admin requests and system table operation requests<a name="line.1009"></a> +<span class="sourceLineNo">1010</span> public static final String REGION_SERVER_HIGH_PRIORITY_HANDLER_COUNT =<a name="line.1010"></a> +<span class="sourceLineNo">1011</span> "hbase.regionserver.metahandler.count";<a name="line.1011"></a> +<span class="sourceLineNo">1012</span> public static final int DEFAULT_REGION_SERVER_HIGH_PRIORITY_HANDLER_COUNT = 20;<a name="line.1012"></a> +<span class="sourceLineNo">1013</span><a name="line.1013"></a> +<span class="sourceLineNo">1014</span> public static final String REGION_SERVER_REPLICATION_HANDLER_COUNT =<a name="line.1014"></a> +<span class="sourceLineNo">1015</span> "hbase.regionserver.replication.handler.count";<a name="line.1015"></a> +<span class="sourceLineNo">1016</span> public static final int DEFAULT_REGION_SERVER_REPLICATION_HANDLER_COUNT = 3;<a name="line.1016"></a> +<span class="sourceLineNo">1017</span><a name="line.1017"></a> +<span class="sourceLineNo">1018</span> public static final String MASTER_HANDLER_COUNT = "hbase.master.handler.count";<a name="line.1018"></a> +<span class="sourceLineNo">1019</span> public static final int DEFAULT_MASTER_HANLDER_COUNT = 25;<a name="line.1019"></a> +<span class="sourceLineNo">1020</span><a name="line.1020"></a> +<span class="sourceLineNo">1021</span> /** Conf key that specifies timeout value to wait for a region ready */<a name="line.1021"></a> +<span class="sourceLineNo">1022</span> public static final String LOG_REPLAY_WAIT_REGION_TIMEOUT =<a name="line.1022"></a> +<span class="sourceLineNo">1023</span> "hbase.master.log.replay.wait.region.timeout";<a name="line.1023"></a> +<span class="sourceLineNo">1024</span><a name="line.1024"></a> +<span class="sourceLineNo">1025</span> /** Conf key for enabling meta replication */<a name="line.1025"></a> +<span class="sourceLineNo">1026</span> public static final String USE_META_REPLICAS = "hbase.meta.replicas.use";<a name="line.1026"></a> +<span class="sourceLineNo">1027</span> public static final boolean DEFAULT_USE_META_REPLICAS = false;<a name="line.1027"></a> +<span class="sourceLineNo">1028</span> public static final String META_REPLICAS_NUM = "hbase.meta.replica.count";<a name="line.1028"></a> +<span class="sourceLineNo">1029</span> public static final int DEFAULT_META_REPLICA_NUM = 1;<a name="line.1029"></a> +<span class="sourceLineNo">1030</span><a name="line.1030"></a> +<span class="sourceLineNo">1031</span> /**<a name="line.1031"></a> +<span class="sourceLineNo">1032</span> * The name of the configuration parameter that specifies<a name="line.1032"></a> +<span class="sourceLineNo">1033</span> * the number of bytes in a newly created checksum chunk.<a name="line.1033"></a> +<span class="sourceLineNo">1034</span> */<a name="line.1034"></a> +<span class="sourceLineNo">1035</span> public static final String BYTES_PER_CHECKSUM =<a name="line.1035"></a> +<span class="sourceLineNo">1036</span> "hbase.hstore.bytes.per.checksum";<a name="line.1036"></a> +<span class="sourceLineNo">1037</span><a name="line.1037"></a> +<span class="sourceLineNo">1038</span> /**<a name="line.1038"></a> +<span class="sourceLineNo">1039</span> * The name of the configuration parameter that specifies<a name="line.1039"></a> +<span class="sourceLineNo">1040</span> * the name of an algorithm that is used to compute checksums<a name="line.1040"></a> +<span class="sourceLineNo">1041</span> * for newly created blocks.<a name="line.1041"></a> +<span class="sourceLineNo">1042</span> */<a name="line.1042"></a> +<span class="sourceLineNo">1043</span> public static final String CHECKSUM_TYPE_NAME =<a name="line.1043"></a> +<span class="sourceLineNo">1044</span> "hbase.hstore.checksum.algorithm";<a name="line.1044"></a> +<span class="sourceLineNo">1045</span><a name="line.1045"></a> +<span class="sourceLineNo">1046</span> /** Enable file permission modification from standard hbase */<a name="line.1046"></a> +<span class="sourceLineNo">1047</span> public static final String ENABLE_DATA_FILE_UMASK = "hbase.data.umask.enable";<a name="line.1047"></a> +<span class="sourceLineNo">1048</span> /** File permission umask to use when creating hbase data files */<a name="line.1048"></a> +<span class="sourceLineNo">1049</span> public static final String DATA_FILE_UMASK_KEY = "hbase.data.umask";<a name="line.1049"></a> +<span class="sourceLineNo">1050</span><a name="line.1050"></a> +<span class="sourceLineNo">1051</span> /** Configuration name of WAL Compression */<a name="line.1051"></a> +<span class="sourceLineNo">1052</span> public static final String ENABLE_WAL_COMPRESSION =<a name="line.1052"></a> +<span class="sourceLineNo">1053</span> "hbase.regionserver.wal.enablecompression";<a name="line.1053"></a> +<span class="sourceLineNo">1054</span><a name="line.1054"></a> +<span class="sourceLineNo">1055</span> /** Configuration name of WAL storage policy<a name="line.1055"></a> +<span class="sourceLineNo">1056</span> * Valid values are:<a name="line.1056"></a> +<span class="sourceLineNo">1057</span> * NONE: no preference in destination of block replicas<a name="line.1057"></a> +<span class="sourceLineNo">1058</span> * ONE_SSD: place only one block replica in SSD and the remaining in default storage<a name="line.1058"></a> +<span class="sourceLineNo">1059</span> * and ALL_SSD: place all block replicas on SSD<a name="line.1059"></a> +<span class="sourceLineNo">1060</span> *<a name="line.1060"></a> +<span class="sourceLineNo">1061</span> * See http://hadoop.apache.org/docs/r2.6.0/hadoop-project-dist/hadoop-hdfs/ArchivalStorage.html*/<a name="line.1061"></a> +<span class="sourceLineNo">1062</span> public static final String WAL_STORAGE_POLICY = "hbase.wal.storage.policy";<a name="line.1062"></a> +<span class="sourceLineNo">1063</span> public static final String DEFAULT_WAL_STORAGE_POLICY = "NONE";<a name="line.1063"></a> +<span class="sourceLineNo">1064</span><a name="line.1064"></a> +<span class="sourceLineNo">1065</span> /** Region in Transition metrics threshold time */<a name="line.1065"></a> +<span class="sourceLineNo">1066</span> public static final String METRICS_RIT_STUCK_WARNING_THRESHOLD =<a name="line.1066"></a> +<span class="sourceLineNo">1067</span> "hbase.metrics.rit.stuck.warning.threshold";<a name="line.1067"></a> +<span class="sourceLineNo">1068</span><a name="line.1068"></a> +<span class="sourceLineNo">1069</span> public static final String LOAD_BALANCER_SLOP_KEY = "hbase.regions.slop";<a name="line.1069"></a> +<span class="sourceLineNo">1070</span><a name="line.1070"></a> +<span class="sourceLineNo">1071</span> /** delimiter used between portions of a region name */<a name="line.1071"></a> +<span class="sourceLineNo">1072</span> public static final int DELIMITER = ',';<a name="line.1072"></a> +<span class="sourceLineNo">1073</span><a name="line.1073"></a> +<span class="sourceLineNo">1074</span> /**<a name="line.1074"></a> +<span class="sourceLineNo">1075</span> * QOS attributes: these attributes are used to demarcate RPC call processing<a name="line.1075"></a> +<span class="sourceLineNo">1076</span> * by different set of handlers. For example, HIGH_QOS tagged methods are<a name="line.1076"></a> +<span class="sourceLineNo">1077</span> * handled by high priority handlers.<a name="line.1077"></a> +<span class="sourceLineNo">1078</span> */<a name="line.1078"></a> +<span class="sourceLineNo">1079</span> // normal_QOS < replication_QOS < replay_QOS < QOS_threshold < admin_QOS < high_QOS<a name="line.1079"></a> +<span class="sourceLineNo">1080</span> public static final int NORMAL_QOS = 0;<a name="line.1080"></a> +<span class="sourceLineNo">1081</span> public static final int REPLICATION_QOS = 5;<a name="line.1081"></a> +<span class="sourceLineNo">1082</span> public static final int REPLAY_QOS = 6;<a name="line.1082"></a> +<span class="sourceLineNo">1083</span> public static final int QOS_THRESHOLD = 10;<a name="line.1083"></a> +<span class="sourceLineNo">1084</span> public static final int ADMIN_QOS = 100;<a name="line.1084"></a> +<span class="sourceLineNo">1085</span> public static final int HIGH_QOS = 200;<a name="line.1085"></a> +<span class="sourceLineNo">1086</span> public static final int SYSTEMTABLE_QOS = HIGH_QOS;<a name="line.1086"></a> +<span class="sourceLineNo">1087</span><a name="line.1087"></a> +<span class="sourceLineNo">1088</span> /** Directory under /hbase where archived hfiles are stored */<a name="line.1088"></a> +<span class="sourceLineNo">1089</span> public static final String HFILE_ARCHIVE_DIRECTORY = "archive";<a name="line.1089"></a> +<span class="sourceLineNo">1090</span><a name="line.1090"></a> <span class="sourceLineNo">1091</span> /**<a name="line.1091"></a> -<span class="sourceLineNo">1092</span> * The period (in milliseconds) between computing region server point in time metrics<a name="line.1092"></a> -<span class="sourceLineNo">1093</span> */<a name="line.1093"></a> -<span class="sourceLineNo">1094</span> public static final String REGIONSERVER_METRICS_PERIOD = "hbase.regionserver.metrics.period";<a name="line.1094"></a> -<span class="sourceLineNo">1095</span> public static final long DEFAULT_REGIONSERVER_METRICS_PERIOD = 5000;<a name="line.1095"></a> -<span class="sourceLineNo">1096</span> /** Directories that are not HBase table directories */<a name="line.1096"></a> -<span class="sourceLineNo">1097</span> public static final List<String> HBASE_NON_TABLE_DIRS =<a name="line.1097"></a> -<span class="sourceLineNo">1098</span> Collections.unmodifiableList(Arrays.asList(new String[] {<a name="line.1098"></a> -<span class="sourceLineNo">1099</span> HBCK_SIDELINEDIR_NAME, HBASE_TEMP_DIRECTORY, MIGRATION_NAME<a name="line.1099"></a> -<span class="sourceLineNo">1100</span> }));<a name="line.1100"></a> -<span class="sourceLineNo">1101</span><a name="line.1101"></a> -<span class="sourceLineNo">1102</span> /** Directories that are not HBase user table directories */<a name="line.1102"></a> -<span class="sourceLineNo">1103</span> public static final List<String> HBASE_NON_USER_TABLE_DIRS =<a name="line.1103"></a> -<span class="sourceLineNo">1104</span> Collections.unmodifiableList(Arrays.asList((String[])ArrayUtils.addAll(<a name="line.1104"></a> -<span class="sourceLineNo">1105</span> new String[] { TableName.META_TABLE_NAME.getNameAsString() },<a name="line.1105"></a> -<span class="sourceLineNo">1106</span> HBASE_NON_TABLE_DIRS.toArray())));<a name="line.1106"></a> -<span class="sourceLineNo">1107</span><a name="line.1107"></a> -<span class="sourceLineNo">1108</span> /** Health script related settings. */<a name="line.1108"></a> -<span class="sourceLineNo">1109</span> public static final String HEALTH_SCRIPT_LOC = "hbase.node.health.script.location";<a name="line.1109"></a> -<span class="sourceLineNo">1110</span> public static final String HEALTH_SCRIPT_TIMEOUT = "hbase.node.health.script.timeout";<a name="line.1110"></a> -<span class="sourceLineNo">1111</span> public static final String HEALTH_CHORE_WAKE_FREQ =<a name="line.1111"></a> -<span class="sourceLineNo">1112</span> "hbase.node.health.script.frequency";<a name="line.1112"></a> -<span class="sourceLineNo">1113</span> public static final long DEFAULT_HEALTH_SCRIPT_TIMEOUT = 60000;<a name="line.1113"></a> -<span class="sourceLineNo">1114</span> /**<a name="line.1114"></a> -<span class="sourceLineNo">1115</span> * The maximum number of health check failures a server can encounter consecutively.<a name="line.1115"></a> -<span class="sourceLineNo">1116</span> */<a name="line.1116"></a> -<span class="sourceLineNo">1117</span> public static final String HEALTH_FAILURE_THRESHOLD =<a name="line.1117"></a> -<span class="sourceLineNo">1118</span> "hbase.node.health.failure.threshold";<a name="line.1118"></a> -<span class="sourceLineNo">1119</span> public static final int DEFAULT_HEALTH_FAILURE_THRESHOLD = 3;<a name="line.1119"></a> -<span class="sourceLineNo">1120</span><a name="line.1120"></a> -<span class="sourceLineNo">1121</span><a name="line.1121"></a> -<span class="sourceLineNo">1122</span> /**<a name="line.1122"></a> -<span class="sourceLineNo">1123</span> * Setting to activate, or not, the publication of the status by the master. Default<a name="line.1123"></a> -<span class="sourceLineNo">1124</span> * notification is by a multicast message.<a name="line.1124"></a> -<span class="sourceLineNo">1125</span> */<a name="line.1125"></a> -<span class="sourceLineNo">1126</span> public static final String STATUS_PUBLISHED = "hbase.status.published";<a name="line.1126"></a> -<span class="sourceLineNo">1127</span> public static final boolean STATUS_PUBLISHED_DEFAULT = false;<a name="line.1127"></a> -<span class="sourceLineNo">1128</span><a name="line.1128"></a> -<span class="sourceLineNo">1129</span> /**<a name="line.1129"></a> -<span class="sourceLineNo">1130</span> * IP to use for the multicast status messages between the master and the clients.<a name="line.1130"></a> -<span class="sourceLineNo">1131</span> * The default address is chosen as one among others within the ones suitable for multicast<a name="line.1131"></a> -<span class="sourceLineNo">1132</span> * messages.<a name="line.1132"></a> -<span class="sourceLineNo">1133</span> */<a name="line.1133"></a> -<span class="sourceLineNo">1134</span> public static final String STATUS_MULTICAST_ADDRESS = "hbase.status.multicast.address.ip";<a name="line.1134"></a> -<span class="sourceLineNo">1135</span> public static final String DEFAULT_STATUS_MULTICAST_ADDRESS = "226.1.1.3";<a name="line.1135"></a> -<span class="sourceLineNo">1136</span><a name="line.1136"></a> -<span class="sourceLineNo">1137</span> /**<a name="line.1137"></a> -<span class="sourceLineNo">1138</span> * The address to use for binding the local socket for receiving multicast. Defaults to<a name="line.1138"></a> -<span class="sourceLineNo">1139</span> * 0.0.0.0.<a name="line.1139"></a> -<span class="sourceLineNo">1140</span> * @see <a href="https://issues.apache.org/jira/browse/HBASE-9961">HBASE-9961</a><a name="line.1140"></a> -<span class="sourceLineNo">1141</span> */<a name="line.1141"></a> -<span class="sourceLineNo">1142</span> public static final String STATUS_MULTICAST_BIND_ADDRESS =<a name="line.1142"></a> -<span class="sourceLineNo">1143</span> "hbase.status.multicast.bind.address.ip";<a name="line.1143"></a> -<span class="sourceLineNo">1144</span> public static final String DEFAULT_STATUS_MULTICAST_BIND_ADDRESS = "0.0.0.0";<a name="line.1144"></a> -<span class="sourceLineNo">1145</span><a name="line.1145"></a> -<span class="sourceLineNo">1146</span> /**<a name="line.1146"></a> -<span class="sourceLineNo">1147</span> * The port to use for the multicast messages.<a name="line.1147"></a> -<span class="sourceLineNo">1148</span> */<a name="line.1148"></a> -<span class="sourceLineNo">1149</span> public static final String STATUS_MULTICAST_PORT = "hbase.status.multicast.address.port";<a name="line.1149"></a> -<span class="sourceLineNo">1150</span> public static final int DEFAULT_STATUS_MULTICAST_PORT = 16100;<a name="line.1150"></a> -<span class="sourceLineNo">1151</span><a name="line.1151"></a> -<span class="sourceLineNo">1152</span> public static final long NO_NONCE = 0;<a name="line.1152"></a> -<span class="sourceLineNo">1153</span><a name="line.1153"></a> -<span class="sourceLineNo">1154</span> /** Default cipher for encryption */<a name="line.1154"></a> -<span class="sourceLineNo">1155</span> public static final String CIPHER_AES = "AES";<a name="line.1155"></a> -<span class="sourceLineNo">1156</span><a name="line.1156"></a> -<span class="sourceLineNo">1157</span> /** Configuration key for the crypto algorithm provider, a class name */<a name="line.1157"></a> -<span class="sourceLineNo">1158</span> public static final String CRYPTO_CIPHERPROVIDER_CONF_KEY = "hbase.crypto.cipherprovider";<a name="line.1158"></a> -<span class="sourceLineNo">1159</span><a name="line.1159"></a> -<span class="sourceLineNo">1160</span> /** Configuration key for the crypto key provider, a class name */<a name="line.1160"></a> -<span class="sourceLineNo">1161</span> public static final String CRYPTO_KEYPROVIDER_CONF_KEY = "hbase.crypto.keyprovider";<a name="line.1161"></a> -<span class="sourceLineNo">1162</span><a name="line.1162"></a> -<span class="sourceLineNo">1163</span> /** Configuration key for the crypto key provider parameters */<a name="line.1163"></a> -<span class="sourceLineNo">1164</span> public static final String CRYPTO_KEYPROVIDER_PARAMETERS_KEY =<a name="line.1164"></a> -<span class="sourceLineNo">1165</span> "hbase.crypto.keyprovider.parameters";<a name="line.1165"></a> -<span class="sourceLineNo">1166</span><a name="line.1166"></a> -<span class="sourceLineNo">1167</span> /** Configuration key for the name of the master key for the cluster, a string */<a name="line.1167"></a> -<span class="sourceLineNo">1168</span> public static final String CRYPTO_MASTERKEY_NAME_CONF_KEY = "hbase.crypto.master.key.name";<a name="line.1168"></a> -<span class="sourceLineNo">1169</span><a name="line.1169"></a> -<span class="sourceLineNo">1170</span> /** Configuration key for the name of the alternate master key for the cluster, a string */<a name="line.1170"></a> -<span class="sourceLineNo">1171</span> public static final String CRYPTO_MASTERKEY_ALTERNATE_NAME_CONF_KEY =<a name="line.1171"></a> -<span class="sourceLineNo">1172</span> "hbase.crypto.master.alternate.key.name";<a name="line.1172"></a> -<span class="sourceLineNo">1173</span><a name="line.1173"></a> -<span class="sourceLineNo">1174</span> /** Configuration key for the algorithm to use when encrypting the WAL, a string */<a name="line.1174"></a> -<span class="sourceLineNo">1175</span> public static final String CRYPTO_WAL_ALGORITHM_CONF_KEY = "hbase.crypto.wal.algorithm";<a name="line.1175"></a> -<span class="sourceLineNo">1176</span><a name="line.1176"></a> -<span class="sourceLineNo">1177</span> /** Configuration key for the name of the master WAL encryption key for the cluster, a string */<a name="line.1177"></a> -<span class="sourceLineNo">1178</span> public static final String CRYPTO_WAL_KEY_NAME_CONF_KEY = "hbase.crypto.wal.key.name";<a name="line.1178"></a> -<span class="sourceLineNo">1179</span><a name="line.1179"></a> -<span class="sourceLineNo">1180</span> /** Configuration key for the algorithm used for creating jks key, a string */<a name="line.1180"></a> -<span class="sourceLineNo">1181</span> public static final String CRYPTO_KEY_ALGORITHM_CONF_KEY = "hbase.crypto.key.algorithm";<a name="line.1181"></a> -<span class="sourceLineNo">1182</span><a name="line.1182"></a> -<span class="sourceLineNo">1183</span> /** Configuration key for the name of the alternate cipher algorithm for the cluster, a string */<a name="line.1183"></a> -<span class="sourceLineNo">1184</span> public static final String CRYPTO_ALTERNATE_KEY_ALGORITHM_CONF_KEY =<a name="line.1184"></a> -<span class="sourceLineNo">1185</span> "hbase.crypto.alternate.key.algorithm";<a name="line.1185"></a> -<span class="sourceLineNo">1186</span><a name="line.1186"></a> -<span class="sourceLineNo">1187</span> /** Configuration key for enabling WAL encryption, a boolean */<a name="line.1187"></a> -<span class="sourceLineNo">1188</span> public static final String ENABLE_WAL_ENCRYPTION = "hbase.regionserver.wal.encryption";<a name="line.1188"></a> -<span class="sourceLineNo">1189</span><a name="line.1189"></a> -<span class="sourceLineNo">1190</span> /** Configuration key for setting RPC codec class name */<a name="line.1190"></a> -<span class="sourceLineNo">1191</span> public static final String RPC_CODEC_CONF_KEY = "hbase.client.rpc.codec";<a name="line.1191"></a> -<span class="sourceLineNo">1192</span><a name="line.1192"></a> -<span class="sourceLineNo">1193</span> /** Configuration key for setting replication codec class name */<a name="line.1193"></a> -<span class="sourceLineNo">1194</span> public static final String REPLICATION_CODEC_CONF_KEY = "hbase.replication.rpc.codec";<a name="line.1194"></a> -<span class="sourceLineNo">1195</span><a name="line.1195"></a> -<span class="sourceLineNo">1196</span> /** Maximum number of threads used by the replication source for shipping edits to the sinks */<a name="line.1196"></a> -<span class="sourceLineNo">1197</span> public static final String REPLICATION_SOURCE_MAXTHREADS_KEY =<a name="line.1197"></a> -<span class="sourceLineNo">1198</span> "hbase.replication.source.maxthreads";<a name="line.1198"></a> -<span class="sourceLineNo">1199</span><a name="line.1199"></a> -<span class="sourceLineNo">1200</span> public static final int REPLICATION_SOURCE_MAXTHREADS_DEFAULT = 10;<a name="line.1200"></a> +<span class="sourceLineNo">1092</span> * Name of the directory to store all snapshots. See SnapshotDescriptionUtils for<a name="line.1092"></a> +<span class="sourceLineNo">1093</span> * remaining snapshot constants; this is here to keep HConstants dependencies at a minimum and<a name="line.1093"></a> +<span class="sourceLineNo">1094</span> * uni-directional.<a name="line.1094"></a> +<span class="sourceLineNo">1095</span> */<a name="line.1095"></a> +<span class="sourceLineNo">1096</span> public static final String SNAPSHOT_DIR_NAME = ".hbase-snapshot";<a name="line.1096"></a> +<span class="sourceLineNo">1097</span><a name="line.1097"></a> +<span class="sourceLineNo">1098</span> /* Name of old snapshot directory. See HBASE-8352 for details on why it needs to be renamed */<a name="line.1098"></a> +<span class="sourceLineNo">1099</span> public static final String OLD_SNAPSHOT_DIR_NAME = ".snapshot";<a name="line.1099"></a> +<span class="sourceLineNo">1100</span><a name="line.1100"></a> +<span class="sourceLineNo">1101</span> /** Temporary directory used for table creation and deletion */<a name="line.1101"></a> +<span class="sourceLineNo">1102</span> public static final String HBASE_TEMP_DIRECTORY = ".tmp";<a name="line.1102"></a> +<span class="sourceLineNo">1103</span> /**<a name="line.1103"></a> +<span class="sourceLineNo">1104</span> * The period (in milliseconds) between computing region server point in time metrics<a name="line.1104"></a> +<span class="sourceLineNo">1105</span> */<a name="line.1105"></a> +<span class="sourceLineNo">1106</span> public static final String REGIONSERVER_METRICS_PERIOD = "hbase.regionserver.metrics.period";<a name="line.1106"></a> +<span class="sourceLineNo">1107</span> public static final long DEFAULT_REGIONSERVER_METRICS_PERIOD = 5000;<a name="line.1107"></a> +<span class="sourceLineNo">1108</span> /** Directories that are not HBase table directories */<a name="line.1108"></a> +<span class="sourceLineNo">1109</span> public static final List<String> HBASE_NON_TABLE_DIRS =<a name="line.1109"></a> +<span class="sourceLineNo">1110</span> Collections.unmodifiableList(Arrays.asList(new String[] {<a name="line.1110"></a> +<span class="sourceLineNo">1111</span> HBCK_SIDELINEDIR_NAME, HBASE_TEMP_DIRECTORY, MIGRATION_NAME<a name="line.1111"></a> +<span class="sourceLineNo">1112</span> }));<a name="line.1112"></a> +<span class="sourceLineNo">1113</span><a name="line.1113"></a> +<span class="sourceLineNo">1114</span> /** Directories that are not HBase user table directories */<a name="line.1114"></a> +<span class="sourceLineNo">1115</span> public static final List<String> HBASE_NON_USER_TABLE_DIRS =<a name="line.1115"></a> +<span class="sourceLineNo">1116</span> Collections.unmodifiableList(Arrays.asList((String[])ArrayUtils.addAll(<a name="line.1116"></a> +<span class="sourceLineNo">1117</span> new String[] { TableName.META_TABLE_NAME.getNameAsString() },<a name="line.1117"></a> +<span class="sourceLineNo">1118</span> HBASE_NON_TABLE_DIRS.toArray())));<a name="line.1118"></a> +<span class="sourceLineNo">1119</span><a name="line.1119"></a> +<span class="sourceLineNo">1120</span> /** Health script related settings. */<a name="line.1120"></a> +<span class="sourceLineNo">1121</span> public static final String HEALTH_SCRIPT_LOC = "hbase.node.health.script.location";<a name="line.1121"></a> +<span class="sourceLineNo">1122</span> public static final String HEALTH_SCRIPT_TIMEOUT = "hbase.node.health.script.timeout";<a name="line.1122"></a> +<span class="sourceLineNo">1123</span> public static final String HEALTH_CHORE_WAKE_FREQ =<a name="line.1123"></a> +<span class="sourceLineNo">1124</span> "hbase.node.health.script.frequency";<a name="line.1124"></a> +<span class="sourceLineNo">1125</span> public static final long DEFAULT_HEALTH_SCRIPT_TIMEOUT = 60000;<a name="line.1125"></a> +<span class="sourceLineNo">1126</span> /**<a name="line.1126"></a> +<span class="sourceLineNo">1127</span> * The maximum number of health check failures a server can encounter consecutively.<a name="line.1127"></a> +<span class="sourceLineNo">1128</span> */<a name="line.1128"></a> +<span class="sourceLineNo">1129</span> public static final String HEALTH_FAILURE_THRESHOLD =<a name="line.1129"></a> +<span class="sourceLineNo">1130</span> "hbase.node.health.failure.threshold";<a name="line.1130"></a> +<span class="sourceLineNo">1131</span> public static final int DEFAULT_HEALTH_FAILURE_THRESHOLD = 3;<a name="line.1131"></a> +<span class="sourceLineNo">1132</span><a name="line.1132"></a> +<span class="sourceLineNo">1133</span><a name="line.1133"></a> +<span class="sourceLineNo">1134</span> /**<a name="line.1134"></a> +<span class="sourceLineNo">1135</span> * Setting to activate, or not, the publication of the status by the master. Default<a name="line.1135"></a> +<span class="sourceLineNo">1136</span> * notification is by a multicast message.<a name="line.1136"></a> +<span class="sourceLineNo">1137</span> */<a name="line.1137"></a> +<span class="sourceLineNo">1138</span> public static final String STATUS_PUBLISHED = "hbase.status.published";<a name="line.1138"></a> +<span class="sourceLineNo">1139</span> public static final boolean STATUS_PUBLISHED_DEFAULT = false;<a name="line.1139"></a> +<span class="sourceLineNo">1140</span><a name="line.1140"></a> +<span class="sourceLineNo">1141</span> /**<a name="line.1141"></a> +<span class="sourceLineNo">1142</span> * IP to use for the multicast status messages between the master and the clients.<a name="line.1142"></a> +<span class="sourceLineNo">1143</span> * The default address is chosen as one among others within the ones suitable for multicast<a name="line.1143"></a> +<span class="sourceLineNo">1144</span> * messages.<a name="line.1144"></a> +<span class="sourceLineNo">1145
<TRUNCATED>