Not able to create Library in Vertica.

Moderator: NorbertKrupa

Post Reply
MMuthu
Newbie
Newbie
Posts: 3
Joined: Thu Feb 26, 2015 2:00 pm

Not able to create Library in Vertica.

Post by MMuthu » Thu Feb 26, 2015 2:07 pm

Hi,
I am trying to create a library with the help of following SQL, But I am getting the below error.

Please let me know how I can fix this error.

https://drive.google.com/file/d/0B2BpbV ... sp=sharing

Regards,
Mahendran M

User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1825
Joined: Sat Jan 21, 2012 4:58 am
Contact:

Re: Not able to create Library in Vertica.

Post by JimKnicely » Thu Feb 26, 2015 2:31 pm

Hi,

Check the "Updating UDx Libraries" section of the "Extending HP Vertica" documentation.

...you need to update libraries that you have already deployed:
When you have upgraded HP Vertica to a new version that contains changes to the SDK API. For your libraries to work with the new server version, you need to recompile them with new version of the SDK. See UDx Library Compatibility with New Server Versions for more information.
Here is a link to the on line doc:

http://my.vertica.com/docs/7.1.x/HTML/i ... ies|_____0
Jim Knicely

Image

Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.

MMuthu
Newbie
Newbie
Posts: 3
Joined: Thu Feb 26, 2015 2:00 pm

Re: Not able to create Library in Vertica.

Post by MMuthu » Thu Feb 26, 2015 3:09 pm

Hi Jim,
Thank you for your response. I am very new to Vertica, I saw the URL's which you sent. I could not get as how to fix it.

Is there is any specific steps which I need to do? Do you think the steps would be available anywhere? Kindly advise.

Regards,
Mahendran M

User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1825
Joined: Sat Jan 21, 2012 4:58 am
Contact:

Re: Not able to create Library in Vertica.

Post by JimKnicely » Thu Feb 26, 2015 3:22 pm

Hi,

I think you just need to recompile your Java source code using the latest Vertica SDK. Something like this at the command prompt:

javac -classpath /opt/vertica/bin/VerticaSDK.jar factorySource.java \[functionSource.java...]

And then rebuild the JAR file...
Jim Knicely

Image

Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.

MMuthu
Newbie
Newbie
Posts: 3
Joined: Thu Feb 26, 2015 2:00 pm

Re: Not able to create Library in Vertica.

Post by MMuthu » Thu Feb 26, 2015 3:36 pm

Hi Jim,
Sorry to bug you!

I executed the command, but throws the factorySource.java does not exist. Please see the attachment.

Will it be possible for you to share some 5 minutes in a screen share, I would appreciate that greatly.
javac command.png
javac command.png (15.32 KiB) Viewed 9423 times
Regards,
Mahendran M

Post Reply

Return to “General”