Merge branch 'candidate-4.2.8' into closedown-4.2.x

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-11713 Remove file based environment code (unused since 2010-03-29)

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-11713 Convert most connections to /Environment

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-11713 Convert some connects to children of environment

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-11713 Final set of environment changes

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-11713 Remove unused timeout

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-11713 Increase timeout and remove need to clone tree

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-11698 WARNING: Remote file connect Too many open files

Roxie was leaving sockets open for remote files that it has checked the
existance of but not actually opened. These were not covered by the code that
limits the number of remote files in use (since Roxie did not consider them to
be in use...)

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-11739 Roxie cluster priorities not set correctly

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #6099 from richardkchapman/roxie-cluster-priority-fix

HPCC-11739 Roxie cluster priorities not set correctly

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merge pull request #6098 from richardkchapman/roxie-remote-file-handles

HPCC-11698 WARNING: Remote file connect Too many open files

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merge pull request #6089 from ghalliday/issue11713

HPCC-11713 Change environment access to go through the cache

Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-11753 Backmerge of control:queries speedup broke formatting

Make sure we don't use multiple lines in control:queries return.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #6103 from richardkchapman/roxie-merge-queries-formatting

HPCC-11753 Backmerge of control:queries speedup broke formatting

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
HPCC-11637 Avoid multiple concourrent ECLWatch onActivity queries

Use getActivityInfo() to collect activity info into a cache. Reuse
cached info to set concurrent onActivity queries. The cache time
is configurable (default to 10 seconds).

The code merged from 5.0: Upgrade code to display HPCC server even
if there is no workunit on the server. A user may pause or resume
the server. Collect network address and port info for identifying
ECLCCServer, etc.

Signed-off-by: wangkx <kevin.wang@lexisnexis.com>
HPCC-11760 Fix getTargetClusterInfo() in workunit.cpp

The getTopologyCluster() changed recently to not return the 'conn'
for environment data. The getTargetClusterInfo() and another
method are broken by that change. I fix it now.

Signed-off-by: wangkx <kevin.wang@lexisnexis.com>
Merge pull request #6108 from wangkx/fix_getTargetClusterInfo

HPCC-11760 Fix getTargetClusterInfo() in workunit.cpp

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #6107 from wangkx/h11637a

HPCC-11637 Avoid multiple concourrent ECLWatch onActivity queries

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Community Edition 4.2.6-rc10 Release Candidate 10

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

Conflicts:
	version.cmake

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>