You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/04/25 14:56:00 UTC

[jira] [Work logged] (KNOX-2903) Add restart command to gateway.sh

     [ https://issues.apache.org/jira/browse/KNOX-2903?focusedWorklogId=858962&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-858962 ]

ASF GitHub Bot logged work on KNOX-2903:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 25/Apr/23 14:55
            Start Date: 25/Apr/23 14:55
    Worklog Time Spent: 10m 
      Work Description: zeroflag opened a new pull request, #751:
URL: https://github.com/apache/knox/pull/751

   ## What changes were proposed in this pull request?
   
   Adding restart command.
   
   ## How was this patch tested?
   
   Normal restart:
   
   ```
   bin/gateway.sh restart 
   
   $ bin/gateway.sh restart 
   Stopping Gateway with PID 54014 succeeded.
   Starting Gateway Retry attempts = 5
   succeeded with PID 54075.
   amagyar-MBP16:test attilamagyar$ 
   ```
   
   Extra params:
   
   ```
   $ bin/gateway.sh restart --printEnv --test-gateway-retry-attempts 3 --test-gateway-retry-sleep 2
   Stopping Gateway with PID 54075 succeeded.
   APP_CONF_DIR = /Users/attilamagyar/development/test/conf
   APP_LOG_DIR = /Users/attilamagyar/development/test/logs
   APP_DATA_DIR = /Users/attilamagyar/development/test/data
   APP_DBG_OPTS = -Xdebug -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=n
   APP_PID_DIR = /Users/attilamagyar/development/test/pids
   APP_JAVA_LIB_PATH = -Djava.library.path=/Users/attilamagyar/development/test/ext/native
   APP_JAR = /Users/attilamagyar/development/test/bin/gateway.jar
   Starting Gateway Retry attempts = 3
   Retry sleep = 2
   Retry attempts = 3
   Retry sleep = 2
   Retry attempts = 3
   Retry sleep = 2
   succeeded with PID 54136.
   amagyar-MBP16:test attilamagyar$ 
   ```




Issue Time Tracking
-------------------

            Worklog Id:     (was: 858962)
    Remaining Estimate: 0h
            Time Spent: 10m

> Add restart command to gateway.sh
> ---------------------------------
>
>                 Key: KNOX-2903
>                 URL: https://issues.apache.org/jira/browse/KNOX-2903
>             Project: Apache Knox
>          Issue Type: Task
>            Reporter: Attila Magyar
>            Assignee: Attila Magyar
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> It's annoying that there is no restart command for the gateway, only start/stop



--
This message was sent by Atlassian Jira
(v8.20.10#820010)