@Test public void testKeySet() throws IllegalAccessException { Class<?> c = TezJobConfig.class; Set<String> expectedKeys = new HashSet<String>(); for (Field f : c.getFields()) { if (!f.getName().endsWith("DEFAULT") && f.getType() == String.class) { expectedKeys.add((String) f.get(null)); } } Set<String> actualKeySet = TezJobConfig.getRuntimeConfigKeySet(); for (String key : actualKeySet) { if (!expectedKeys.remove(key)) { fail("Found unexpected key: " + key + " in key set"); } } assertTrue("Missing keys in key set: " + expectedKeys, expectedKeys.size() == 0); }
@Private public static Set<String> getRuntimeConfigKeySet() { return umnodifiableTezRuntimeKeySet; }
TezJobConfig { @Private public static Set<String> getRuntimeConfigKeySet() { return umnodifiableTezRuntimeKeySet; } }
TezJobConfig { @Private public static Set<String> getRuntimeConfigKeySet() { return umnodifiableTezRuntimeKeySet; }  }
TezJobConfig { @Private public static Set<String> getRuntimeConfigKeySet() { return umnodifiableTezRuntimeKeySet; }  @Private static Set<String> getRuntimeConfigKeySet(); @Private static Set<String> getRuntimeAdditionalConfigKeySet(); @Private static List<String> getAllowedPrefixes(); @Private static Map<String, String> getTezRuntimeConfigDefaults(); @Private static Map<String, String> getOtherConfigDefaults(); }
TezJobConfig { @Private public static Set<String> getRuntimeConfigKeySet() { return umnodifiableTezRuntimeKeySet; }  @Private static Set<String> getRuntimeConfigKeySet(); @Private static Set<String> getRuntimeAdditionalConfigKeySet(); @Private static List<String> getAllowedPrefixes(); @Private static Map<String, String> getTezRuntimeConfigDefaults(); @Private static Map<String, String> getOtherConfigDefaults(); static final String TEZ_RUNTIME_IFILE_READAHEAD; static final boolean TEZ_RUNTIME_IFILE_READAHEAD_DEFAULT; static final String TEZ_RUNTIME_IFILE_READAHEAD_BYTES; static final int TEZ_RUNTIME_IFILE_READAHEAD_BYTES_DEFAULT; static final int TEZ_RUNTIME_IFILE_BUFFER_SIZE_DEFAULT; static final String TEZ_RUNTIME_IO_FILE_BUFFER_SIZE; static final String TEZ_RUNTIME_IO_SORT_FACTOR; static final int TEZ_RUNTIME_IO_SORT_FACTOR_DEFAULT; static final String TEZ_RUNTIME_SORT_SPILL_PERCENT; static float TEZ_RUNTIME_SORT_SPILL_PERCENT_DEFAULT; static final String TEZ_RUNTIME_IO_SORT_MB; static final int TEZ_RUNTIME_IO_SORT_MB_DEFAULT; static final String TEZ_RUNTIME_INDEX_CACHE_MEMORY_LIMIT_BYTES; static final int TEZ_RUNTIME_INDEX_CACHE_MEMORY_LIMIT_BYTES_DEFAULT; static final String TEZ_RUNTIME_COMBINE_MIN_SPILLS; static final int TEZ_RUNTIME_COMBINE_MIN_SPILLS_DEFAULT; static final String TEZ_RUNTIME_SORT_THREADS; static final int TEZ_RUNTIME_SORT_THREADS_DEFAULT; static final String TEZ_RUNTIME_UNORDERED_OUTPUT_BUFFER_SIZE_MB; static final int TEZ_RUNTIME_UNORDERED_OUTPUT_BUFFER_SIZE_MB_DEFAULT; @Private
  static final String TEZ_RUNTIME_UNORDERED_OUTPUT_MAX_PER_BUFFER_SIZE_BYTES; static final String TEZ_RUNTIME_PARTITIONER_CLASS; static final String TEZ_RUNTIME_COMBINER_CLASS; static final String TEZ_RUNTIME_COUNTERS_MAX_KEY; static final int TEZ_RUNTIME_COUNTERS_MAX_DEFAULT; static final String TEZ_RUNTIME_COUNTER_GROUP_NAME_MAX_KEY; static final int TEZ_RUNTIME_COUNTER_GROUP_NAME_MAX_DEFAULT; static final String TEZ_RUNTIME_COUNTER_NAME_MAX_KEY; static final int TEZ_RUNTIME_COUNTER_NAME_MAX_DEFAULT; static final String TEZ_RUNTIME_COUNTER_GROUPS_MAX_KEY; static final int TEZ_RUNTIME_COUNTER_GROUPS_MAX_DEFAULT; static final String TEZ_RUNTIME_SHUFFLE_PARALLEL_COPIES; static final int TEZ_RUNTIME_SHUFFLE_PARALLEL_COPIES_DEFAULT; static final String TEZ_RUNTIME_SHUFFLE_FETCH_FAILURES_LIMIT; static final int TEZ_RUNTIME_SHUFFLE_FETCH_FAILURES_LIMIT_DEFAULT; static final String TEZ_RUNTIME_SHUFFLE_FETCH_MAX_TASK_OUTPUT_AT_ONCE; final static int TEZ_RUNTIME_SHUFFLE_FETCH_MAX_TASK_OUTPUT_AT_ONCE_DEFAULT; static final String TEZ_RUNTIME_SHUFFLE_NOTIFY_READERROR; static final boolean TEZ_RUNTIME_SHUFFLE_NOTIFY_READERROR_DEFAULT; static final String TEZ_RUNTIME_SHUFFLE_CONNECT_TIMEOUT; static final int TEZ_RUNTIME_SHUFFLE_STALLED_COPY_TIMEOUT_DEFAULT; static final String TEZ_RUNTIME_SHUFFLE_KEEP_ALIVE_ENABLED; static final boolean TEZ_RUNTIME_SHUFFLE_KEEP_ALIVE_ENABLED_DEFAULT; static final String TEZ_RUNTIME_SHUFFLE_KEEP_ALIVE_MAX_CONNECTIONS; static final int TEZ_RUNTIME_SHUFFLE_KEEP_ALIVE_MAX_CONNECTIONS_DEFAULT; static final String TEZ_RUNTIME_SHUFFLE_READ_TIMEOUT; final static int TEZ_RUNTIME_SHUFFLE_READ_TIMEOUT_DEFAULT; static final String TEZ_RUNTIME_SHUFFLE_BUFFER_SIZE; final static int TEZ_RUNTIME_SHUFFLE_BUFFER_SIZE_DEFAULT; static final String TEZ_RUNTIME_SHUFFLE_ENABLE_SSL; static final boolean TEZ_RUNTIME_SHUFFLE_ENABLE_SSL_DEFAULT; static final String TEZ_RUNTIME_SHUFFLE_INPUT_BUFFER_PERCENT; static final float TEZ_RUNTIME_SHUFFLE_INPUT_BUFFER_PERCENT_DEFAULT; static final String TEZ_RUNTIME_SHUFFLE_MEMORY_LIMIT_PERCENT; static final float TEZ_RUNTIME_SHUFFLE_MEMORY_LIMIT_PERCENT_DEFAULT; static final String TEZ_RUNTIME_SHUFFLE_MERGE_PERCENT; static final float TEZ_RUNTIME_SHUFFLE_MERGE_PERCENT_DEFAULT; static final String TEZ_RUNTIME_SHUFFLE_MEMTOMEM_SEGMENTS; static final String TEZ_RUNTIME_SHUFFLE_ENABLE_MEMTOMEM; static final boolean TEZ_RUNTIME_SHUFFLE_ENABLE_MEMTOMEM_DEFAULT; static final String TEZ_RUNTIME_INPUT_BUFFER_PERCENT; static final float TEZ_RUNTIME_INPUT_BUFFER_PERCENT_DEFAULT; static final String TEZ_RUNTIME_GROUP_COMPARATOR_CLASS; static final String TEZ_RUNTIME_INTERNAL_SORTER_CLASS; static final String TEZ_RUNTIME_KEY_COMPARATOR_CLASS; static final String TEZ_RUNTIME_KEY_CLASS; static final String TEZ_RUNTIME_VALUE_CLASS; static final String TEZ_RUNTIME_COMPRESS; static final String TEZ_RUNTIME_COMPRESS_CODEC; static final String TEZ_RUNTIME_KEY_SECONDARY_COMPARATOR_CLASS; static final String TEZ_RUNTIME_EMPTY_PARTITION_INFO_VIA_EVENTS_ENABLED; static final boolean TEZ_RUNTIME_EMPTY_PARTITION_INFO_VIA_EVENTS_ENABLED_DEFAULT; static final String TEZ_RUNTIME_BROADCAST_DATA_VIA_EVENTS_ENABLED; static final boolean TEZ_RUNTIME_BROADCAST_DATA_VIA_EVENTS_ENABLED_DEFAULT; static final String TEZ_RUNTIME_BROADCAST_DATA_VIA_EVENTS_MAX_SIZE; static final int TEZ_RUNTIME_BROADCAST_DATA_VIA_EVENTS_MAX_SIZE_DEFAULT; static final String TEZ_RUNTIME_RESOURCE_CALCULATOR_PROCESS_TREE_CLASS; @Private
  @Unstable
  static final String TEZ_RUNTIME_SCALE_TASK_MEMORY_ENABLED; static final boolean TEZ_RUNTIME_SCALE_TASK_MEMORY_ENABLED_DEFAULT; @Private
  @Unstable
  static final String TEZ_RUNTIME_SCALE_TASK_MEMORY_ALLOCATOR_CLASS; static final String TEZ_RUNTIME_SCALE_TASK_MEMORY_ALLOCATOR_CLASS_DEFAULT; @Private
  @Unstable
  static final String TEZ_RUNTIME_SCALE_TASK_MEMORY_RESERVE_FRACTION; @Private
  @Unstable
  static final String TEZ_RUNTIME_SCALE_TASK_MEMORY_ADDITIONAL_RESERVATION_FRACTION_PER_IO; static final String TEZ_RUNTIME_SCALE_TASK_MEMORY_ADDITIONAL_RESERVATION_FRACTION_MAX; @Private
  @Unstable
  static final String TEZ_RUNTIME_SCALE_TASK_MEMORY_WEIGHTED_RATIOS; static final String TEZ_CREDENTIALS_PATH; @Unstable
  @Private
  static final String TEZ_RUNTIME_RECORDS_BEFORE_PROGRESS; static final long TEZ_RUNTIME_RECORDS_BEFORE_PROGRESS_DEFAULT; }