You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Ahmet Altay (JIRA)" <ji...@apache.org> on 2017/08/04 16:18:00 UTC

[jira] [Created] (BEAM-2729) Post commit fail: Input to GroupByKey must be of Tuple or Any type

Ahmet Altay created BEAM-2729:
---------------------------------

             Summary: Post commit fail: Input to GroupByKey must be of Tuple or Any type
                 Key: BEAM-2729
                 URL: https://issues.apache.org/jira/browse/BEAM-2729
             Project: Beam
          Issue Type: Bug
          Components: sdk-py
            Reporter: Ahmet Altay
            Assignee: Robert Bradshaw


root cause: https://github.com/apache/beam/commit/5e71d53ef8c28ec14b6a282b1fe67489c2b3f243

jenkins: https://builds.apache.org/view/A-D/view/Beam/job/beam_PostCommit_Python_Verify/2864/

Sample stack:

======================================================================
ERROR: test_iterable_side_input (apache_beam.transforms.sideinputs_test.SideInputsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/transforms/sideinputs_test.py", line 177, in test_iterable_side_input
    pipeline.run()
  File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/testing/test_pipeline.py", line 96, in run
    result = super(TestPipeline, self).run()
  File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/pipeline.py", line 329, in run
    return self.runner.run(self)
  File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/runners/dataflow/test_dataflow_runner.py", line 38, in run
    self.result = super(TestDataflowRunner, self).run(pipeline)
  File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/runners/dataflow/dataflow_runner.py", line 252, in run
    pipeline.visit(self.group_by_key_input_visitor())
  File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/pipeline.py", line 354, in visit
    self._root_transform().visit(visitor, self, visited)
  File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/pipeline.py", line 692, in visit
    part.visit(visitor, pipeline, visited)
  File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/pipeline.py", line 692, in visit
    part.visit(visitor, pipeline, visited)
  File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/pipeline.py", line 692, in visit
    part.visit(visitor, pipeline, visited)
  File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/pipeline.py", line 695, in visit
    visitor.visit_transform(self)
  File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/runners/dataflow/dataflow_runner.py", line 202, in visit_transform
    "Found %s for %s" % (input_type, pcoll))
ValueError: Input to GroupByKey must be of Tuple or Any type. Found Union[Tuple[NoneType, Tuple[Any, Any]], Tuple[NoneType, Tuple[Any, NoneType]]] for PCollection[assert_that/Group/Flatten.None]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Re: [jira] [Created] (BEAM-2729) Post commit fail: Input to GroupByKey must be of Tuple or Any type

Posted by Robert Bradshaw <ro...@google.com.INVALID>.
Looking into this now.

On Fri, Aug 4, 2017 at 9:18 AM, Ahmet Altay (JIRA) <ji...@apache.org> wrote:
> Ahmet Altay created BEAM-2729:
> ---------------------------------
>
>              Summary: Post commit fail: Input to GroupByKey must be of Tuple or Any type
>                  Key: BEAM-2729
>                  URL: https://issues.apache.org/jira/browse/BEAM-2729
>              Project: Beam
>           Issue Type: Bug
>           Components: sdk-py
>             Reporter: Ahmet Altay
>             Assignee: Robert Bradshaw
>
>
> root cause: https://github.com/apache/beam/commit/5e71d53ef8c28ec14b6a282b1fe67489c2b3f243
>
> jenkins: https://builds.apache.org/view/A-D/view/Beam/job/beam_PostCommit_Python_Verify/2864/
>
> Sample stack:
>
> ======================================================================
> ERROR: test_iterable_side_input (apache_beam.transforms.sideinputs_test.SideInputsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/transforms/sideinputs_test.py", line 177, in test_iterable_side_input
>     pipeline.run()
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/testing/test_pipeline.py", line 96, in run
>     result = super(TestPipeline, self).run()
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/pipeline.py", line 329, in run
>     return self.runner.run(self)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/runners/dataflow/test_dataflow_runner.py", line 38, in run
>     self.result = super(TestDataflowRunner, self).run(pipeline)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/runners/dataflow/dataflow_runner.py", line 252, in run
>     pipeline.visit(self.group_by_key_input_visitor())
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/pipeline.py", line 354, in visit
>     self._root_transform().visit(visitor, self, visited)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/pipeline.py", line 692, in visit
>     part.visit(visitor, pipeline, visited)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/pipeline.py", line 692, in visit
>     part.visit(visitor, pipeline, visited)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/pipeline.py", line 692, in visit
>     part.visit(visitor, pipeline, visited)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/pipeline.py", line 695, in visit
>     visitor.visit_transform(self)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/runners/dataflow/dataflow_runner.py", line 202, in visit_transform
>     "Found %s for %s" % (input_type, pcoll))
> ValueError: Input to GroupByKey must be of Tuple or Any type. Found Union[Tuple[NoneType, Tuple[Any, Any]], Tuple[NoneType, Tuple[Any, NoneType]]] for PCollection[assert_that/Group/Flatten.None]
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.4.14#64029)