[
https://issues.apache.org/jira/browse/TRAFODION-2658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16072996#comment-16072996
]
ASF GitHub Bot commented on TRAFODION-2658:
-------------------------------------------
Github user mkby commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/1152#discussion_r125371611
--- Diff: core/sqf/sql/scripts/sqregen ---
@@ -41,8 +41,15 @@ function Usage {
function RegenConfig {
echo "Regenerating Trafodion configuration: $SQCONFIG_FILE"
+ cd $TRAF_HOME/sql/scripts
./regensq.pl $SQCONFIG_FILE
- exit $?;
+ if [ $? != 0 ]; then
+ echo "Failed to run regensq.pl."
+ exit $?
+ fi
+ echo "Copying Trafodion configuration file $SQCONFIG_FILE to all nodes"
+ pdcp `trafconf -wname` $SQCONFIG_FILE $TRAF_HOME/sql/scripts/
--- End diff --
I think pdcp itself will show the error message if fails
> pyinstaller - support elastic adding nodes
> ------------------------------------------
>
> Key: TRAFODION-2658
> URL: https://issues.apache.org/jira/browse/TRAFODION-2658
> Project: Apache Trafodion
> Issue Type: New Feature
> Components: installer
> Reporter: Eason Zhang
> Assignee: Eason Zhang
>
> support new elastic adding nodes feature (TRAFODION-2001) in pyinstaller side.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)