export zkDir=/root/zookeeper/zookeeper-1/ JAVA_OPTS="$JAVA_OPTS -Djava.ext.dirs=$zkDir:$zkDir/lib" 查看事物日志 java $JAVA_OPTS org.apache.zookeeper.server.LogFormatter log.100000001 查看快照 java $JAVA_OPTS org.apache.zookeeper.server.SnapshotFormatter snapshot.0
时间: 2024-10-04 15:54:24