HPCC-11693 Catch and handle OOM and failover when setting up HT

If it manages to avoid OOM on gather, but OOM's setting up sized
HT, then catch OOM exception coming back from roxiemem and let
it degrade to distributed local lookup join.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-11966 Extend locking primitives to add assertLocked()

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-12001 Improve performance for WsWorkunits.WUListQueries

To get Query status on clusters, WsWorkunits.WUListQueries has to
send <control:queries/> calls to each roxie cluster. This fix
creates a thread pool to send the calls in parallel.

Signed-off-by: wangkx <kevin.wang@lexisnexis.com>
HPCC-12001 Revise based on review comments

Signed-off-by: wangkx <kevin.wang@lexisnexis.com>
HPCC-12001 Fix a typo and add more comment

Signed-off-by: wangkx <kevin.wang@lexisnexis.com>
HPCC-12014 Provide the regression suite path to all queries.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-11492 Refactor / Cleanup AddPackageMap

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
HPCC-11492 Update based on review

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Merge pull request #6295 from wangkx/thread_list_queries

HPCC-12001 Improve performance for WsWorkunits.WUListQueries

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merge pull request #6301 from ghalliday/issue12014

HPCC-12014 Provide the regression suite path to all queries.

Reviewed-by: Attila
HPCC-12015 Move the regression suite text files

Move 'download' directory

Update path generation in Test Engine

Test with ./ecl-test setup -t all, result: ok.

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>
HPCC-11902 Allow targets shown in WsEcl to be restricted through config

This will allow individual WsEcl instances to be set up for individual,
or small sets of target clusters in environments with many targets
available.

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
HPCC-12015 Move the regression suite text files

Update after review.

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>
HPCC-11693 Improove OOM handling when sizing tables

Prevent sizing tables, pushing out other memory (use allocate
with maxSpillCost). Catch a couple of other table sizing that
could OOM and ensure they fail over to local lookup join

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #6303 from AttilaVamos/HPCC-12015-improvement

HPCC-12015 Move the regression suite text files

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
HPCC-12014 Provide the regression suite path to all queries.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-12017 Refactor the self.args.setupExtraX code

Rrefactor the code. Remove all lines inserted by Gavin and put then
into the main(). This change fixed the "won't work in run mode" problem
(there was wrong instruction sequence)

Fix problem caused class handling (inclde/eclude) in query mode
(there was a wrong initialisation of classIncluded/classExcluded

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>
Merge pull request #6258 from afishbeck/packageMapAddCleanup

HPCC-11492 Refactor / Cleanup AddPackageMap

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
HPCC-11693 More changes, spotted during review

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #6308 from AttilaVamos/HPCC-12017-improvement

Hpcc 12017 improvement

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>