JNSimba commented on code in PR #575:
URL: 
https://github.com/apache/doris-flink-connector/pull/575#discussion_r1998553697


##########
flink-doris-connector/src/test/java/org/apache/doris/flink/container/instance/DorisContainer.java:
##########
@@ -58,39 +67,57 @@ public class DorisContainer implements ContainerService {
     private static final String JDBC_URL = "jdbc:mysql://%s:9030";
     private static final String USERNAME = "root";
     private static final String PASSWORD = "";
-    private final GenericContainer dorisContainer;
+    private final GenericContainer<?> dorisContainer;
+    private final String systemTimeZone = ZoneId.systemDefault().getId();
 
     public DorisContainer() {
         dorisContainer = createDorisContainer();
     }
 
-    public GenericContainer createDorisContainer() {
+    public GenericContainer<?> createDorisContainer() {
         LOG.info("Will create doris containers.");
-        GenericContainer container =
+        GenericContainer<?> container =
                 new GenericContainer<>(DORIS_DOCKER_IMAGE)
                         .withNetwork(Network.newNetwork())
                         .withNetworkAliases("DorisContainer")
                         .withPrivilegedMode(true)
                         .withLogConsumer(
                                 new Slf4jLogConsumer(
                                         
DockerLoggerFactory.getLogger(DORIS_DOCKER_IMAGE)))
+                        .withCommand(
+                                "sh",
+                                "-c",
+                                "chmod -R 644 /root/be/conf/be.conf 
/root/fe/conf/fe.conf && chmod -R 755 /root/be/conf /root/fe/conf && chown -R 
root:root /root/be/conf /root/fe/conf")

Review Comment:
   What does this action mainly do?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to