You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Kevin Risden (Jira)" <ji...@apache.org> on 2019/08/22 12:31:00 UTC

[jira] [Resolved] (KNOX-1957) gateway.sh doesn't handle KNOX_GATEWAY_DBG_OPTS env var correctly

     [ https://issues.apache.org/jira/browse/KNOX-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Risden resolved KNOX-1957.
--------------------------------
    Resolution: Fixed

Thanks [~smolnar]!

> gateway.sh doesn't handle KNOX_GATEWAY_DBG_OPTS env var correctly
> -----------------------------------------------------------------
>
>                 Key: KNOX-1957
>                 URL: https://issues.apache.org/jira/browse/KNOX-1957
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.4.0
>            Reporter: Phil Zampino
>            Assignee: Sandor Molnar
>            Priority: Major
>             Fix For: 1.4.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> It seems KNOX-1816 caused a regression wrt the way options are handled in the scripts (e.g., gateway.sh).
> Specifically, if the KNOX_GATEWAY_DBG_OPTS env var is set, even though the value is included in the resulting command, the JVM does not listen on the configured port.
> The issue appears to be the double-quoting of $APP_JAVA_OPTS in knox-functions.sh, specifically in the appStart function (for this particular error).
> This shellcheck doc may be helpful in resolving this issue: [https://github.com/koalaman/shellcheck/wiki/SC2086]
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)