hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shushant Arora <shushantaror...@gmail.com>
Subject hive udf from oozie not working
Date Sat, 16 May 2015 15:36:31 GMT
I have a hive script , where I call a udf .
Script works fine when called from local shell script.
But when called from within oozie workflow, it throws an exception saying
jar not found.

add jar hdfs://hdfspath of jar;

create temporary function duncname as 'pkg.className';

then  on calling function , it throws exception

converting to local hdfs://nameservice1/hdfspath of jar
  Added /tmp/f5dc5d85-903e-422d-af1a-892b994ecfda_resources/hive-udf.jar to
class path
  Added resource:
/tmp/f5dc5d85-903e-422d-af1a-892b994ecfda_resources/hive-udf.jar
  OK

java.io.FileNotFoundException: File does not exist:
hdfs://nameservice1/tmp/f5dc5d85-903e-422d-af1a-892b994ecfda_resources/hive-udf.jar
  at
org.apache.hadoop.hdfs.DistributedFileSystem$17.doCall(DistributedFileSystem.java:1093)



script works in local mode. But failing on calling from oozie.

Mime
View raw message