nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "animesh verma (JIRA)" <j...@apache.org>
Subject [jira] [Created] (NIFI-6471) ExecuteStreamCommand on using python script forwarding print statements in the Output stream instead of stdout
Date Tue, 23 Jul 2019 07:15:00 GMT
animesh verma created NIFI-6471:
-----------------------------------

             Summary: ExecuteStreamCommand on using python script forwarding print statements
in the Output stream instead of stdout
                 Key: NIFI-6471
                 URL: https://issues.apache.org/jira/browse/NIFI-6471
             Project: Apache NiFi
          Issue Type: Bug
          Components: Examples
    Affects Versions: 1.9.2
         Environment: centos
            Reporter: animesh verma
             Fix For: 1.9.2


{code:java}
flowFile = sys.stdin.read()
print("Next Process")
sys.stdout.write(str(flowFile))
{code}
A simple program as above in ExecuteStreamCommand processor working on python gives output
in outputStream as

 
 * Next Process
 * Contents of flowFile whatever they may be

 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message