Hello,
I'm trying to get clustering working on HCP but when executing PAL creation procedure I'm always getting the following error:
(generate PAL procedure)
Statement: 'CALL HCP.HCP_AFL_WRAPPER_GENERATOR ('TWEETERS_CLUSTER', 'AFLPAL', 'KMEANS', PAL_SIGNATURE)'.Error calling procedure: transaction rolled back by an internal error: [129] "HCP"."HCP_AFL_WRAPPER_GENERATOR": line 31 col 5 (at pos 1742): [129] (range 3): transaction rolled back by an internal error: invalid name of function or procedure: AFL_WRAPPER_GENERATOR: line 1 col 13 (at pos 12)
(drop PAL procedure)
Statement: 'CALL HCP.HCP_AFL_WRAPPER_ERASER ('TWEETERS_CLUSTER')'.Error calling procedure: invalid name of function or procedure: [328] "HCP"."HCP_AFL_WRAPPER_ERASER": line 18 col 5 (at pos 1073): [328] (range 3) invalid name of function or procedure exception: invalid name of function or procedure: AFL_WRAPPER_ERASER: line 1 col 13 (at pos 12)
It looks like the AFL functions are missing. So I checked the following:
1) SELECT * FROM SYS.AFL_FUNCTIONS WHERE PACKAGE_NAME='PAL' and AREA_NAME = 'AFLPAL' and function_name = 'KMEANS';
This returns 1 line (146121,_SYS_AFL,AFLPAL,PAL,KMEANS,26.10.2015 09:25:02.818,2,2,LFunc,UNKNOWN,)
2) select * from "SYS"."SCHEMAS" WHERE SCHEMA_NAME = '_SYS_AFL';
This returns 1 line (_SYS_AFL,_SYS_AFL,FALSE,)
Any ideas what I'm missing ?
Thanks