Skip to content

Commit

Permalink
codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinw66 committed Dec 7, 2024
1 parent 8ab2c66 commit d784f2a
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import org.apache.bigtop.manager.common.shell.ShellResult;
import org.apache.bigtop.manager.common.utils.JsonUtils;
import org.apache.bigtop.manager.grpc.generated.CommandType;
import org.apache.bigtop.manager.stack.bigtop.v3_3_0.flink.FlinkParams;
import org.apache.bigtop.manager.stack.core.executor.StackExecutor;

import org.springframework.beans.factory.config.ConfigurableBeanFactory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@
*/
package org.apache.bigtop.manager.stack.bigtop.param;

import lombok.NoArgsConstructor;
import org.apache.bigtop.manager.common.message.entity.payload.CommandPayload;
import org.apache.bigtop.manager.stack.core.spi.param.BaseParams;

import lombok.NoArgsConstructor;

@NoArgsConstructor
public abstract class BigtopParams extends BaseParams {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/
package org.apache.bigtop.manager.stack.bigtop.v3_3_0.flink;

import lombok.NoArgsConstructor;
import org.apache.bigtop.manager.common.message.entity.payload.CommandPayload;
import org.apache.bigtop.manager.common.utils.Environments;
import org.apache.bigtop.manager.stack.bigtop.param.BigtopParams;
Expand All @@ -28,6 +27,7 @@

import com.google.auto.service.AutoService;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import java.text.MessageFormat;
Expand Down Expand Up @@ -98,7 +98,8 @@ public Map<String, Object> flinkLog4jProperties() {

@GlobalParams
public Map<String, Object> flinkLog4jCLiProperties() {
Map<String, Object> configurations = LocalSettings.configurations(getServiceName(), "flink-log4j-cli-properties");
Map<String, Object> configurations =
LocalSettings.configurations(getServiceName(), "flink-log4j-cli-properties");
flinkLog4jCLiPropertiesContent = (String) configurations.get("content");
return configurations;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/
package org.apache.bigtop.manager.stack.bigtop.v3_3_0.hadoop;

import lombok.NoArgsConstructor;
import org.apache.bigtop.manager.common.message.entity.payload.CommandPayload;
import org.apache.bigtop.manager.common.utils.Environments;
import org.apache.bigtop.manager.stack.bigtop.param.BigtopParams;
Expand All @@ -30,6 +29,7 @@

import com.google.auto.service.AutoService;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import java.text.MessageFormat;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

import org.apache.bigtop.manager.common.constants.Constants;
import org.apache.bigtop.manager.common.shell.ShellResult;
import org.apache.bigtop.manager.stack.bigtop.utils.HdfsUtil;
import org.apache.bigtop.manager.stack.core.enums.ConfigType;
import org.apache.bigtop.manager.stack.core.exception.StackException;
import org.apache.bigtop.manager.stack.core.spi.param.Params;
Expand Down Expand Up @@ -207,13 +206,13 @@ public static ShellResult configure(Params params, String componentName) {
hadoopParams.mapredSite(),
hadoopParams.getGlobalParamsMap());

// HdfsUtil.createDirectory(hadoopUser, "/apps");
// HdfsUtil.createDirectory(hadoopUser, "/app-logs");
// HdfsUtil.createDirectory(hadoopUser, "/apps/mapred");
// HdfsUtil.createDirectory(hadoopUser, "/apps/mapred/staging");
// HdfsUtil.createDirectory(hadoopUser, "/apps/mapred/history");
// HdfsUtil.createDirectory(hadoopUser, "/apps/mapred/history/tmp");
// HdfsUtil.createDirectory(hadoopUser, "/apps/mapred/history/done");
// HdfsUtil.createDirectory(hadoopUser, "/apps");
// HdfsUtil.createDirectory(hadoopUser, "/app-logs");
// HdfsUtil.createDirectory(hadoopUser, "/apps/mapred");
// HdfsUtil.createDirectory(hadoopUser, "/apps/mapred/staging");
// HdfsUtil.createDirectory(hadoopUser, "/apps/mapred/history");
// HdfsUtil.createDirectory(hadoopUser, "/apps/mapred/history/tmp");
// HdfsUtil.createDirectory(hadoopUser, "/apps/mapred/history/done");

log.info("Successfully configured Hadoop");
return ShellResult.success();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/
package org.apache.bigtop.manager.stack.bigtop.v3_3_0.kafka;

import lombok.NoArgsConstructor;
import org.apache.bigtop.manager.common.message.entity.payload.CommandPayload;
import org.apache.bigtop.manager.common.utils.Environments;
import org.apache.bigtop.manager.stack.bigtop.param.BigtopParams;
Expand All @@ -28,6 +27,7 @@

import com.google.auto.service.AutoService;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.util.Map;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/
package org.apache.bigtop.manager.stack.bigtop.v3_3_0.solr;

import lombok.NoArgsConstructor;
import org.apache.bigtop.manager.common.message.entity.payload.CommandPayload;
import org.apache.bigtop.manager.common.utils.Environments;
import org.apache.bigtop.manager.stack.bigtop.param.BigtopParams;
Expand All @@ -28,6 +27,7 @@

import com.google.auto.service.AutoService;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import java.text.MessageFormat;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/
package org.apache.bigtop.manager.stack.bigtop.v3_3_0.tez;

import lombok.NoArgsConstructor;
import org.apache.bigtop.manager.common.message.entity.payload.CommandPayload;
import org.apache.bigtop.manager.common.utils.Environments;
import org.apache.bigtop.manager.stack.bigtop.param.BigtopParams;
Expand All @@ -30,6 +29,7 @@

import com.google.auto.service.AutoService;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import java.text.MessageFormat;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/
package org.apache.bigtop.manager.stack.bigtop.v3_3_0.zookeeper;

import lombok.NoArgsConstructor;
import org.apache.bigtop.manager.common.message.entity.payload.CommandPayload;
import org.apache.bigtop.manager.common.utils.Environments;
import org.apache.bigtop.manager.stack.bigtop.param.BigtopParams;
Expand All @@ -28,6 +27,7 @@

import com.google.auto.service.AutoService;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.util.Map;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/
package org.apache.bigtop.manager.stack.core.spi.param;

import lombok.NoArgsConstructor;
import org.apache.bigtop.manager.common.enums.Command;
import org.apache.bigtop.manager.common.message.entity.payload.CommandPayload;
import org.apache.bigtop.manager.common.message.entity.pojo.PackageInfo;
Expand All @@ -31,6 +30,7 @@
import org.apache.bigtop.manager.stack.core.utils.LocalSettings;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import java.lang.reflect.Method;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
*/
package org.apache.bigtop.manager.stack.infra.param;

import lombok.NoArgsConstructor;
import org.apache.bigtop.manager.common.message.entity.payload.CommandPayload;
import org.apache.bigtop.manager.stack.core.spi.param.BaseParams;

import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

@Slf4j
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
*/
package org.apache.bigtop.manager.stack.infra.v1_0_0.prometheus;

import lombok.NoArgsConstructor;
import org.apache.bigtop.manager.common.message.entity.payload.CommandPayload;
import org.apache.bigtop.manager.stack.core.spi.param.Params;
import org.apache.bigtop.manager.stack.infra.param.InfraParams;

import com.google.auto.service.AutoService;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import java.text.MessageFormat;
Expand Down

0 comments on commit d784f2a

Please sign in to comment.