You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by "Virag Kothari (Created) (JIRA)" <ji...@apache.org> on 2011/09/28 21:12:46 UTC

[jira] [Created] (OOZIE-564) Embedded pig within python fails when run using oozie

Embedded pig within python fails when run using oozie
-----------------------------------------------------

                 Key: OOZIE-564
                 URL: https://issues.apache.org/jira/browse/OOZIE-564
             Project: Oozie
          Issue Type: Bug
            Reporter: Virag Kothari


Am trying to run a python script from workflow.xml (thro' oozie)

getting this error:
2002 [main] ERROR org.apache.pig.Main  - ERROR 2998: Unhandled internal error. org/python/util/PythonInterpreter

My workflow code snippet is :
...
<pig>
 ....
.....
  <script>a.py</script>
        <param>inputDir=${inputDir}</param>
        <param>outputDir=${outputDir}</param>
        <param>feedDir=${feedDir}</param>
</pig>



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-564) Embedded pig within python fails when run using oozie

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119575#comment-13119575 ] 

jiraposter@reviews.apache.org commented on OOZIE-564:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2104/#review2286
-----------------------------------------------------------


release.log and documentation changes are missing.


trunk/core/pom.xml
<https://reviews.apache.org/r/2104/#comment5266>

    Why and how these jars are being used?
    Why only scope at 'test'?



trunk/core/pom.xml
<https://reviews.apache.org/r/2104/#comment5274>

    space



trunk/core/pom.xml
<https://reviews.apache.org/r/2104/#comment5273>

    space



trunk/core/src/main/java/org/apache/oozie/action/hadoop/PigMain.java
<https://reviews.apache.org/r/2104/#comment5267>

    I saw you bump up version to 0.9. U might need to change it here.



trunk/core/src/main/java/org/apache/oozie/action/hadoop/PigMain.java
<https://reviews.apache.org/r/2104/#comment5268>

    and here



trunk/core/src/test/java/org/apache/oozie/action/hadoop/MainTestCase.java
<https://reviews.apache.org/r/2104/#comment5271>

    Does MainTestCase use only for Pig testing? If yes, please rename to proper name.



trunk/core/src/test/java/org/apache/oozie/action/hadoop/MainTestCase.java
<https://reviews.apache.org/r/2104/#comment5270>

    use static



trunk/core/src/test/java/org/apache/oozie/action/hadoop/MainTestCase.java
<https://reviews.apache.org/r/2104/#comment5272>

    space



trunk/core/src/test/java/org/apache/oozie/action/hadoop/MainTestCase.java
<https://reviews.apache.org/r/2104/#comment5269>

    The name of method should say what you are testing.


- Angelo K.


On 2011-10-03 18:59:26, Virag Kothari wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/2104/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2011-10-03 18:59:26)
bq.  
bq.  
bq.  Review request for oozie, Mohammad Islam and Angelo K. Huang.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  OOZIE-564: Embedded pig within python fails when run in oozie
bq.  
bq.  Summary:
bq.  https://issues.apache.org/jira/browse/OOZIE-564
bq.  
bq.  
bq.  This addresses bug OOZIE-564.
bq.      https://issues.apache.org/jira/browse/OOZIE-564
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    trunk/core/pom.xml 1178455 
bq.    trunk/core/src/main/java/org/apache/oozie/action/hadoop/PigMain.java 1178455 
bq.    trunk/core/src/test/java/org/apache/oozie/action/hadoop/MainTestCase.java 1178455 
bq.    trunk/core/src/test/java/org/apache/oozie/action/hadoop/TestPigMain.java 1178455 
bq.    trunk/pom.xml 1178455 
bq.  
bq.  Diff: https://reviews.apache.org/r/2104/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  Tested against current test cases. New test cases related to embedded pig are not added
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Virag
bq.  
bq.


                
> Embedded pig within python fails when run using oozie
> -----------------------------------------------------
>
>                 Key: OOZIE-564
>                 URL: https://issues.apache.org/jira/browse/OOZIE-564
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Virag Kothari
>
> Am trying to run a python script from workflow.xml (thro' oozie)
> getting this error:
> 2002 [main] ERROR org.apache.pig.Main  - ERROR 2998: Unhandled internal error. org/python/util/PythonInterpreter
> My workflow code snippet is :
> ...
> <pig>
>  ....
> .....
>   <script>a.py</script>
>         <param>inputDir=${inputDir}</param>
>         <param>outputDir=${outputDir}</param>
>         <param>feedDir=${feedDir}</param>
> </pig>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-564) Embedded pig within python fails when run using oozie

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119568#comment-13119568 ] 

jiraposter@reviews.apache.org commented on OOZIE-564:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2104/#review2285
-----------------------------------------------------------


Overall, please take care of all the red marks for inconsistent spaces.


trunk/core/src/test/java/org/apache/oozie/action/hadoop/TestPigMain.java
<https://reviews.apache.org/r/2104/#comment5264>

    These python jars are not required for normal pig job. right? 
    If yes, can it be isolated only for python case?
    


- Mohammad


On 2011-10-03 18:59:26, Virag Kothari wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/2104/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2011-10-03 18:59:26)
bq.  
bq.  
bq.  Review request for oozie, Mohammad Islam and Angelo K. Huang.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  OOZIE-564: Embedded pig within python fails when run in oozie
bq.  
bq.  Summary:
bq.  https://issues.apache.org/jira/browse/OOZIE-564
bq.  
bq.  
bq.  This addresses bug OOZIE-564.
bq.      https://issues.apache.org/jira/browse/OOZIE-564
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    trunk/core/pom.xml 1178455 
bq.    trunk/core/src/main/java/org/apache/oozie/action/hadoop/PigMain.java 1178455 
bq.    trunk/core/src/test/java/org/apache/oozie/action/hadoop/MainTestCase.java 1178455 
bq.    trunk/core/src/test/java/org/apache/oozie/action/hadoop/TestPigMain.java 1178455 
bq.    trunk/pom.xml 1178455 
bq.  
bq.  Diff: https://reviews.apache.org/r/2104/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  Tested against current test cases. New test cases related to embedded pig are not added
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Virag
bq.  
bq.


                
> Embedded pig within python fails when run using oozie
> -----------------------------------------------------
>
>                 Key: OOZIE-564
>                 URL: https://issues.apache.org/jira/browse/OOZIE-564
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Virag Kothari
>
> Am trying to run a python script from workflow.xml (thro' oozie)
> getting this error:
> 2002 [main] ERROR org.apache.pig.Main  - ERROR 2998: Unhandled internal error. org/python/util/PythonInterpreter
> My workflow code snippet is :
> ...
> <pig>
>  ....
> .....
>   <script>a.py</script>
>         <param>inputDir=${inputDir}</param>
>         <param>outputDir=${outputDir}</param>
>         <param>feedDir=${feedDir}</param>
> </pig>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-564) Embedded pig within python fails when run using oozie

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119498#comment-13119498 ] 

jiraposter@reviews.apache.org commented on OOZIE-564:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2104/
-----------------------------------------------------------

(Updated 2011-10-03 18:59:26.298939)


Review request for oozie, Mohammad Islam and Angelo K. Huang.


Changes
-------

Test cases added. Changes made in pom.xml for the test cases to work.
Review feedback incorporated


Summary
-------

OOZIE-564: Embedded pig within python fails when run in oozie

Summary:
https://issues.apache.org/jira/browse/OOZIE-564


This addresses bug OOZIE-564.
    https://issues.apache.org/jira/browse/OOZIE-564


Diffs (updated)
-----

  trunk/core/pom.xml 1178455 
  trunk/core/src/main/java/org/apache/oozie/action/hadoop/PigMain.java 1178455 
  trunk/core/src/test/java/org/apache/oozie/action/hadoop/MainTestCase.java 1178455 
  trunk/core/src/test/java/org/apache/oozie/action/hadoop/TestPigMain.java 1178455 
  trunk/pom.xml 1178455 

Diff: https://reviews.apache.org/r/2104/diff


Testing
-------

Tested against current test cases. New test cases related to embedded pig are not added


Thanks,

Virag


                
> Embedded pig within python fails when run using oozie
> -----------------------------------------------------
>
>                 Key: OOZIE-564
>                 URL: https://issues.apache.org/jira/browse/OOZIE-564
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Virag Kothari
>
> Am trying to run a python script from workflow.xml (thro' oozie)
> getting this error:
> 2002 [main] ERROR org.apache.pig.Main  - ERROR 2998: Unhandled internal error. org/python/util/PythonInterpreter
> My workflow code snippet is :
> ...
> <pig>
>  ....
> .....
>   <script>a.py</script>
>         <param>inputDir=${inputDir}</param>
>         <param>outputDir=${outputDir}</param>
>         <param>feedDir=${feedDir}</param>
> </pig>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-564) Embedded pig within python fails when run using oozie

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119857#comment-13119857 ] 

jiraposter@reviews.apache.org commented on OOZIE-564:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2104/
-----------------------------------------------------------

(Updated 2011-10-04 01:27:24.173574)


Review request for oozie, Mohammad Islam and Angelo K. Huang.


Changes
-------

Added jars in share-lib/pom.xml so available in system library. 
Other changes made according to comments.


Summary
-------

OOZIE-564: Embedded pig within python fails when run in oozie

Summary:
https://issues.apache.org/jira/browse/OOZIE-564


This addresses bug OOZIE-564.
    https://issues.apache.org/jira/browse/OOZIE-564


Diffs (updated)
-----

  trunk/core/pom.xml 1178455 
  trunk/core/src/main/java/org/apache/oozie/action/hadoop/PigMain.java 1178665 
  trunk/core/src/test/java/org/apache/oozie/action/hadoop/PigTestCase.java PRE-CREATION 
  trunk/core/src/test/java/org/apache/oozie/action/hadoop/TestPigMain.java 1178659 
  trunk/pom.xml 1178455 
  trunk/release-log.txt 1178455 
  trunk/sharelib/pom.xml 1178455 

Diff: https://reviews.apache.org/r/2104/diff


Testing
-------

Tested against current test cases. New test cases related to embedded pig are not added


Thanks,

Virag


                
> Embedded pig within python fails when run using oozie
> -----------------------------------------------------
>
>                 Key: OOZIE-564
>                 URL: https://issues.apache.org/jira/browse/OOZIE-564
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Virag Kothari
>
> Am trying to run a python script from workflow.xml (thro' oozie)
> getting this error:
> 2002 [main] ERROR org.apache.pig.Main  - ERROR 2998: Unhandled internal error. org/python/util/PythonInterpreter
> My workflow code snippet is :
> ...
> <pig>
>  ....
> .....
>   <script>a.py</script>
>         <param>inputDir=${inputDir}</param>
>         <param>outputDir=${outputDir}</param>
>         <param>feedDir=${feedDir}</param>
> </pig>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-564) Embedded pig within python fails when run using oozie

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116757#comment-13116757 ] 

jiraposter@reviews.apache.org commented on OOZIE-564:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2104/#review2144
-----------------------------------------------------------


Test cases is required.

- Mohammad


On 2011-09-28 20:00:45, Virag Kothari wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/2104/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2011-09-28 20:00:45)
bq.  
bq.  
bq.  Review request for oozie, Mohammad Islam and Angelo K. Huang.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  OOZIE-564: Embedded pig within python fails when run in oozie
bq.  
bq.  Summary:
bq.  https://issues.apache.org/jira/browse/OOZIE-564
bq.  
bq.  
bq.  This addresses bug OOZIE-564.
bq.      https://issues.apache.org/jira/browse/OOZIE-564
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    trunk/core/src/main/java/org/apache/oozie/action/hadoop/PigMain.java 1177028 
bq.    trunk/release-log.txt 1177028 
bq.  
bq.  Diff: https://reviews.apache.org/r/2104/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  Tested against current test cases. New test cases related to embedded pig are not added
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Virag
bq.  
bq.


                
> Embedded pig within python fails when run using oozie
> -----------------------------------------------------
>
>                 Key: OOZIE-564
>                 URL: https://issues.apache.org/jira/browse/OOZIE-564
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Virag Kothari
>
> Am trying to run a python script from workflow.xml (thro' oozie)
> getting this error:
> 2002 [main] ERROR org.apache.pig.Main  - ERROR 2998: Unhandled internal error. org/python/util/PythonInterpreter
> My workflow code snippet is :
> ...
> <pig>
>  ....
> .....
>   <script>a.py</script>
>         <param>inputDir=${inputDir}</param>
>         <param>outputDir=${outputDir}</param>
>         <param>feedDir=${feedDir}</param>
> </pig>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-564) Embedded pig within python fails when run using oozie

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116758#comment-13116758 ] 

jiraposter@reviews.apache.org commented on OOZIE-564:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2104/#review2143
-----------------------------------------------------------



trunk/core/src/main/java/org/apache/oozie/action/hadoop/PigMain.java
<https://reviews.apache.org/r/2104/#comment4960>

    will stat.getErrorCode() throw Unsupported exception again in this line? However ,the code is required.


- Mohammad


On 2011-09-28 20:00:45, Virag Kothari wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/2104/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2011-09-28 20:00:45)
bq.  
bq.  
bq.  Review request for oozie, Mohammad Islam and Angelo K. Huang.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  OOZIE-564: Embedded pig within python fails when run in oozie
bq.  
bq.  Summary:
bq.  https://issues.apache.org/jira/browse/OOZIE-564
bq.  
bq.  
bq.  This addresses bug OOZIE-564.
bq.      https://issues.apache.org/jira/browse/OOZIE-564
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    trunk/core/src/main/java/org/apache/oozie/action/hadoop/PigMain.java 1177028 
bq.    trunk/release-log.txt 1177028 
bq.  
bq.  Diff: https://reviews.apache.org/r/2104/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  Tested against current test cases. New test cases related to embedded pig are not added
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Virag
bq.  
bq.


                
> Embedded pig within python fails when run using oozie
> -----------------------------------------------------
>
>                 Key: OOZIE-564
>                 URL: https://issues.apache.org/jira/browse/OOZIE-564
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Virag Kothari
>
> Am trying to run a python script from workflow.xml (thro' oozie)
> getting this error:
> 2002 [main] ERROR org.apache.pig.Main  - ERROR 2998: Unhandled internal error. org/python/util/PythonInterpreter
> My workflow code snippet is :
> ...
> <pig>
>  ....
> .....
>   <script>a.py</script>
>         <param>inputDir=${inputDir}</param>
>         <param>outputDir=${outputDir}</param>
>         <param>feedDir=${feedDir}</param>
> </pig>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-564) Embedded pig within python fails when run using oozie

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120579#comment-13120579 ] 

jiraposter@reviews.apache.org commented on OOZIE-564:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2104/#review2333
-----------------------------------------------------------

Ship it!


pushing


- Mohammad


On 2011-10-04 01:27:24, Virag Kothari wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/2104/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2011-10-04 01:27:24)
bq.  
bq.  
bq.  Review request for oozie, Mohammad Islam and Angelo K. Huang.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  OOZIE-564: Embedded pig within python fails when run in oozie
bq.  
bq.  Summary:
bq.  https://issues.apache.org/jira/browse/OOZIE-564
bq.  
bq.  
bq.  This addresses bug OOZIE-564.
bq.      https://issues.apache.org/jira/browse/OOZIE-564
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    trunk/core/pom.xml 1178455 
bq.    trunk/core/src/main/java/org/apache/oozie/action/hadoop/PigMain.java 1178665 
bq.    trunk/core/src/test/java/org/apache/oozie/action/hadoop/PigTestCase.java PRE-CREATION 
bq.    trunk/core/src/test/java/org/apache/oozie/action/hadoop/TestPigMain.java 1178659 
bq.    trunk/pom.xml 1178455 
bq.    trunk/release-log.txt 1178455 
bq.    trunk/sharelib/pom.xml 1178455 
bq.  
bq.  Diff: https://reviews.apache.org/r/2104/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  Tested against current test cases. New test cases related to embedded pig are not added
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Virag
bq.  
bq.


                
> Embedded pig within python fails when run using oozie
> -----------------------------------------------------
>
>                 Key: OOZIE-564
>                 URL: https://issues.apache.org/jira/browse/OOZIE-564
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Virag Kothari
>
> Am trying to run a python script from workflow.xml (thro' oozie)
> getting this error:
> 2002 [main] ERROR org.apache.pig.Main  - ERROR 2998: Unhandled internal error. org/python/util/PythonInterpreter
> My workflow code snippet is :
> ...
> <pig>
>  ....
> .....
>   <script>a.py</script>
>         <param>inputDir=${inputDir}</param>
>         <param>outputDir=${outputDir}</param>
>         <param>feedDir=${feedDir}</param>
> </pig>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-564) Embedded pig within python fails when run using oozie

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116748#comment-13116748 ] 

jiraposter@reviews.apache.org commented on OOZIE-564:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2104/
-----------------------------------------------------------

Review request for oozie, Mohammad Islam and Angelo K. Huang.


Summary
-------

OOZIE-564: Embedded pig within python fails when run in oozie

Summary:
https://issues.apache.org/jira/browse/OOZIE-564


This addresses bug OOZIE-564.
    https://issues.apache.org/jira/browse/OOZIE-564


Diffs
-----

  trunk/core/src/main/java/org/apache/oozie/action/hadoop/PigMain.java 1177028 
  trunk/release-log.txt 1177028 

Diff: https://reviews.apache.org/r/2104/diff


Testing
-------

Tested against current test cases. New test cases related to embedded pig are not added


Thanks,

Virag


                
> Embedded pig within python fails when run using oozie
> -----------------------------------------------------
>
>                 Key: OOZIE-564
>                 URL: https://issues.apache.org/jira/browse/OOZIE-564
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Virag Kothari
>
> Am trying to run a python script from workflow.xml (thro' oozie)
> getting this error:
> 2002 [main] ERROR org.apache.pig.Main  - ERROR 2998: Unhandled internal error. org/python/util/PythonInterpreter
> My workflow code snippet is :
> ...
> <pig>
>  ....
> .....
>   <script>a.py</script>
>         <param>inputDir=${inputDir}</param>
>         <param>outputDir=${outputDir}</param>
>         <param>feedDir=${feedDir}</param>
> </pig>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira