Skip to content

Commit d1415ef

Browse files
authored
Improve code block formatting and use enterprise jar in raft-log-file-exporter (#1965)
Use enterprise jar. Updated code blocks in raft-log-file-exporter.adoc to include subs=attributes for better syntax highlighting.
1 parent d50483b commit d1415ef

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/modules/cp-subsystem/pages/raft-log-file-exporter.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ The tool is included in `hazelcast-enterprise.jar`. Note that you must configure
2626

2727
Run the RaftLogFileExporter tool, specifying the following parameters:
2828

29-
[source,bash]
29+
[source,bash,subs="attributes+"]
3030
----
31-
java -Xms2g -Xmx4g -cp hazelcast-{full-version}.jar com.hazelcast.cp.RaftLogFileExporter \ <1>
31+
java -Xms2g -Xmx4g -cp hazelcast-enterprise-{full-version}.jar com.hazelcast.cp.RaftLogFileExporter \ <1>
3232
--source=/path/to/raft/logs \ <2>
3333
--output=migrated_output \ <3>
3434
--max-uncommitted-entries=10000 <4>
@@ -69,9 +69,9 @@ java -Xms2g -Xmx4g -cp hazelcast-{full-version}.jar com.hazelcast.cp.RaftLogFile
6969

7070
You can also view these parameters using the help command:
7171

72-
[source,bash]
72+
[source,bash,subs="attributes+"]
7373
----
74-
java -cp hazelcast-{full-version}.jar com.hazelcast.cp.RaftLogFileExporter --help
74+
java -cp hazelcast-enterprise-{full-version}.jar com.hazelcast.cp.RaftLogFileExporter --help
7575
----
7676

7777
== Example
@@ -96,9 +96,9 @@ The following example migrates Raft logs from a Hazelcast V5.6 cluster to V5.5 f
9696

9797
. Run the tool:
9898
+
99-
[source,bash]
99+
[source,bash,subs="attributes+"]
100100
----
101-
java -Xms2g -Xmx4g -cp hazelcast-{full-version}.jar com.hazelcast.cp.RaftLogFileExporter \
101+
java -Xms2g -Xmx4g -cp hazelcast-enterprise-{full-version}.jar com.hazelcast.cp.RaftLogFileExporter \
102102
--source=/data/hazelcast/cp-data \
103103
--output=migrated_v55 \
104104
--max-uncommitted-entries=10000
@@ -141,9 +141,9 @@ java -Xms2g -Xmx4g -cp hazelcast-{full-version}.jar com.hazelcast.cp.RaftLogFile
141141

142142
If you encounter an out of memory error, try increasing the Java heap size. The following example uses `-Xmx8g` to set the maximum heap size to 8GB:
143143

144-
[source,bash]
144+
[source,bash,subs="attributes+"]
145145
----
146-
java -Xms2g -Xmx8g -cp hazelcast-{full-version}.jar com.hazelcast.cp.RaftLogFileExporter \
146+
java -Xms2g -Xmx8g -cp hazelcast-enterprise-{full-version}.jar com.hazelcast.cp.RaftLogFileExporter \
147147
--source=/path/to/raft/logs \
148148
--output=migrated_output \
149149
--max-uncommitted-entries=10000

0 commit comments

Comments
 (0)