kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [kafka] branch trunk updated: KAFKA-6615; Add scripts for DumpLogSegments (#4653)
Date Tue, 06 Mar 2018 23:37:54 GMT
This is an automated email from the ASF dual-hosted git repository.

jgus pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 23c1c52  KAFKA-6615; Add scripts for DumpLogSegments (#4653)
23c1c52 is described below

commit 23c1c52c85eaca9d51046f5235721a3239c2a229
Author: Jason Gustafson <jason@confluent.io>
AuthorDate: Tue Mar 6 15:37:50 2018 -0800

    KAFKA-6615; Add scripts for DumpLogSegments (#4653)
    
    Reviewers: Ismael Juma <ismael@juma.me.uk>
---
 bin/kafka-dump-log.sh          | 17 +++++++++++++++++
 bin/windows/kafka-dump-log.bat | 17 +++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/bin/kafka-dump-log.sh b/bin/kafka-dump-log.sh
new file mode 100755
index 0000000..a97ea7d
--- /dev/null
+++ b/bin/kafka-dump-log.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+# 
+#    http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+exec $(dirname $0)/kafka-run-class.sh kafka.tools.DumpLogSegments "$@"
diff --git a/bin/windows/kafka-dump-log.bat b/bin/windows/kafka-dump-log.bat
new file mode 100644
index 0000000..3a1473d
--- /dev/null
+++ b/bin/windows/kafka-dump-log.bat
@@ -0,0 +1,17 @@
+@echo off
+rem Licensed to the Apache Software Foundation (ASF) under one or more
+rem contributor license agreements.  See the NOTICE file distributed with
+rem this work for additional information regarding copyright ownership.
+rem The ASF licenses this file to You under the Apache License, Version 2.0
+rem (the "License"); you may not use this file except in compliance with
+rem the License.  You may obtain a copy of the License at
+rem
+rem     http://www.apache.org/licenses/LICENSE-2.0
+rem
+rem Unless required by applicable law or agreed to in writing, software
+rem distributed under the License is distributed on an "AS IS" BASIS,
+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+rem See the License for the specific language governing permissions and
+rem limitations under the License.
+
+"%~dp0kafka-run-class.bat" kafka.tools.DumpLogSegments %*

-- 
To stop receiving notification emails like this one, please contact
jgus@apache.org.

Mime
View raw message