You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2018/03/12 23:33:00 UTC

[jira] [Closed] (UIMA-5744) UIMA-DUCC: Agent truncates user names when collecting node processes

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

Jerry Cwiklik closed UIMA-5744.
-------------------------------
    Resolution: Fixed

Support user names up to 32 chars long when collecting node processes using OS 'ps ...' command

> UIMA-DUCC: Agent truncates user names when collecting node processes
> --------------------------------------------------------------------
>
>                 Key: UIMA-5744
>                 URL: https://issues.apache.org/jira/browse/UIMA-5744
>             Project: UIMA
>          Issue Type: Bug
>          Components: DUCC
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>            Priority: Major
>             Fix For: 2.2.2-Ducc
>
>
> When collecting user processes running on a node, an agent uses a command similar to this:
> ProcessBuilder pb = new ProcessBuilder("ps", "-Ao",
>  "user,pid,ppid,args,stat", "--no-heading");
> When the above is run, linux truncates the user name to 10 characters. This effects code in the following classes:
> CGroupsManager.java, NodeMemInfoCollector.java, NodeUsersCollector.java
> Modify the command to use: user:32.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)