fix kylo-services start issue when profile is kylo-shell
@@ -22,14 +22,12 @@ package com.thinkbiganalytics.kylo.spark.config;
import com.google.common.collect.Lists;
import com.thinkbiganalytics.kylo.spark.exceptions.LivyConfigurationException;
-import com.thinkbiganalytics.kylo.spark.exceptions.LivyException;
import com.thinkbiganalytics.kylo.spark.model.enums.SessionKind;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.context.annotation.Configuration;
import org.springframework.core.env.AbstractEnvironment;
import org.springframework.core.env.EnumerablePropertySource;
import org.springframework.core.env.Environment;
@@ -45,7 +43,6 @@ import javax.annotation.PostConstruct;
/**
* Properties specific to configuring Livy
*/
-@Configuration
public class LivyProperties {
private static final Logger logger = LoggerFactory.getLogger(LivyProperties.class);
@@ -113,8 +110,7 @@ public class LivyProperties {
private int maxDelayCheckOnFail = 10000;
/**
- * Time, in milliseconds, to wait for start of Livy session, if exceeded, blocked threads release
- * and will produce an exception
+ * Time, in milliseconds, to wait for start of Livy session, if exceeded, blocked threads release and will produce an exception
*/
private Long waitForStart = 120000l;
