[
https://issues.apache.org/jira/browse/TRAFODION-2313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15608764#comment-15608764
]
ASF GitHub Bot commented on TRAFODION-2313:
-------------------------------------------
GitHub user mkby opened a pull request:
https://github.com/apache/incubator-trafodion/pull/786
[TRAFODION-2313] dcscheck doesn't return in REST
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mkby/incubator-trafodion master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafodion/pull/786.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #786
----
commit b3d9afa7690ccd712dedb4f8978e6ac77cff3ce4
Author: Eason <[email protected]>
Date: 2016-10-26T15:22:03Z
[TRAFODION-2313] dcscheck doesn't return in REST
----
> 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)