Adamyuanyuan commented on a change in pull request #1127:
URL: https://github.com/apache/incubator-linkis/pull/1127#discussion_r761662963



##########
File path: sbin/ext/linkis-ps-metadatamanager-kafka
##########
@@ -0,0 +1,73 @@
+#!/bin/bash
+#
+# description:  metadata-kafka start cmd
+# @created:     06.07.2021
+#
+# Modified for Linkis 1.0.0
+
+# get log directory
+
+source $LINKIS_CONF_DIR/linkis-env.sh
+SERVER_SUFFIX="linkis-public-enhancements/linkis-ps-metadatamanager-kafka"
+## set log
+if [ "$LINKIS_LOG_DIR" = "" ]; then
+  export LINKIS_LOG_DIR="$LINKIS_HOME/logs"
+fi
+export SERVER_LOG_PATH=$LINKIS_LOG_DIR/$SERVER_SUFFIX
+if [ ! -w "$SERVER_LOG_PATH" ] ; then
+  mkdir -p "$SERVER_LOG_PATH"
+fi
+
+if test -z "$SERVER_HEAP_SIZE"
+then
+  export SERVER_HEAP_SIZE="512M"
+fi
+
+if test -z "$SERVER_JAVA_OPTS"
+then
+  export SERVER_JAVA_OPTS=" -Xmx$SERVER_HEAP_SIZE -XX:+UseG1GC 
-Xloggc:$SERVER_LOG_PATH/linkis-gc.log"
+fi
+
+
+export 
SERVER_CLASS=com.webank.wedatasphere.linkis.metadatamanager.LinkisMetadataManagerKafkaApplication

Review comment:
       thanks, I will fix it

##########
File path: sbin/ext/linkis-ps-metadatamanager-mysql
##########
@@ -0,0 +1,73 @@
+#!/bin/bash
+#
+# description:  metadata-mysql start cmd
+# @created:     06.07.2021
+#
+# Modified for Linkis 1.0.0
+
+# get log directory
+
+source $LINKIS_CONF_DIR/linkis-env.sh
+SERVER_SUFFIX="linkis-public-enhancements/linkis-ps-metadatamanager-mysql"
+## set log
+if [ "$LINKIS_LOG_DIR" = "" ]; then
+  export LINKIS_LOG_DIR="$LINKIS_HOME/logs"
+fi
+export SERVER_LOG_PATH=$LINKIS_LOG_DIR/$SERVER_SUFFIX
+if [ ! -w "$SERVER_LOG_PATH" ] ; then
+  mkdir -p "$SERVER_LOG_PATH"
+fi
+
+if test -z "$SERVER_HEAP_SIZE"
+then
+  export SERVER_HEAP_SIZE="512M"
+fi
+
+if test -z "$SERVER_JAVA_OPTS"
+then
+  export SERVER_JAVA_OPTS=" -Xmx$SERVER_HEAP_SIZE -XX:+UseG1GC 
-Xloggc:$SERVER_LOG_PATH/linkis-gc.log"
+fi
+
+
+export 
SERVER_CLASS=com.webank.wedatasphere.linkis.metadatamanager.LinkisMetadataManagerMysqlApplication

Review comment:
       thanks, I will fix it




-- 
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