core/src/main/java/org/apache/carbondata/core/util/CarbonProperties.java
/**
   * This method validates the loaded properties and loads default
   * values in case of wrong values.
   */
This method validates the loaded properties and loads default
values in case of wrong values.
This method validates the loaded properties and loads default values in case of wrong values .
private void validateAndLoadDefaultProperties() {
    validateBlockletSize();
    validateNumCores();
    validateNumCoresBlockSort();
    validateSortSize();
    validateCarbonDataFileVersion();
    validateDynamicSchedulerTimeOut();
    validatePrefetchBufferSize();
    validateBlockletGroupSizeInMB();
    validateNumberOfColumnPerIORead();
    validateEnableUnsafeSort();
    validateCustomBlockDistribution();
    validateEnableVectorReader();
    validateLockType();
    validateCarbonCSVReadBufferSizeByte();
    validateHandoffSize();
    validateCarbonTaskDistribution();
    validateTimeFormatKey(CARBON_TIMESTAMP_FORMAT,
        CarbonCommonConstants.CARBON_TIMESTAMP_DEFAULT_FORMAT);
    validateTimeFormatKey(CARBON_DATE_FORMAT,
        CarbonCommonConstants.CARBON_DATE_DEFAULT_FORMAT);
    validateSortFileWriteBufferSize();
    validateSortIntermediateFilesLimit();
    validateEnableAutoHandoff();
    validateSchedulerMinRegisteredRatio();
    validateSortMemorySizeInMB();
    validateWorkingMemory();
    validateSortStorageMemory();
  }
private void validateAndLoadDefaultProperties ( ) { validateBlockletSize ( ) ; validateNumCores ( ) ; validateNumCoresBlockSort ( ) ; validateSortSize ( ) ; validateCarbonDataFileVersion ( ) ; validateDynamicSchedulerTimeOut ( ) ; validatePrefetchBufferSize ( ) ; validateBlockletGroupSizeInMB ( ) ; validateNumberOfColumnPerIORead ( ) ; validateEnableUnsafeSort ( ) ; validateCustomBlockDistribution ( ) ; validateEnableVectorReader ( ) ; validateLockType ( ) ; validateCarbonCSVReadBufferSizeByte ( ) ; validateHandoffSize ( ) ; validateCarbonTaskDistribution ( ) ; validateTimeFormatKey ( CARBON_TIMESTAMP_FORMAT , CarbonCommonConstants . CARBON_TIMESTAMP_DEFAULT_FORMAT ) ; validateTimeFormatKey ( CARBON_DATE_FORMAT , CarbonCommonConstants . CARBON_DATE_DEFAULT_FORMAT ) ; validateSortFileWriteBufferSize ( ) ; validateSortIntermediateFilesLimit ( ) ; validateEnableAutoHandoff ( ) ; validateSchedulerMinRegisteredRatio ( ) ; validateSortMemorySizeInMB ( ) ; validateWorkingMemory ( ) ; validateSortStorageMemory ( ) ; }
This method validates the loaded properties and loads default
 values in case of wrong values.
This method validates the loaded properties and loads default values in case of wrong values .
// The method validate the validity of configured carbon.timestamp.format value // and reset to default value if validation fail // The method validate the validity of configured carbon.date.format value // and reset to default value if validation fail