pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Tolar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PIG-5226) PreprocessorContext.java can deadlock forever with large stderr
Date Fri, 21 Apr 2017 18:52:04 GMT
Jacob Tolar created PIG-5226:
--------------------------------

             Summary: PreprocessorContext.java can deadlock forever with large stderr
                 Key: PIG-5226
                 URL: https://issues.apache.org/jira/browse/PIG-5226
             Project: Pig
          Issue Type: Bug
            Reporter: Jacob Tolar
            Priority: Minor


This code can deadlock on *nix (not sure about Windows...) because of how it's using {{Runtime.exec()}}
(ie, stderr fills up its buffer and everything hangs). 

Problematic snippet of code:
https://github.com/apache/pig/blob/38c835ed702799f69dc2fa1ad0fbeab25e42c111/src/org/apache/pig/tools/parameters/PreprocessorContext.java#L238-L272





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message