Jonathan Hsieh created HBASE-7492:
-------------------------------------

             Summary: add new online-snapshot properties to hbase-default.xml
                 Key: HBASE-7492
                 URL: https://issues.apache.org/jira/browse/HBASE-7492
             Project: HBase
          Issue Type: Improvement
            Reporter: Jonathan Hsieh


Suggested by jesse on the HBASE-6864 review.

{code}
76      
  /** Maximum number of concurrent snapshot region tasks that can run 
concurrently */
77      
  private static final String CONCURENT_SNAPSHOT_TASKS_KEY = 
"hbase.snapshot.region.concurrentTasks";
78      
  private static final int DEFAULT_CONCURRENT_SNAPSHOT_TASKS = 3;
79      
80      
  /** Conf key for number of request threads to start snapshots on 
regionservers */
81      
  public static final String SNAPSHOT_REQUEST_THREADS_KEY = 
"hbase.snapshot.region.pool.threads";
82      
  /** # of threads for snapshotting regions on the rs. */
83      
  public static final int SNAPSHOT_REQUEST_THREADS_DEFAULT = 10;
84      
85      
  /** Conf key for max time to keep threads in snapshot request pool waiting */
86      
  public static final String SNAPSHOT_TIMEOUT_MILLIS_KEY = 
"hbase.snapshot.region.timeout";
87      
  /** Keep threads alive in request pool for max of 60 seconds */
88      
  public static final long SNAPSHOT_TIMEOUT_MILLIS_DEFAULT = 60000;
89      
90      
  /** Conf key for millis between checks to see if snapshot completed or if 
there are errors*/
91      
  public static final String SNAPSHOT_REQUEST_WAKE_MILLIS_KEY = 
"hbase.snapshot.region.wakefrequency";
92      
  /** Default amount of time to check for errors while regions finish 
snapshotting */
93      
  private static final long SNAPSHOT_REQUEST_WAKE_MILLIS_DEFAULT = 500;
{code}
nit: add these to hbase-default.xml?


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to