You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Shawn Weeks <sw...@weeksconsulting.us> on 2019/03/24 20:42:03 UTC

Custom UDF Disappears After AlreadyExistsException

Looking to see if there is already a JIRA somewhere. In Hive 3.1 as distributed with HDP 3.1.0 if you create a function using jar that already exists the function disappears until you restart hiveserver2. It quits showing up in show functions and attempts to use the function fail with a not exists error. Attempting to create the function again raises an AlreadyExistsException and dropping and attempting to recreate does the same thing.

Thanks
Shawn Weeks

RE: Custom UDF Disappears After AlreadyExistsException

Posted by Shawn Weeks <sw...@weeksconsulting.us>.
Thanks Rajkumar for HIVE-21499, I was hoping this was a bug and not something related to the class path bugs I'm working.

From: Shawn Weeks <sw...@weeksconsulting.us>
Sent: Sunday, March 24, 2019 3:42 PM
To: user@hive.apache.org
Subject: Custom UDF Disappears After AlreadyExistsException

Looking to see if there is already a JIRA somewhere. In Hive 3.1 as distributed with HDP 3.1.0 if you create a function using jar that already exists the function disappears until you restart hiveserver2. It quits showing up in show functions and attempts to use the function fail with a not exists error. Attempting to create the function again raises an AlreadyExistsException and dropping and attempting to recreate does the same thing.

Thanks
Shawn Weeks