Add UDF to Vertica
Posted: Thu Apr 21, 2016 5:23 pm
Hi,
I am trying to add UDF JAR and I am getting the following error:
Coomand: CREATE LIBRARY wordCountLib as 'CountWordsUDxLib.jar' LANGUAGE 'JAVA';
************************* Error ****************************************************************************
ROLLBACK 5699: Cannot find java binary: neither the Linux environment variable JAVA_HOME nor Vertica config parameter JavaBinaryForUDx is set
HINT: Please set JAVA_HOME environment variable or JavaBinaryForUDx config parameter to help vertica find java binary
*************************************************************************************************************
Do you know why!
I am trying to add UDF JAR and I am getting the following error:
Coomand: CREATE LIBRARY wordCountLib as 'CountWordsUDxLib.jar' LANGUAGE 'JAVA';
************************* Error ****************************************************************************
ROLLBACK 5699: Cannot find java binary: neither the Linux environment variable JAVA_HOME nor Vertica config parameter JavaBinaryForUDx is set
HINT: Please set JAVA_HOME environment variable or JavaBinaryForUDx config parameter to help vertica find java binary
*************************************************************************************************************
Do you know why!