2 Commits

3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -25,6 +25,6 @@ WORKDIR /app
# Switch user
USER skycrateBack
# EXPOSE 8080
EXPOSE 8081
CMD ["java", "-jar", "/app/skycrateBackend-0.0.1-SNAPSHOT.jar"]
@@ -12,8 +12,8 @@ import java.security.PrivilegedExceptionAction;
public class HDFSConfig {
public static FileSystem getHDFS() throws Exception {
Configuration conf = new Configuration();
conf.set("fs.defaultFS", "hdfs://192.168.29.56:9000");
return FileSystem.get(new URI("hdfs://192.168.29.56:9000"), conf);
conf.set("fs.defaultFS", "hdfs://namenode:9000");
return FileSystem.get(new URI("hdfs://namenode:9000"), conf);
}
+1 -1
View File
@@ -19,7 +19,7 @@ spring.jpa.properties.hibernate.format_sql=true
spring.jpa.open-in-view=false
logging.level.org.springframework.security.config.annotation.authentication.configuration.InitializeUserDetailsBeanManagerConfigurer=ERROR
server.port=8080
server.port=8081