Eason Zhang created TRAFODION-2313:
--------------------------------------
Summary: 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
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)