HPCC-8395 Avoid MP issue, caused by new lookupjoin

Lookup join, has a couple of threads, both potentially sending
to the same destination on the same tag at the same time.
If these MP packets are deemed multi-packet by MP (which invariably
they will be), then the MP receiver gets confused and fires
MP protocol errors.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #3755 from jakesmith/lookupjoin-mp-protocol

HPCC-8395 Avoid MP issue, caused by new lookupjoin

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Community Edition 3.10.0 Release Candidate 6

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #3752 from GordonSmith/HPCC-8393

HPCC-8393 Client Tools Installs to wrong folder on Linux.

Reviewed-By: Philip Schwartz <philip.schwartz@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8412 XREF memory configuration regression

A regression introduced in HPCC-7904, caused the default memory
configuration for XREF to become 0MB.

There was also a mismatch between the xsd/xsl and the envionment
variable name for the xrefMaxMemory. The default environment had
"xrefMaxMemory", but the xsl was expecting "memoryLimit".
Have changed to be consistent.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-8367 Modify Preflight script for backward compatibility

New Preflight script is introduced for build 3.10.x. But, using that
script, 3.10 esp cannot properly report preflight information for 3.8
components and vice versa. This fix adds backward compatibility to
the new Preflight script. Since the arguments of a preflght command
line for 3.10.x always start with '-', the basic logic of the fix is:

if [ "${1:0:1}" == '-' ]; then
copy the content from 3.10.x preflight script
else
copy the content from 3.8.x preflight script
fi

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Merge pull request #3764 from jakesmith/sashaxref-mem-regression

HPCC-8412 XREF memory configuration regression

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #3767 from wangkx/h8367

HPCC-8367 Modify Preflight script for backward compatibility

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8414 Fix schema and display of child datasets using xpath('n')

Child datasets using xpath('n') or xpath('/n') produce
dataset xml with no root tag and "inline" rows named 'n'.

The generated schemas and display xslt will now reflect that.

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
Merge branch 'rowless_child_datasets' into candidate-3.10.0

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8420 Ensure that slaves being killed belong to correct thor

Check that the pid file pid, is [still] a pid that is associated
with the thor instances being recycled

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge branch 'stop_slaves-issue' into candidate-3.8.x

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge remote-tracking branch 'origin/candidate-3.8.x' into candidate-3.10.0

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8101 Access to workunit is denied

A previous fix (HPCC-3153) filters out certain workunits (global,etc), but
it needed to update the workunit count when it does that. This fix updates
the count for this scenario, and 2 other filters already in place.

Signed-off-by: William Whitehead <william.whitehead@lexisnexis.com>
Merge pull request #3780 from RussWhitehead/countWUs

HPCC-8101 Access to workunit is denied

Reviewed-By: Kevin Wang <kevin.wang@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8432 Clienttools package name fixed on Linux

Made change for Apple only be set if build system is Apple.

Signed-off-by: Philip Marc Schwartz <philip.schwartz@lexisnexis.com>
HPCC-8432 Clienttools package name fixed on Windows

Made change for Windows to also use the default naming.

Signed-off-by: Philip Schwartz <philip.schwartz@lexisnexis.com>
Merge branch 'HPCC-8432-clienttools-package-naming' into candidate-3.10.0

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8433 Regression in hashdedup, possible div 0

Small keyed record size in combination with certain configured
memory sizes, could result in divide by 0 fault.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #3782 from jakesmith/hashdedup-divzero

HPCC-8433 Regression in hashdedup, possible div 0

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>