Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-3243

Documentation error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.12.0
    • None
    • None

    Description

      Error in documentation on web related to python udf usage:
      The document mentions JYTHON_PATH but it should be JYTHONPATH. Seasoned jython users will easily figure this out but for cpython users who are new to jython,
      this error can easily be a show stopper.

      I observed this in 11.0 but it may be occuring in earlier versions.

      REFERENCE:

      http://pig.apache.org/docs/r0.11.0/udf.html#python-advanced

      Advanced Topics
      Importing Modules
      You can import Python modules in your Python script. Pig resolves Python dependencies recursively, which means Pig will automatically ship all dependent Python modules to the backend. Python modules should be found in the jython search path: JYTHON_HOME, JYTHON_PATH, or current directory.

      Attachments

        1. PIG-3243.patch
          2 kB
          Kousuke Saruta

        Activity

          People

            sarutak Kousuke Saruta
            tolgakonik Tolga Konik
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified