Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-7290 Online snapshots
  3. HBASE-7492

add new online-snapshot properties to hbase-default.xml

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Suggested by jesse on the HBASE-6864 review.

      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;
      

      nit: add these to hbase-default.xml?

        Attachments

          Activity

            People

            • Assignee:
              jmhsieh Jonathan Hsieh
              Reporter:
              jmhsieh Jonathan Hsieh
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: