- Pivotal Greenplum Database (GPDB) 4.3.x
- Operating System- Red Hat Enterprise Linux (RHEL) 6.x
- MADlib 1.9
When running install-check after MADlib installation it keeps failing with following error messages in the log.
$ $GPHOME/madlib/bin/madpack install-check -p greenplum
TEST CASE RESULT|Module: utilities|text_utilities.sql_in|PASS|Time: 3085 milliseconds
madpack.py : ERROR : Failed executing /tmp/madlib.4NMtGk/utilities/test/path.sql_in.tmp
madpack.py : ERROR : Check the log at /tmp/madlib.4NMtGk/utilities/test/path.sql_in.log
$ cat /tmp/madlib.4NMtGk/utilities/test/path.sql_in.log
SELECT assert(relative_error(array_agg(count), ARRAY[3, 3]) < 1e-6, 'wrong results in path')
psql:/tmp/madlib.4NMtGk/utilities/test/path.sql_in.tmp:101: ERROR: Function "dist_norm2(double precision,double precision)": Found input arrays of different length
s unexpectedly. (UDF_impl.hpp:210)
The MADlib install-check script is running based on the pre-defined values prepared for the test purpose. So theoretically when the test data become corrupt/altered for some reason this symptom can happen.
Uninstall and Reinstall theMADlib package so correct test scripts/data can be installed.
You can refer to the following link for uninstalling or reinstall of MADlib package: How to install or uninstall MADlib
Once MADlib package is installed successfully, you can find all test scripts & data from these directories -