gh-2237 Order of ecl package command line arguments

Parameters with no leading '-' should not be required to be the
last params in the param list

Fixes gh-2237

Signed-off-by: Stuart Ort <stuart.ort@lexisnexis.com>
Couple 3.8 specific changes
#2356 Filter out format related chars from dataformat param

Filter out format related characters ( \n\r\t) from dataformat
imput parameter in ECL Macro before forwarding value to H2H
executable.

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>
Ensure hpcc-init setup has been called

Hpcc runtime directories must exist, the component directories can be
created by the component, but Thor cannot create the parent directories,
e.g. /var/log/HPCCSystems

Slaves used to call hpcc-init -c <thorcomponent> setup in slave scripts, but
cannot anymore, see gh-1609 and gh-1412 for reasons.

Since Dafilesrv must exist on all nodes, perform a dafilesrv setup to
ensures these common directories exist.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Standardize program termination, use internal EXIT_SUCCESS/EXIT_FAILURE codes on all return statements
Implement changes recommended in code review.

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>
#2391 Refactor project name to HPCC JDBC Driver

refactor directory structure.
refactor file names and java classes to accurately reflect function.
CMake changes to reflect directory and file refactoring.
New build flag is USE_HPCCJDBC

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>
Significant speed up for complex SEQUENTIALS

If SEQUENTIAL statements were heavily nested they would be repeatedly
transformed - because nothing is commoned up between sequential
branches.  This change adds a cache so that they ae only transformed
once.  Had little effect on most queries, but a drastic (1/4 of time)
effect on a couple.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
gh-2395 Fix false-positive in soapcall.ecl regression test

The test to normalize fail codes was not working, as failcode is a signed
value so the comparison against large unsigned constants was always false.

Fixes gh-2395.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2389 from rpastrana/h2h_correct_exits

Standardize program termination, use internal EXIT_SUCCESS/FAILURE codes

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2401 from richardkchapman/soapcall-test-2395

gh-2395 Fix false-positive in soapcall.ecl regression test

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merge pull request #2383 from jakesmith/thorslave-ensure-hpccsetup

Ensure hpcc-init setup has been called

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2382 from rpastrana/h2h_filter_formatchars

#2356 Filter out format related chars from dataformat param

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2404 from g-pan/gpan-38x

Couple 3.8 specific changes

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2250 from stuartort/pkg_activate_false

Pkg activate false

Reviewed-By: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2392 from ghalliday/independent

Significant speed up for complex SEQUENTIALS

Reviewed-By: Renato Golin <rengolin@hpccsystems.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Fix problem with memory allocator with few allocations

If a fixed size heaplet oscillated between having 0 and 1 entries
allocated within it, a situation could arise where the page was
continually being allocated and freed.  This change ensures the
last page is only freed when memory is critical.

Each attempt to allocate a page also checks if there are any pages
that can be freed up in any heaplet.  If one of the other heaplets
had large numbers of entries it could take a long time to check if that
heaplet had any pages that could be freed.   This should be addressed
separately.  However, the two combined caused a spike in cpu usage for
certain graphs.

Fixes #2402

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #2413 from ghalliday/lastpagefix

Fix problem with memory allocator with few allocations

Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Conditional crc checking memory allocator

Reinstate THOR_ROWCRC functionality

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Use packed allocator, plus option to disable

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Remove configmgr multiSlave references

Remove references to multiSlave attribute in ConfigMgr code. Xsl references have not been removed as comments mention backward compatibility.

Fixes gh-1742

Signed-off-by: Sridhar Meda <sridhar.meda@lexisnexis.com>