public DiskBasedDMSchemaStorageProvider(String storePath) { this.storePath = CarbonUtil.checkAndAppendHDFSUrl(storePath); this.mdtFilePath = storePath + CarbonCommonConstants.FILE_SEPARATOR + "datamap.mdtfile"; }
/** * is valid store path * @param badRecordsLocation * @return */ public static boolean isValidBadStorePath(String badRecordsLocation) { if (StringUtils.isEmpty(badRecordsLocation)) { return false; } else { return isFileExists(checkAndAppendHDFSUrl(badRecordsLocation)); } }
LoggerAction.REDIRECT.name().equalsIgnoreCase(bad_records_action)) { if (!StringUtils.isEmpty(bad_record_path)) { bad_record_path = CarbonUtil.checkAndAppendHDFSUrl(bad_record_path); } else { throw new InvalidLoadOptionException(