ChooseN issues in child queries

1) Choosen within a global child query, e.g. a global loop query, would
deadlock on 2nd iteration. Due to a member variable not being reset on restart, choosen was only sending counts to the master on the iteration.

2) helper getLimit / numToSkip, weren't being tested in start(), so if they
were computed values, and being called repeatedly (i.e. in a child query),
then the 1st value was being returned.

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

ChooseN issues in child queries

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Use correct architecture dependent hadoop lib path
USE ARCH64BIT cmake var to generate correct hadoop lib path, based on
uris used by hadoop: Linux-amd64-64 or Linux-i386-32.

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>
Failure in User Group Delete

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
gh-1956 Rename instance directory when component name is changed

As the instance directory is based on the name of the component, change the instance directory when the name of the component is changed via ConfigMgr.

Signed-off-by: Sridhar Meda <sridhar.meda@lexisnexis.com>
Merge pull request #1991 from rpastrana/build_with_32bit_hdfs

Build with 32bit hdfs

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge latest changes from candidate-3.6.x into candidate-3.6.2

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge recent changes from candidate-3.6.2 into candidate-3.6.x

Manually excluded CMakeLists.txt version number change

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
gh1993 EclWatch Crash when searching WUs by Ecl text

Multiple problems are fixed here: when no WU matches
the search, the calculation based on page size causes
the crash; if number of matching WUs is less than page
size, the calculation based on page size also causes a
crash; we should use the WU id of matching WUs to get
WU information; Owned IEspECLWorkunit without
getClear() also causes a crash.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Merge pull request #1996 from wangkx/gh1983_group_delete

Gh1983 fix group delete error

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #1992 from smeda/issue1956

gh-1956 Rename instance directory when component name is changed

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #1998 from wangkx/gh1993

Gh1993 Eclwatch crash, searching workunits by Ecl text

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Update Permissions section and added images

Complete rework of this document including new screenshots.

Signed-off-by: Lorraine Chapman <lorraine.chapman@lexisnexis.com>
Merge pull request #2001 from richardkchapman/docs-permissions

Update Permissions section and added images

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Update HDFS script with lost changes
An old version of HDFSPIPE was originaly submited, this commit contains
the latest script. The changes missing addressed support for multi-node
per machine topology. This includes creating hpcc node specific named pipe
and log file.

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>
gh-1995 Encrypt attributes of view type password

When encrypting attributes that were of the view type password, ConfigMgr was relying on attribute name rather than the view type. Hence some attributes like esp's passphrase were not encrypted causing issues at runtime. Fixed this by encrypting attribute values based on view type rather than attribute name.

Signed-off-by: Sridhar Meda <sridhar.meda@lexisnexis.com>
Remove debug code from index.xslt

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Merge pull request #2004 from wangkx/extra_code_index_xslt

Remove debug code from index.xslt

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2002 from rpastrana/update_hdfswrite

Update HDFS script with lost changes

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2003 from smeda/issue1995

gh-1995 Encrypt attributes of view type password

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>