Compare commits
2 Commits
c83898e34c
...
sonali
| Author | SHA1 | Date | |
|---|---|---|---|
|
18876f2780
|
|||
|
b41b1071e6
|
+1
-1
@@ -25,6 +25,6 @@ WORKDIR /app
|
|||||||
# Switch user
|
# Switch user
|
||||||
USER skycrateBack
|
USER skycrateBack
|
||||||
|
|
||||||
# EXPOSE 8080
|
EXPOSE 8081
|
||||||
|
|
||||||
CMD ["java", "-jar", "/app/skycrateBackend-0.0.1-SNAPSHOT.jar"]
|
CMD ["java", "-jar", "/app/skycrateBackend-0.0.1-SNAPSHOT.jar"]
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ import java.security.PrivilegedExceptionAction;
|
|||||||
public class HDFSConfig {
|
public class HDFSConfig {
|
||||||
public static FileSystem getHDFS() throws Exception {
|
public static FileSystem getHDFS() throws Exception {
|
||||||
Configuration conf = new Configuration();
|
Configuration conf = new Configuration();
|
||||||
conf.set("fs.defaultFS", "hdfs://192.168.29.56:9000");
|
conf.set("fs.defaultFS", "hdfs://namenode:9000");
|
||||||
return FileSystem.get(new URI("hdfs://192.168.29.56:9000"), conf);
|
return FileSystem.get(new URI("hdfs://namenode:9000"), conf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ spring.jpa.properties.hibernate.format_sql=true
|
|||||||
spring.jpa.open-in-view=false
|
spring.jpa.open-in-view=false
|
||||||
logging.level.org.springframework.security.config.annotation.authentication.configuration.InitializeUserDetailsBeanManagerConfigurer=ERROR
|
logging.level.org.springframework.security.config.annotation.authentication.configuration.InitializeUserDetailsBeanManagerConfigurer=ERROR
|
||||||
|
|
||||||
server.port=8080
|
server.port=8081
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user