Skip to content

Commit 8920601

Browse files
luoyuxialeonardBang
authored andcommitted
[lake] Remove fluss-lakehouse-cli module
1 parent 8d93f56 commit 8920601

File tree

18 files changed

+0
-1146
lines changed

18 files changed

+0
-1146
lines changed

.github/workflows/stage.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ fluss-flink/fluss-flink-1.20,\
2525
fluss-flink/fluss-flink-1.19,\
2626
fluss-flink/fluss-flink-1.18,\
2727
fluss-lakehouse,\
28-
fluss-lakehouse/fluss-lakehouse-cli,\
2928
fluss-lakehouse/fluss-lakehouse-paimon,\
3029
fluss-lake,\
3130
fluss-lake/fluss-lake-paimon

fluss-dist/pom.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,6 @@
8989
<scope>provided</scope>
9090
</dependency>
9191

92-
<dependency>
93-
<groupId>com.alibaba.fluss</groupId>
94-
<artifactId>fluss-lakehouse-cli</artifactId>
95-
<version>${project.version}</version>
96-
<scope>provided</scope>
97-
</dependency>
98-
9992
<dependency>
10093
<groupId>com.alibaba.fluss</groupId>
10194
<artifactId>fluss-lake-paimon</artifactId>

fluss-dist/src/main/assemblies/opt.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,5 @@
3333
<destName>fluss-lakehouse-paimon-${project.version}.jar</destName>
3434
<fileMode>0644</fileMode>
3535
</file>
36-
37-
<!-- lakehouse-cli jars -->
38-
<file>
39-
<source>../fluss-lakehouse/fluss-lakehouse-cli/target/fluss-lakehouse-cli-${project.version}.jar</source>
40-
<outputDirectory>opt</outputDirectory>
41-
<destName>fluss-lakehouse-cli-${project.version}.jar</destName>
42-
<fileMode>0644</fileMode>
43-
</file>
4436
</files>
4537
</assembly>

fluss-dist/src/main/resources/bin/config.sh

Lines changed: 0 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -46,32 +46,6 @@ constructFlussClassPath() {
4646
echo "$FLUSS_CLASSPATH""$FLUSS_SERVER"
4747
}
4848

49-
constructPluginJars() {
50-
plugin="$1"
51-
local PLUGIN_JARS=()
52-
while read -d '' -r jarfile ; do
53-
if [[ "$jarfile" =~ .*/$plugin/[^/]*.jar$ ]]; then
54-
PLUGIN_JARS+=("file://$jarfile")
55-
fi
56-
done < <(find "$FLUSS_PLUGINS_DIR" ! -type d -name '*.jar' -print0 | sort -z)
57-
58-
if [ ${#PLUGIN_JARS[@]} -gt 0 ]; then
59-
IFS=';'
60-
echo "${PLUGIN_JARS[*]}"
61-
fi
62-
}
63-
64-
constructLogClassClassPath() {
65-
local LOG_CLASSPATH
66-
while read -d '' -r jarfile ; do
67-
if [[ "$jarfile" =~ .*/log4j[^/]*.jar$ ]]; then
68-
LOG_CLASSPATH="$LOG_CLASSPATH":"$jarfile"
69-
fi
70-
done < <(find "$FLUSS_LIB_DIR" ! -type d -name '*.jar' -print0 | sort -z)
71-
72-
echo "$LOG_CLASSPATH"
73-
}
74-
7549
# These are used to mangle paths that are passed to java when using
7650
# cygwin. Cygwin paths are like linux paths, i.e. /path/to/somewhere
7751
# but the windows java version expects them in Windows Format, i.e. C:\bla\blub.
@@ -126,46 +100,6 @@ is_jdk_version_ge_17() {
126100
fi
127101
}
128102

129-
findLakehouseCliJar() {
130-
local DATA_LAKEHOUSE_CLI
131-
DATA_LAKEHOUSE_CLI="$(find "$FLUSS_OPT_DIR" -name 'fluss-lakehouse-cli-*.jar')"
132-
local DATA_LAKEHOUSE_CLI_COUNT
133-
DATA_LAKEHOUSE_CLI_COUNT="$(echo "$DATA_LAKEHOUSE_CLI" | wc -l)"
134-
135-
# lakehouse-cli-*.jar cannot be resolved write error messages to stderr since stdout is stored
136-
# as the classpath and exit function with empty classpath to force process failure
137-
if [[ "$DATA_LAKEHOUSE_CLI" == "" ]]; then
138-
(>&2 echo "[ERROR] Lakehouse cli jar not found in $FLUSS_OPT_DIR.")
139-
exit 1
140-
elif [[ "$DATA_LAKEHOUSE_CLI_COUNT" -gt 1 ]]; then
141-
(>&2 echo "[ERROR] Multiple lakehouse-cli-*.jar found in $FLUSS_OPT_DIR. Please resolve.")
142-
exit 1
143-
fi
144-
145-
echo "$DATA_LAKEHOUSE_CLI"
146-
}
147-
148-
findLakehousePaimonJar() {
149-
local LAKEHOUSE_PAIMON
150-
LAKEHOUSE_PAIMON="$(find "$FLUSS_OPT_DIR" -name 'fluss-lakehouse-paimon-*.jar')"
151-
local LAKEHOUSE_PAIMON_COUNT
152-
LAKEHOUSE_PAIMON_COUNT="$(echo "$LAKEHOUSE_PAIMON" | wc -l)"
153-
154-
# lakehouse-paimon-*.jar cannot be resolved write error messages to stderr since stdout is stored
155-
# as the classpath and exit function with empty classpath to force process failure
156-
if [[ "$LAKEHOUSE_PAIMON" == "" ]]; then
157-
(>&2 echo "[ERROR] lakehouse-paimon-*.jar not found in $FLUSS_OPT_DIR.")
158-
exit 1
159-
elif [[ "$LAKEHOUSE_PAIMON_COUNT" -gt 1 ]]; then
160-
(>&2 echo "[ERROR] Multiple lakehouse-paimon-*.jar found in $FLUSS_OPT_DIR. Please resolve.")
161-
exit 1
162-
fi
163-
164-
echo "$LAKEHOUSE_PAIMON"
165-
}
166-
167-
168-
169103

170104
# WARNING !!! , these values are only used if there is nothing else is specified in
171105
# conf/server.yaml

fluss-dist/src/main/resources/bin/lakehouse.sh

Lines changed: 0 additions & 71 deletions
This file was deleted.

fluss-dist/src/main/resources/server.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
# limitations under the License.
1515
################################################################################
1616

17-
# These parameters are required to run ./bin/lakehouse.sh for Java 17 support.
18-
# They can be safely removed when using Java 8/11.
19-
env.java.opts.all: --add-opens=java.base/java.util=ALL-UNNAMED
20-
2117
#==============================================================================
2218
# Zookeeper
2319
#==============================================================================

fluss-lakehouse/fluss-lakehouse-cli/pom.xml

Lines changed: 0 additions & 117 deletions
This file was deleted.

fluss-lakehouse/fluss-lakehouse-cli/src/main/java/com/alibaba/fluss/lakehouse/cli/ConfigurationParserUtils.java

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)