This is an automated email from the ASF dual-hosted git repository.

lesun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-gobblin.git


The following commit(s) were added to refs/heads/master by this push:
     new 493c3c1  [GOBBLIN-1350] Removes git ignore for adding/modifying scripts
493c3c1 is described below

commit 493c3c16f2aa62ee939ddaa29efeb6fe649a9b95
Author: William Lo <[email protected]>
AuthorDate: Wed Jan 13 10:22:43 2021 -0800

    [GOBBLIN-1350] Removes git ignore for adding/modifying scripts
    
    Closes #3199 from Will-
    Lo/add_script_to_invoke_statestore_cli
---
 .gitignore                |  5 ++---
 bin/gobblin.sh            |  2 +-
 bin/statestore-manager.sh | 21 +++++++++++++++++++++
 3 files changed, 24 insertions(+), 4 deletions(-)

diff --git a/.gitignore b/.gitignore
index ac60457..afa05f6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,7 +12,7 @@
 .shelf/
 .ideaDataSources/
 
-# VS Code related 
+# VS Code related
 .vscode
 
 **/.classpath
@@ -22,8 +22,7 @@
 **/*.swp
 **/*.swo
 **/*.log
-*/bin
-**/bin
+
 **/build/
 .gradle
 **/.gradle
diff --git a/bin/gobblin.sh b/bin/gobblin.sh
index 83af03e..c1a92d4 100755
--- a/bin/gobblin.sh
+++ b/bin/gobblin.sh
@@ -99,7 +99,7 @@ function print_gobblin_cli_usage() {
                 config                      Query the config library
                 jobs                        Command line job info and 
operations
                 stateMigration              Command line tools for migrating 
state store
-                job-state-to-json           To convert Job state to JSON
+                job-state-store             View and delete job states
                 cleaner                     Data retention utility
                 keystore                    Examine JCE Keystore files
                 watermarks                  Inspect streaming watermarks
diff --git a/bin/statestore-manager.sh b/bin/statestore-manager.sh
new file mode 100755
index 0000000..9e1e006
--- /dev/null
+++ b/bin/statestore-manager.sh
@@ -0,0 +1,21 @@
+#!/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.
+#
+
+CURRENT_DIR="$(cd `dirname $0`/..; pwd)"
+$CURRENT_DIR/bin/gobblin cli job-state-store $@
\ No newline at end of file

Reply via email to