You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Kirk Lund (JIRA)" <ji...@apache.org> on 2017/02/16 18:14:41 UTC

[jira] [Resolved] (GEODE-2474) netstat command fails to correctly identify OS and --with-lsof fails on Mac

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

Kirk Lund resolved GEODE-2474.
------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0

> netstat command fails to correctly identify OS and --with-lsof fails on Mac
> ---------------------------------------------------------------------------
>
>                 Key: GEODE-2474
>                 URL: https://issues.apache.org/jira/browse/GEODE-2474
>             Project: Geode
>          Issue Type: Bug
>          Components: gfsh, management
>    Affects Versions: 1.0.0-incubating, 1.1.0
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>              Labels: MiscellaneousCommands, NetstatCommand, gfsh, netstat
>             Fix For: 1.2.0
>
>
> The netstat gfsh command uses NetstatFunction which has its own faulty logic for identifying the operating system. This logic identifies Mac as Windows and fails to process --with-lsof.
> NetstatFunction should instead use org.apache.geode.internal.lang.SystemUtils which correctly identifies the operating system.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)