Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: How to share UDF jar files cross different jobs using Pig executor?

  1. #1
    Join Date
    Oct 2012
    Posts
    2

    Default How to share UDF jar files cross different jobs using Pig executor?

    How can I share same UDF jar files cross different jobs? Now I have a job using pig script executor, and I specify the parameter udf_jar using ${Internal.Job.Filename.Directory}/xyz.jar. In my pig script, I am using REGISTER $udf_jar and it is working fine. But I can't find out another way to use the jar file not in the same directory as the job (my pig script is in the same directory as job). I want to store the jar file in a generic folder and it can be shared by different job.

  2. #2
    Join Date
    Oct 2012
    Posts
    2

    Default

    Finally I found the way to share the same jar file between the jobs. Put the jar file in a directory and make sure there is no space in your directory. I specify the parameter udf_jar using ${your.jar.file.directory}/xyz.jar. that is it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.