You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Eason Zhang (JIRA)" <ji...@apache.org> on 2016/10/26 15:12:58 UTC

[jira] [Updated] (TRAFODION-2313) dcscheck doesn't return while invoking by REST call 'dcs/summary'

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

Eason Zhang updated TRAFODION-2313:
-----------------------------------
    Component/s: dcs

> dcscheck doesn't return while invoking by REST call 'dcs/summary'
> -----------------------------------------------------------------
>
>                 Key: TRAFODION-2313
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2313
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: dcs
>            Reporter: Eason Zhang
>            Assignee: Eason Zhang
>
> When a REST 'get' request 'dcs/summary' is invoked, it will call 'dcscheck' to get the dcs master info, but in some specific cases, the 'dcscheck' command will never return a value, so REST server hangs, it cannot receive any other REST requests any more.
> The reason why 'dcscheck' doesn't return is that it calls the zookeeper CLI using pipe like this:
> echo “ls $dcsznode” | $DCS_INSTALL_DIR/bin/dcs zkcli > $dcstmp
> Modify it to not using pipe can solve this issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)