Grokbase Groups Pig user June 2012
FAQ
Hi All,

I've yet to be able to successfully import the datetime module in a Jython
UDF when running my Pig script on our cluster. Having perused past message
traffic, it seems the answer was to put the jython.jar in /usr/lib/pig/lib.
That did not resolve the problem for me. I've tried both Jython 2.5 and
2.5.2 with Pig 0.8. Any other standard steps I should be doing to get this
to work?

Thanks, Chris

Search Discussions

  • Duckworth, Will at Jun 20, 2012 at 12:27 am
    You have built a standalone version of jython right?
    On Jun 19, 2012, at 8:16 PM, "Chris Diehl" wrote:

    Hi All,

    I've yet to be able to successfully import the datetime module in a Jython
    UDF when running my Pig script on our cluster. Having perused past message
    traffic, it seems the answer was to put the jython.jar in /usr/lib/pig/lib.
    That did not resolve the problem for me. I've tried both Jython 2.5 and
    2.5.2 with Pig 0.8. Any other standard steps I should be doing to get this
    to work?

    Thanks, Chris

    Will Duckworth Senior Vice President, Software Engineering | comScore, Inc.(NASDAQ:SCOR)
    o +1 (703) 438-2108 | m +1 (301) 606-2977 | mailto:wduckworth@comscore.com
    .....................................................................................................

    Introducing Mobile Metrix 2.0 - The next generation of mobile behavioral measurement
    www.comscore.com/MobileMetrix
  • Chris Diehl at Jun 20, 2012 at 12:29 am
    yes indeed.
    On Tue, Jun 19, 2012 at 5:27 PM, Duckworth, Will wrote:

    You have built a standalone version of jython right?
    On Jun 19, 2012, at 8:16 PM, "Chris Diehl" wrote:

    Hi All,

    I've yet to be able to successfully import the datetime module in a Jython
    UDF when running my Pig script on our cluster. Having perused past message
    traffic, it seems the answer was to put the jython.jar in
    /usr/lib/pig/lib.
    That did not resolve the problem for me. I've tried both Jython 2.5 and
    2.5.2 with Pig 0.8. Any other standard steps I should be doing to get this
    to work?

    Thanks, Chris

    Will Duckworth Senior Vice President, Software Engineering | comScore,
    Inc.(NASDAQ:SCOR)
    o +1 (703) 438-2108 | m +1 (301) 606-2977 | mailto:wduckworth@comscore.com

    .....................................................................................................

    Introducing Mobile Metrix 2.0 - The next generation of mobile behavioral
    measurement
    www.comscore.com/MobileMetrix
  • Norbert Burger at Jun 20, 2012 at 1:43 am
    Have you included the jython.jar in your PIG_CLASSPATH and registered from
    within your script? The combination instructs the Pig backend to ship the
    JAR to your cluster nodes.

    Norbert
    On Tue, Jun 19, 2012 at 8:28 PM, Chris Diehl wrote:

    yes indeed.

    On Tue, Jun 19, 2012 at 5:27 PM, Duckworth, Will <wduckworth@comscore.com
    wrote:
    You have built a standalone version of jython right?
    On Jun 19, 2012, at 8:16 PM, "Chris Diehl" wrote:

    Hi All,

    I've yet to be able to successfully import the datetime module in a Jython
    UDF when running my Pig script on our cluster. Having perused past message
    traffic, it seems the answer was to put the jython.jar in
    /usr/lib/pig/lib.
    That did not resolve the problem for me. I've tried both Jython 2.5 and
    2.5.2 with Pig 0.8. Any other standard steps I should be doing to get this
    to work?

    Thanks, Chris

    Will Duckworth Senior Vice President, Software Engineering | comScore,
    Inc.(NASDAQ:SCOR)
    o +1 (703) 438-2108 | m +1 (301) 606-2977 | mailto:
    wduckworth@comscore.com
    .....................................................................................................
    Introducing Mobile Metrix 2.0 - The next generation of mobile behavioral
    measurement
    www.comscore.com/MobileMetrix

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupuser @
categoriespig, hadoop
postedJun 20, '12 at 12:16a
activeJun 20, '12 at 1:43a
posts4
users3
websitepig.apache.org

People

Translate

site design / logo © 2022 Grokbase