Browse Source

tenant service update

pull/2/head
qiaozhanwei 5 years ago
parent
commit
729963fc63
  1. 4
      escheduler-api/src/main/java/cn/escheduler/api/service/TenantService.java

4
escheduler-api/src/main/java/cn/escheduler/api/service/TenantService.java

@ -235,8 +235,8 @@ public class TenantService extends BaseService{
return result; return result;
} }
// if hdfs startup // if resource upload startup
if (PropertyUtils.getBoolean(cn.escheduler.common.Constants.HDFS_STARTUP_STATE)){ if (PropertyUtils.getResUploadStartupState()){
String tenantPath = HadoopUtils.getHdfsDataBasePath() + "/" + tenant.getTenantCode(); String tenantPath = HadoopUtils.getHdfsDataBasePath() + "/" + tenant.getTenantCode();
String resourcePath = HadoopUtils.getHdfsDir(tenant.getTenantCode()); String resourcePath = HadoopUtils.getHdfsDir(tenant.getTenantCode());

Loading…
Cancel
Save