Skip to content

Commit

Permalink
Merge edbee61 into 5c0da31
Browse files Browse the repository at this point in the history
  • Loading branch information
akashrn5 committed Sep 27, 2018
2 parents 5c0da31 + edbee61 commit 9e7f1f7
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -71,7 +71,8 @@ public static ICarbonLock getCarbonLockObj(AbsoluteTableIdentifier absoluteTable
lockTypeConfigured = CarbonCommonConstants.CARBON_LOCK_TYPE_S3;
return new S3FileLock(absoluteLockPath,
lockFile);
} else if (absoluteLockPath.startsWith(CarbonCommonConstants.HDFSURL_PREFIX)) {
} else if (absoluteLockPath.startsWith(CarbonCommonConstants.HDFSURL_PREFIX) || absoluteLockPath
.startsWith(CarbonCommonConstants.VIEWFSURL_PREFIX)) {
lockTypeConfigured = CarbonCommonConstants.CARBON_LOCK_TYPE_HDFS;
return new HdfsFileLock(absoluteLockPath, lockFile);
} else {
Expand Down

0 comments on commit 9e7f1f7

Please sign in to comment.