[ 
https://issues.apache.org/jira/browse/AVRO-287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12831064#action_12831064
 ] 

Doug Cutting commented on AVRO-287:
-----------------------------------

> I have not been able to figure out a way for a Python script to capture what 
> is writted to stdout when it is started as a background process.

I'm confused as to why you'd need to do this.  We drive the interop tests with 
a shell script that already does this, so Python doesn't need to.

That said, I'm fine with using standard error.  I initially tried using 
standard error and grepping for a line starting with "Port:", but I could not 
get this to work in bash.  So, if you can get the bash script working with 
stderr, given the fact that Java prints other stuff there too, then please feel 
free to change the line in RpcRecieveTool that logs the port to use stderr and 
to update the bash script.


> Make RPC interop tests work with new Python implementation
> ----------------------------------------------------------
>
>                 Key: AVRO-287
>                 URL: https://issues.apache.org/jira/browse/AVRO-287
>             Project: Avro
>          Issue Type: Test
>          Components: python
>            Reporter: Jeff Hammerbacher
>            Assignee: Jeff Hammerbacher
>             Fix For: 1.3.0
>
>         Attachments: AVRO-287.patch, echo.avpr, HelloClient.java, 
> HelloServer.java, hw.py
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to