[
https://issues.apache.org/jira/browse/BEAM-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15723299#comment-15723299
]
ASF GitHub Bot commented on BEAM-1088:
--------------------------------------
GitHub user aaltay opened a pull request:
https://github.com/apache/incubator-beam/pull/1509
[BEAM-1088] Add missing job parameter to the submit_job_description.
Tested post commit test locally.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aaltay/incubator-beam apic
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-beam/pull/1509.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1509
----
commit f1b83f7e82b56cd36bffbcdd5cc8ab319bf1e9d3
Author: Ahmet Altay <[email protected]>
Date: 2016-12-05T20:29:45Z
Add missing job parameter to the submit_job_description.
Tested post commit test locally.
----
> submit_job_description needs job argument (Fails post commit)
> -------------------------------------------------------------
>
> Key: BEAM-1088
> URL: https://issues.apache.org/jira/browse/BEAM-1088
> Project: Beam
> Issue Type: Bug
> Reporter: Ahmet Altay
> Assignee: Ahmet Altay
>
> https://builds.apache.org/view/Beam/job/beam_PostCommit_Python_Verify/822/consoleFull
> Traceback (most recent call last):
> File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
> "__main__", fname, loader, pkg_name)
> File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
> exec code in run_globals
> File
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/examples/wordcount.py",
> line 106, in <module>
> run()
> File
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/examples/wordcount.py",
> line 97, in run
> result = p.run()
> File "apache_beam/pipeline.py", line 159, in run
> return self.runner.run(self)
> File "apache_beam/runners/dataflow_runner.py", line 179, in run
> self.dataflow_client.create_job(self.job))
> File "apache_beam/utils/retry.py", line 167, in wrapper
> return fun(*args, **kwargs)
> File "apache_beam/internal/apiclient.py", line 415, in create_job
> return self.submit_job_description()
> File "apache_beam/internal/apiclient.py", line 433, in
> submit_job_description
> request.job = job.proto
> NameError: global name 'job' is not defined
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)