[jira] [Work logged] (BEAM-6429) apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input fails in Python 3.6
[ https://issues.apache.org/jira/browse/BEAM-6429?focusedWorklogId=248345=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-248345 ] ASF GitHub Bot logged work on BEAM-6429: Author: ASF GitHub Bot Created on: 24/May/19 22:41 Start Date: 24/May/19 22:41 Worklog Time Spent: 10m Work Description: udim commented on pull request #8654: [BEAM-6429] side-input type coercion for multimaps URL: https://github.com/apache/beam/pull/8654 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 248345) Time Spent: 3h (was: 2h 50m) > apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input > fails in Python 3.6 > > > Key: BEAM-6429 > URL: https://issues.apache.org/jira/browse/BEAM-6429 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: Udi Meiri >Priority: Minor > Time Spent: 3h > Remaining Estimate: 0h > > {noformat} > ERROR: test_multimap_side_input > (apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest) > -- > Traceback (most recent call last): > File > "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py", > line 230, in test_multimap_side_input > equal_to([('a', [1, 3]), ('b', [2])])) > File "/beam/sdks/python/apache_beam/pipeline.py", line 425, in __exit__ > self.run().wait_until_finish() > File "/beam/sdks/python/apache_beam/pipeline.py", line 405, in run > self._options).run(False) > File "/beam/sdks/python/apache_beam/pipeline.py", line 418, in run > return self.runner.run_pipeline(self, self._options) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 265, in run_pipeline > default_environment=self._default_environment)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 268, in run_via_runner_api > return self.run_stages(*self.create_stages(pipeline_proto)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 355, in run_stages > safe_coders) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 449, in run_stage > elements_by_window = _WindowGroupingBuffer(si, value_coder) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 191, in __init__ > self._key_coder = coder.wrapped_value_coder.key_coder() > File "/beam/sdks/python/apache_beam/coders/coders.py", line 177, in key_coder > raise ValueError('Not a KV coder: %s.' % self) > ValueError: Not a KV coder: BytesCoder.{noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (BEAM-6429) apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input fails in Python 3.6
[ https://issues.apache.org/jira/browse/BEAM-6429?focusedWorklogId=248184=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-248184 ] ASF GitHub Bot logged work on BEAM-6429: Author: ASF GitHub Bot Created on: 24/May/19 17:58 Start Date: 24/May/19 17:58 Worklog Time Spent: 10m Work Description: udim commented on issue #8654: [BEAM-6429] side-input type coercion for multimaps URL: https://github.com/apache/beam/pull/8654#issuecomment-495732741 run python postcommit This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 248184) Time Spent: 2h 50m (was: 2h 40m) > apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input > fails in Python 3.6 > > > Key: BEAM-6429 > URL: https://issues.apache.org/jira/browse/BEAM-6429 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: Udi Meiri >Priority: Minor > Time Spent: 2h 50m > Remaining Estimate: 0h > > {noformat} > ERROR: test_multimap_side_input > (apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest) > -- > Traceback (most recent call last): > File > "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py", > line 230, in test_multimap_side_input > equal_to([('a', [1, 3]), ('b', [2])])) > File "/beam/sdks/python/apache_beam/pipeline.py", line 425, in __exit__ > self.run().wait_until_finish() > File "/beam/sdks/python/apache_beam/pipeline.py", line 405, in run > self._options).run(False) > File "/beam/sdks/python/apache_beam/pipeline.py", line 418, in run > return self.runner.run_pipeline(self, self._options) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 265, in run_pipeline > default_environment=self._default_environment)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 268, in run_via_runner_api > return self.run_stages(*self.create_stages(pipeline_proto)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 355, in run_stages > safe_coders) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 449, in run_stage > elements_by_window = _WindowGroupingBuffer(si, value_coder) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 191, in __init__ > self._key_coder = coder.wrapped_value_coder.key_coder() > File "/beam/sdks/python/apache_beam/coders/coders.py", line 177, in key_coder > raise ValueError('Not a KV coder: %s.' % self) > ValueError: Not a KV coder: BytesCoder.{noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (BEAM-6429) apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input fails in Python 3.6
[ https://issues.apache.org/jira/browse/BEAM-6429?focusedWorklogId=248121=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-248121 ] ASF GitHub Bot logged work on BEAM-6429: Author: ASF GitHub Bot Created on: 24/May/19 16:24 Start Date: 24/May/19 16:24 Worklog Time Spent: 10m Work Description: udim commented on issue #8654: [BEAM-6429] side-input type coercion for multimaps URL: https://github.com/apache/beam/pull/8654#issuecomment-495697352 postcommits failing due to insufficient quota https://issues.apache.org/jira/browse/BEAM-7410 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 248121) Time Spent: 2h 40m (was: 2.5h) > apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input > fails in Python 3.6 > > > Key: BEAM-6429 > URL: https://issues.apache.org/jira/browse/BEAM-6429 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: Udi Meiri >Priority: Minor > Time Spent: 2h 40m > Remaining Estimate: 0h > > {noformat} > ERROR: test_multimap_side_input > (apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest) > -- > Traceback (most recent call last): > File > "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py", > line 230, in test_multimap_side_input > equal_to([('a', [1, 3]), ('b', [2])])) > File "/beam/sdks/python/apache_beam/pipeline.py", line 425, in __exit__ > self.run().wait_until_finish() > File "/beam/sdks/python/apache_beam/pipeline.py", line 405, in run > self._options).run(False) > File "/beam/sdks/python/apache_beam/pipeline.py", line 418, in run > return self.runner.run_pipeline(self, self._options) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 265, in run_pipeline > default_environment=self._default_environment)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 268, in run_via_runner_api > return self.run_stages(*self.create_stages(pipeline_proto)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 355, in run_stages > safe_coders) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 449, in run_stage > elements_by_window = _WindowGroupingBuffer(si, value_coder) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 191, in __init__ > self._key_coder = coder.wrapped_value_coder.key_coder() > File "/beam/sdks/python/apache_beam/coders/coders.py", line 177, in key_coder > raise ValueError('Not a KV coder: %s.' % self) > ValueError: Not a KV coder: BytesCoder.{noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (BEAM-6429) apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input fails in Python 3.6
[ https://issues.apache.org/jira/browse/BEAM-6429?focusedWorklogId=247938=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-247938 ] ASF GitHub Bot logged work on BEAM-6429: Author: ASF GitHub Bot Created on: 24/May/19 08:46 Start Date: 24/May/19 08:46 Worklog Time Spent: 10m Work Description: robertwb commented on issue #8654: [BEAM-6429] side-input type coercion for multimaps URL: https://github.com/apache/beam/pull/8654#issuecomment-495526884 My bad for trying to edit in the github ui :(. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 247938) Time Spent: 2h 20m (was: 2h 10m) > apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input > fails in Python 3.6 > > > Key: BEAM-6429 > URL: https://issues.apache.org/jira/browse/BEAM-6429 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: Udi Meiri >Priority: Minor > Time Spent: 2h 20m > Remaining Estimate: 0h > > {noformat} > ERROR: test_multimap_side_input > (apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest) > -- > Traceback (most recent call last): > File > "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py", > line 230, in test_multimap_side_input > equal_to([('a', [1, 3]), ('b', [2])])) > File "/beam/sdks/python/apache_beam/pipeline.py", line 425, in __exit__ > self.run().wait_until_finish() > File "/beam/sdks/python/apache_beam/pipeline.py", line 405, in run > self._options).run(False) > File "/beam/sdks/python/apache_beam/pipeline.py", line 418, in run > return self.runner.run_pipeline(self, self._options) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 265, in run_pipeline > default_environment=self._default_environment)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 268, in run_via_runner_api > return self.run_stages(*self.create_stages(pipeline_proto)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 355, in run_stages > safe_coders) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 449, in run_stage > elements_by_window = _WindowGroupingBuffer(si, value_coder) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 191, in __init__ > self._key_coder = coder.wrapped_value_coder.key_coder() > File "/beam/sdks/python/apache_beam/coders/coders.py", line 177, in key_coder > raise ValueError('Not a KV coder: %s.' % self) > ValueError: Not a KV coder: BytesCoder.{noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (BEAM-6429) apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input fails in Python 3.6
[ https://issues.apache.org/jira/browse/BEAM-6429?focusedWorklogId=247939=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-247939 ] ASF GitHub Bot logged work on BEAM-6429: Author: ASF GitHub Bot Created on: 24/May/19 08:46 Start Date: 24/May/19 08:46 Worklog Time Spent: 10m Work Description: robertwb commented on issue #8654: [BEAM-6429] side-input type coercion for multimaps URL: https://github.com/apache/beam/pull/8654#issuecomment-495526944 run python postcommit This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 247939) Time Spent: 2.5h (was: 2h 20m) > apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input > fails in Python 3.6 > > > Key: BEAM-6429 > URL: https://issues.apache.org/jira/browse/BEAM-6429 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: Udi Meiri >Priority: Minor > Time Spent: 2.5h > Remaining Estimate: 0h > > {noformat} > ERROR: test_multimap_side_input > (apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest) > -- > Traceback (most recent call last): > File > "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py", > line 230, in test_multimap_side_input > equal_to([('a', [1, 3]), ('b', [2])])) > File "/beam/sdks/python/apache_beam/pipeline.py", line 425, in __exit__ > self.run().wait_until_finish() > File "/beam/sdks/python/apache_beam/pipeline.py", line 405, in run > self._options).run(False) > File "/beam/sdks/python/apache_beam/pipeline.py", line 418, in run > return self.runner.run_pipeline(self, self._options) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 265, in run_pipeline > default_environment=self._default_environment)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 268, in run_via_runner_api > return self.run_stages(*self.create_stages(pipeline_proto)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 355, in run_stages > safe_coders) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 449, in run_stage > elements_by_window = _WindowGroupingBuffer(si, value_coder) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 191, in __init__ > self._key_coder = coder.wrapped_value_coder.key_coder() > File "/beam/sdks/python/apache_beam/coders/coders.py", line 177, in key_coder > raise ValueError('Not a KV coder: %s.' % self) > ValueError: Not a KV coder: BytesCoder.{noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (BEAM-6429) apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input fails in Python 3.6
[ https://issues.apache.org/jira/browse/BEAM-6429?focusedWorklogId=247817=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-247817 ] ASF GitHub Bot logged work on BEAM-6429: Author: ASF GitHub Bot Created on: 24/May/19 01:25 Start Date: 24/May/19 01:25 Worklog Time Spent: 10m Work Description: udim commented on issue #8654: [BEAM-6429] side-input type coercion for multimaps URL: https://github.com/apache/beam/pull/8654#issuecomment-495439611 run python postcommit This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 247817) Time Spent: 2h 10m (was: 2h) > apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input > fails in Python 3.6 > > > Key: BEAM-6429 > URL: https://issues.apache.org/jira/browse/BEAM-6429 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: Udi Meiri >Priority: Minor > Time Spent: 2h 10m > Remaining Estimate: 0h > > {noformat} > ERROR: test_multimap_side_input > (apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest) > -- > Traceback (most recent call last): > File > "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py", > line 230, in test_multimap_side_input > equal_to([('a', [1, 3]), ('b', [2])])) > File "/beam/sdks/python/apache_beam/pipeline.py", line 425, in __exit__ > self.run().wait_until_finish() > File "/beam/sdks/python/apache_beam/pipeline.py", line 405, in run > self._options).run(False) > File "/beam/sdks/python/apache_beam/pipeline.py", line 418, in run > return self.runner.run_pipeline(self, self._options) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 265, in run_pipeline > default_environment=self._default_environment)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 268, in run_via_runner_api > return self.run_stages(*self.create_stages(pipeline_proto)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 355, in run_stages > safe_coders) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 449, in run_stage > elements_by_window = _WindowGroupingBuffer(si, value_coder) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 191, in __init__ > self._key_coder = coder.wrapped_value_coder.key_coder() > File "/beam/sdks/python/apache_beam/coders/coders.py", line 177, in key_coder > raise ValueError('Not a KV coder: %s.' % self) > ValueError: Not a KV coder: BytesCoder.{noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (BEAM-6429) apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input fails in Python 3.6
[ https://issues.apache.org/jira/browse/BEAM-6429?focusedWorklogId=247772=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-247772 ] ASF GitHub Bot logged work on BEAM-6429: Author: ASF GitHub Bot Created on: 23/May/19 23:34 Start Date: 23/May/19 23:34 Worklog Time Spent: 10m Work Description: udim commented on issue #8654: [BEAM-6429] side-input type coercion for multimaps URL: https://github.com/apache/beam/pull/8654#issuecomment-495421084 run python postcommit This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 247772) Time Spent: 2h (was: 1h 50m) > apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input > fails in Python 3.6 > > > Key: BEAM-6429 > URL: https://issues.apache.org/jira/browse/BEAM-6429 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: Udi Meiri >Priority: Minor > Time Spent: 2h > Remaining Estimate: 0h > > {noformat} > ERROR: test_multimap_side_input > (apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest) > -- > Traceback (most recent call last): > File > "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py", > line 230, in test_multimap_side_input > equal_to([('a', [1, 3]), ('b', [2])])) > File "/beam/sdks/python/apache_beam/pipeline.py", line 425, in __exit__ > self.run().wait_until_finish() > File "/beam/sdks/python/apache_beam/pipeline.py", line 405, in run > self._options).run(False) > File "/beam/sdks/python/apache_beam/pipeline.py", line 418, in run > return self.runner.run_pipeline(self, self._options) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 265, in run_pipeline > default_environment=self._default_environment)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 268, in run_via_runner_api > return self.run_stages(*self.create_stages(pipeline_proto)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 355, in run_stages > safe_coders) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 449, in run_stage > elements_by_window = _WindowGroupingBuffer(si, value_coder) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 191, in __init__ > self._key_coder = coder.wrapped_value_coder.key_coder() > File "/beam/sdks/python/apache_beam/coders/coders.py", line 177, in key_coder > raise ValueError('Not a KV coder: %s.' % self) > ValueError: Not a KV coder: BytesCoder.{noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (BEAM-6429) apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input fails in Python 3.6
[ https://issues.apache.org/jira/browse/BEAM-6429?focusedWorklogId=247475=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-247475 ] ASF GitHub Bot logged work on BEAM-6429: Author: ASF GitHub Bot Created on: 23/May/19 15:31 Start Date: 23/May/19 15:31 Worklog Time Spent: 10m Work Description: lukecwik commented on issue #8654: [BEAM-6429] side-input type coercion for multimaps URL: https://github.com/apache/beam/pull/8654#issuecomment-495268817 ``` Error Message coerce_to_kv_type() takes at most 3 arguments (4 given) Stacktrace Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 329, in run testMethod() File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/build/srcs/sdks/python/apache_beam/typehints/typehints_test.py", line 1127, in test_coercion_fail typehints.coerce_to_kv_type(*args) TypeError: coerce_to_kv_type() takes at most 3 arguments (4 given) ``` This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 247475) Time Spent: 1h 50m (was: 1h 40m) > apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input > fails in Python 3.6 > > > Key: BEAM-6429 > URL: https://issues.apache.org/jira/browse/BEAM-6429 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: Udi Meiri >Priority: Minor > Time Spent: 1h 50m > Remaining Estimate: 0h > > {noformat} > ERROR: test_multimap_side_input > (apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest) > -- > Traceback (most recent call last): > File > "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py", > line 230, in test_multimap_side_input > equal_to([('a', [1, 3]), ('b', [2])])) > File "/beam/sdks/python/apache_beam/pipeline.py", line 425, in __exit__ > self.run().wait_until_finish() > File "/beam/sdks/python/apache_beam/pipeline.py", line 405, in run > self._options).run(False) > File "/beam/sdks/python/apache_beam/pipeline.py", line 418, in run > return self.runner.run_pipeline(self, self._options) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 265, in run_pipeline > default_environment=self._default_environment)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 268, in run_via_runner_api > return self.run_stages(*self.create_stages(pipeline_proto)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 355, in run_stages > safe_coders) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 449, in run_stage > elements_by_window = _WindowGroupingBuffer(si, value_coder) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 191, in __init__ > self._key_coder = coder.wrapped_value_coder.key_coder() > File "/beam/sdks/python/apache_beam/coders/coders.py", line 177, in key_coder > raise ValueError('Not a KV coder: %s.' % self) > ValueError: Not a KV coder: BytesCoder.{noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (BEAM-6429) apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input fails in Python 3.6
[ https://issues.apache.org/jira/browse/BEAM-6429?focusedWorklogId=247100=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-247100 ] ASF GitHub Bot logged work on BEAM-6429: Author: ASF GitHub Bot Created on: 22/May/19 22:23 Start Date: 22/May/19 22:23 Worklog Time Spent: 10m Work Description: udim commented on issue #8654: [BEAM-6429] side-input type coercion for multimaps URL: https://github.com/apache/beam/pull/8654#issuecomment-494996448 run python postcommit This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 247100) Time Spent: 1h 40m (was: 1.5h) > apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input > fails in Python 3.6 > > > Key: BEAM-6429 > URL: https://issues.apache.org/jira/browse/BEAM-6429 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: Udi Meiri >Priority: Minor > Time Spent: 1h 40m > Remaining Estimate: 0h > > {noformat} > ERROR: test_multimap_side_input > (apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest) > -- > Traceback (most recent call last): > File > "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py", > line 230, in test_multimap_side_input > equal_to([('a', [1, 3]), ('b', [2])])) > File "/beam/sdks/python/apache_beam/pipeline.py", line 425, in __exit__ > self.run().wait_until_finish() > File "/beam/sdks/python/apache_beam/pipeline.py", line 405, in run > self._options).run(False) > File "/beam/sdks/python/apache_beam/pipeline.py", line 418, in run > return self.runner.run_pipeline(self, self._options) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 265, in run_pipeline > default_environment=self._default_environment)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 268, in run_via_runner_api > return self.run_stages(*self.create_stages(pipeline_proto)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 355, in run_stages > safe_coders) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 449, in run_stage > elements_by_window = _WindowGroupingBuffer(si, value_coder) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 191, in __init__ > self._key_coder = coder.wrapped_value_coder.key_coder() > File "/beam/sdks/python/apache_beam/coders/coders.py", line 177, in key_coder > raise ValueError('Not a KV coder: %s.' % self) > ValueError: Not a KV coder: BytesCoder.{noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (BEAM-6429) apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input fails in Python 3.6
[ https://issues.apache.org/jira/browse/BEAM-6429?focusedWorklogId=247099=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-247099 ] ASF GitHub Bot logged work on BEAM-6429: Author: ASF GitHub Bot Created on: 22/May/19 22:23 Start Date: 22/May/19 22:23 Worklog Time Spent: 10m Work Description: udim commented on issue #8654: [BEAM-6429] side-input type coercion for multimaps URL: https://github.com/apache/beam/pull/8654#issuecomment-494996396 R: @lukecwik This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 247099) Time Spent: 1.5h (was: 1h 20m) > apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input > fails in Python 3.6 > > > Key: BEAM-6429 > URL: https://issues.apache.org/jira/browse/BEAM-6429 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: Udi Meiri >Priority: Minor > Time Spent: 1.5h > Remaining Estimate: 0h > > {noformat} > ERROR: test_multimap_side_input > (apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest) > -- > Traceback (most recent call last): > File > "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py", > line 230, in test_multimap_side_input > equal_to([('a', [1, 3]), ('b', [2])])) > File "/beam/sdks/python/apache_beam/pipeline.py", line 425, in __exit__ > self.run().wait_until_finish() > File "/beam/sdks/python/apache_beam/pipeline.py", line 405, in run > self._options).run(False) > File "/beam/sdks/python/apache_beam/pipeline.py", line 418, in run > return self.runner.run_pipeline(self, self._options) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 265, in run_pipeline > default_environment=self._default_environment)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 268, in run_via_runner_api > return self.run_stages(*self.create_stages(pipeline_proto)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 355, in run_stages > safe_coders) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 449, in run_stage > elements_by_window = _WindowGroupingBuffer(si, value_coder) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 191, in __init__ > self._key_coder = coder.wrapped_value_coder.key_coder() > File "/beam/sdks/python/apache_beam/coders/coders.py", line 177, in key_coder > raise ValueError('Not a KV coder: %s.' % self) > ValueError: Not a KV coder: BytesCoder.{noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (BEAM-6429) apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input fails in Python 3.6
[ https://issues.apache.org/jira/browse/BEAM-6429?focusedWorklogId=247098=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-247098 ] ASF GitHub Bot logged work on BEAM-6429: Author: ASF GitHub Bot Created on: 22/May/19 22:23 Start Date: 22/May/19 22:23 Worklog Time Spent: 10m Work Description: udim commented on issue #8654: [BEAM-6429] side-input type coercion for multimaps URL: https://github.com/apache/beam/pull/8654#issuecomment-494996345 cc: @robertwb This might also resolve BEAM-4782 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 247098) Time Spent: 1h 20m (was: 1h 10m) > apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input > fails in Python 3.6 > > > Key: BEAM-6429 > URL: https://issues.apache.org/jira/browse/BEAM-6429 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: Udi Meiri >Priority: Minor > Time Spent: 1h 20m > Remaining Estimate: 0h > > {noformat} > ERROR: test_multimap_side_input > (apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest) > -- > Traceback (most recent call last): > File > "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py", > line 230, in test_multimap_side_input > equal_to([('a', [1, 3]), ('b', [2])])) > File "/beam/sdks/python/apache_beam/pipeline.py", line 425, in __exit__ > self.run().wait_until_finish() > File "/beam/sdks/python/apache_beam/pipeline.py", line 405, in run > self._options).run(False) > File "/beam/sdks/python/apache_beam/pipeline.py", line 418, in run > return self.runner.run_pipeline(self, self._options) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 265, in run_pipeline > default_environment=self._default_environment)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 268, in run_via_runner_api > return self.run_stages(*self.create_stages(pipeline_proto)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 355, in run_stages > safe_coders) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 449, in run_stage > elements_by_window = _WindowGroupingBuffer(si, value_coder) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 191, in __init__ > self._key_coder = coder.wrapped_value_coder.key_coder() > File "/beam/sdks/python/apache_beam/coders/coders.py", line 177, in key_coder > raise ValueError('Not a KV coder: %s.' % self) > ValueError: Not a KV coder: BytesCoder.{noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (BEAM-6429) apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input fails in Python 3.6
[ https://issues.apache.org/jira/browse/BEAM-6429?focusedWorklogId=247097=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-247097 ] ASF GitHub Bot logged work on BEAM-6429: Author: ASF GitHub Bot Created on: 22/May/19 22:22 Start Date: 22/May/19 22:22 Worklog Time Spent: 10m Work Description: udim commented on pull request #8654: [BEAM-6429] side-input type coercion for multimaps URL: https://github.com/apache/beam/pull/8654 This might also resolve BEAM-4782. Removes unused _input_element_coder, whose usage was removed in PR #5302. Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily: - [ ] [**Choose reviewer(s)**](https://beam.apache.org/contribute/#make-your-change) and mention them in a comment (`R: @username`). - [ ] Format the pull request title like `[BEAM-XXX] Fixes bug in ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue. - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). Post-Commit Tests Status (on master branch) Lang | SDK | Apex | Dataflow | Flink | Gearpump | Samza | Spark --- | --- | --- | --- | --- | --- | --- | --- Go | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Go/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Go/lastCompletedBuild/) | --- | --- | --- | --- | --- | --- Java | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink/lastCompletedBuild/)[![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Batch/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Batch/lastCompletedBuild/)[![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Streaming/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Streaming/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark/lastCompletedBuild/) Python | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Python_Verify/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Python_Verify/lastCompletedBuild/)[![Build Status](https://builds.apache.org/job/beam_PostCommit_Python3_Verify/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Python3_Verify/lastCompletedBuild/) | --- | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Py_VR_Dataflow/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Py_VR_Dataflow/lastCompletedBuild/) [![Build Status](https://builds.apache.org/job/beam_PostCommit_Py_ValCont/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Py_ValCont/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PreCommit_Python_PVR_Flink_Cron/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PreCommit_Python_PVR_Flink_Cron/lastCompletedBuild/) | --- | --- | --- Pre-Commit Tests Status (on master branch) --- |Java | Python | Go | Website --- | ---
[jira] [Work logged] (BEAM-6429) apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input fails in Python 3.6
[ https://issues.apache.org/jira/browse/BEAM-6429?focusedWorklogId=241718=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-241718 ] ASF GitHub Bot logged work on BEAM-6429: Author: ASF GitHub Bot Created on: 14/May/19 13:21 Start Date: 14/May/19 13:21 Worklog Time Spent: 10m Work Description: fredo838 commented on pull request #8572: [BEAM-6429] Addressing K,V coders in python 3.6 URL: https://github.com/apache/beam/pull/8572 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 241718) Time Spent: 1h (was: 50m) > apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input > fails in Python 3.6 > > > Key: BEAM-6429 > URL: https://issues.apache.org/jira/browse/BEAM-6429 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: Frederik Bode >Priority: Minor > Time Spent: 1h > Remaining Estimate: 0h > > {noformat} > ERROR: test_multimap_side_input > (apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest) > -- > Traceback (most recent call last): > File > "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py", > line 230, in test_multimap_side_input > equal_to([('a', [1, 3]), ('b', [2])])) > File "/beam/sdks/python/apache_beam/pipeline.py", line 425, in __exit__ > self.run().wait_until_finish() > File "/beam/sdks/python/apache_beam/pipeline.py", line 405, in run > self._options).run(False) > File "/beam/sdks/python/apache_beam/pipeline.py", line 418, in run > return self.runner.run_pipeline(self, self._options) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 265, in run_pipeline > default_environment=self._default_environment)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 268, in run_via_runner_api > return self.run_stages(*self.create_stages(pipeline_proto)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 355, in run_stages > safe_coders) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 449, in run_stage > elements_by_window = _WindowGroupingBuffer(si, value_coder) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 191, in __init__ > self._key_coder = coder.wrapped_value_coder.key_coder() > File "/beam/sdks/python/apache_beam/coders/coders.py", line 177, in key_coder > raise ValueError('Not a KV coder: %s.' % self) > ValueError: Not a KV coder: BytesCoder.{noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (BEAM-6429) apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input fails in Python 3.6
[ https://issues.apache.org/jira/browse/BEAM-6429?focusedWorklogId=241717=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-241717 ] ASF GitHub Bot logged work on BEAM-6429: Author: ASF GitHub Bot Created on: 14/May/19 13:19 Start Date: 14/May/19 13:19 Worklog Time Spent: 10m Work Description: fredo838 commented on issue #8572: [BEAM-6429] Addressing K,V coders in python 3.6 URL: https://github.com/apache/beam/pull/8572#issuecomment-492233519 This PR tries to find out why running `python setup.py nosetests --tests apache_beam.runners.portability.fn_api_runner_test.py:FnApiRunnerTest.test_multimap_side_input` fails with a `Not a KV coder: BytesCoder`. This is JIRA issue [BEAM-6429](https://issues.apache.org/jira/browse/BEAM-6429). I went up the stacktrace, and noticed that the transform containing the multimap didn't have a `TupleCoder` (like in Python 3.5) as its coder, but a `FastPrimitivesCoder`. This is in de `pipeline_proto` variable, which led me to: ``` pcoll.element_type = typehints.coerce_to_kv_type( pcoll.element_type, transform_node.full_label) ``` (referenced [here](https://github.com/apache/beam/blob/5c7ee600ba8560102f61622c894633955d208f87/sdks/python/apache_beam/pipeline.py#L638-L639). ). This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 241717) Time Spent: 50m (was: 40m) > apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input > fails in Python 3.6 > > > Key: BEAM-6429 > URL: https://issues.apache.org/jira/browse/BEAM-6429 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: Frederik Bode >Priority: Minor > Time Spent: 50m > Remaining Estimate: 0h > > {noformat} > ERROR: test_multimap_side_input > (apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest) > -- > Traceback (most recent call last): > File > "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py", > line 230, in test_multimap_side_input > equal_to([('a', [1, 3]), ('b', [2])])) > File "/beam/sdks/python/apache_beam/pipeline.py", line 425, in __exit__ > self.run().wait_until_finish() > File "/beam/sdks/python/apache_beam/pipeline.py", line 405, in run > self._options).run(False) > File "/beam/sdks/python/apache_beam/pipeline.py", line 418, in run > return self.runner.run_pipeline(self, self._options) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 265, in run_pipeline > default_environment=self._default_environment)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 268, in run_via_runner_api > return self.run_stages(*self.create_stages(pipeline_proto)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 355, in run_stages > safe_coders) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 449, in run_stage > elements_by_window = _WindowGroupingBuffer(si, value_coder) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 191, in __init__ > self._key_coder = coder.wrapped_value_coder.key_coder() > File "/beam/sdks/python/apache_beam/coders/coders.py", line 177, in key_coder > raise ValueError('Not a KV coder: %s.' % self) > ValueError: Not a KV coder: BytesCoder.{noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (BEAM-6429) apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input fails in Python 3.6
[ https://issues.apache.org/jira/browse/BEAM-6429?focusedWorklogId=241716=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-241716 ] ASF GitHub Bot logged work on BEAM-6429: Author: ASF GitHub Bot Created on: 14/May/19 13:19 Start Date: 14/May/19 13:19 Worklog Time Spent: 10m Work Description: fredo838 commented on issue #8572: [BEAM-6429] Addressing K,V coders in python 3.6 URL: https://github.com/apache/beam/pull/8572#issuecomment-492233519 This PR tries to find out why running `python setup.py nosetests --tests apache_beam.runners.portability.fn_api_runner_test.py:FnApiRunnerTest.test_multimap_side_input` fails with a `Not a KV coder: BytesCoder`. This is JIRA issue [BEAM-6429](https://issues.apache.org/jira/browse/BEAM-6429). I went up the stacktrace, and noticed that the transform containing the multimap didn't have a `TupleCoder` (like in Python 3.5) as its coder, but a `FastPrimitivesCoder`. This is in de `pipeline_proto` variable, which led me to: ``` pcoll.element_type = typehints.coerce_to_kv_type( pcoll.element_type, transform_node.full_label) ``` (referenced [here](https://github.com/apache/beam/blob/5c7ee600ba8560102f61622c894633955d208f87/sdks/python/apache_beam/pipeline.py#L638-L639). ). This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 241716) Time Spent: 40m (was: 0.5h) > apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input > fails in Python 3.6 > > > Key: BEAM-6429 > URL: https://issues.apache.org/jira/browse/BEAM-6429 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: Frederik Bode >Priority: Minor > Time Spent: 40m > Remaining Estimate: 0h > > {noformat} > ERROR: test_multimap_side_input > (apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest) > -- > Traceback (most recent call last): > File > "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py", > line 230, in test_multimap_side_input > equal_to([('a', [1, 3]), ('b', [2])])) > File "/beam/sdks/python/apache_beam/pipeline.py", line 425, in __exit__ > self.run().wait_until_finish() > File "/beam/sdks/python/apache_beam/pipeline.py", line 405, in run > self._options).run(False) > File "/beam/sdks/python/apache_beam/pipeline.py", line 418, in run > return self.runner.run_pipeline(self, self._options) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 265, in run_pipeline > default_environment=self._default_environment)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 268, in run_via_runner_api > return self.run_stages(*self.create_stages(pipeline_proto)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 355, in run_stages > safe_coders) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 449, in run_stage > elements_by_window = _WindowGroupingBuffer(si, value_coder) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 191, in __init__ > self._key_coder = coder.wrapped_value_coder.key_coder() > File "/beam/sdks/python/apache_beam/coders/coders.py", line 177, in key_coder > raise ValueError('Not a KV coder: %s.' % self) > ValueError: Not a KV coder: BytesCoder.{noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (BEAM-6429) apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input fails in Python 3.6
[ https://issues.apache.org/jira/browse/BEAM-6429?focusedWorklogId=241715=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-241715 ] ASF GitHub Bot logged work on BEAM-6429: Author: ASF GitHub Bot Created on: 14/May/19 13:19 Start Date: 14/May/19 13:19 Worklog Time Spent: 10m Work Description: fredo838 commented on issue #8572: [BEAM-6429] Addressing K,V coders in python 3.6 URL: https://github.com/apache/beam/pull/8572#issuecomment-492233519 This PR tries to find out why running `python setup.py nosetests --tests apache_beam.runners.portability.fn_api_runner_test.py:FnApiRunnerTest.test_multimap_side_input` fails with a `Not a KV coder: BytesCoder`. This is JIRA issue [BEAM-6429](https://issues.apache.org/jira/browse/BEAM-6429). I went up the stacktrace, and noticed that the transform containing the multimap didn't have a `TupleCoder` (like in Python 3.5) as its coder, but a `FastPrimitivesCoder`. This is in de `pipeline_proto` variable, which led me to: ``` pcoll.element_type = typehints.coerce_to_kv_type( pcoll.element_type, transform_node.full_label) ``` (referenced [here](https://github.com/apache/beam/blob/5c7ee600ba8560102f61622c894633955d208f87/sdks/python/apache_beam/pipeline.py#L638-L639). ). This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 241715) Time Spent: 0.5h (was: 20m) > apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input > fails in Python 3.6 > > > Key: BEAM-6429 > URL: https://issues.apache.org/jira/browse/BEAM-6429 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: Frederik Bode >Priority: Minor > Time Spent: 0.5h > Remaining Estimate: 0h > > {noformat} > ERROR: test_multimap_side_input > (apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest) > -- > Traceback (most recent call last): > File > "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py", > line 230, in test_multimap_side_input > equal_to([('a', [1, 3]), ('b', [2])])) > File "/beam/sdks/python/apache_beam/pipeline.py", line 425, in __exit__ > self.run().wait_until_finish() > File "/beam/sdks/python/apache_beam/pipeline.py", line 405, in run > self._options).run(False) > File "/beam/sdks/python/apache_beam/pipeline.py", line 418, in run > return self.runner.run_pipeline(self, self._options) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 265, in run_pipeline > default_environment=self._default_environment)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 268, in run_via_runner_api > return self.run_stages(*self.create_stages(pipeline_proto)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 355, in run_stages > safe_coders) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 449, in run_stage > elements_by_window = _WindowGroupingBuffer(si, value_coder) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 191, in __init__ > self._key_coder = coder.wrapped_value_coder.key_coder() > File "/beam/sdks/python/apache_beam/coders/coders.py", line 177, in key_coder > raise ValueError('Not a KV coder: %s.' % self) > ValueError: Not a KV coder: BytesCoder.{noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (BEAM-6429) apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input fails in Python 3.6
[ https://issues.apache.org/jira/browse/BEAM-6429?focusedWorklogId=241714=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-241714 ] ASF GitHub Bot logged work on BEAM-6429: Author: ASF GitHub Bot Created on: 14/May/19 13:18 Start Date: 14/May/19 13:18 Worklog Time Spent: 10m Work Description: fredo838 commented on issue #8572: [BEAM-6429] Addressing K,V coders in python 3.6 URL: https://github.com/apache/beam/pull/8572#issuecomment-492233519 This PR tries to find out why running `python setup.py nosetests --tests apache_beam.runners.portability.fn_api_runner_test.py:FnApiRunnerTest.test_multimap_side_input` fails with a `Not a KV coder: BytesCoder`. This is JIRA issue [BEAM-6429](https://issues.apache.org/jira/browse/BEAM-6429). I went up the stacktrace, and noticed that the transform containing the multimap didn't have a `TupleCoder` (like in Python 3.5) as its coder, but a `FastPrimitivesCoder`. This is in de `pipeline_proto` variable, which led me to [here](https://github.com/apache/beam/blob/5c7ee600ba8560102f61622c894633955d208f87/sdks/python/apache_beam/pipeline.py#L638-L639). This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 241714) Time Spent: 20m (was: 10m) > apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input > fails in Python 3.6 > > > Key: BEAM-6429 > URL: https://issues.apache.org/jira/browse/BEAM-6429 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: Frederik Bode >Priority: Minor > Time Spent: 20m > Remaining Estimate: 0h > > {noformat} > ERROR: test_multimap_side_input > (apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest) > -- > Traceback (most recent call last): > File > "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py", > line 230, in test_multimap_side_input > equal_to([('a', [1, 3]), ('b', [2])])) > File "/beam/sdks/python/apache_beam/pipeline.py", line 425, in __exit__ > self.run().wait_until_finish() > File "/beam/sdks/python/apache_beam/pipeline.py", line 405, in run > self._options).run(False) > File "/beam/sdks/python/apache_beam/pipeline.py", line 418, in run > return self.runner.run_pipeline(self, self._options) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 265, in run_pipeline > default_environment=self._default_environment)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 268, in run_via_runner_api > return self.run_stages(*self.create_stages(pipeline_proto)) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 355, in run_stages > safe_coders) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 449, in run_stage > elements_by_window = _WindowGroupingBuffer(si, value_coder) > File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", > line 191, in __init__ > self._key_coder = coder.wrapped_value_coder.key_coder() > File "/beam/sdks/python/apache_beam/coders/coders.py", line 177, in key_coder > raise ValueError('Not a KV coder: %s.' % self) > ValueError: Not a KV coder: BytesCoder.{noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (BEAM-6429) apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input fails in Python 3.6
[ https://issues.apache.org/jira/browse/BEAM-6429?focusedWorklogId=241699=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-241699 ] ASF GitHub Bot logged work on BEAM-6429: Author: ASF GitHub Bot Created on: 14/May/19 13:09 Start Date: 14/May/19 13:09 Worklog Time Spent: 10m Work Description: fredo838 commented on pull request #8572: Fixing BEAM-6429 URL: https://github.com/apache/beam/pull/8572 This is is part of a series of PRs with goal to make Apache Beam PY3 compatible. The proposal with the outlined approach has been documented here: https://s.apache.org/beam-python-3. This PR tries to address BEAM-6429. Post-Commit Tests Status (on master branch) Lang | SDK | Apex | Dataflow | Flink | Gearpump | Samza | Spark --- | --- | --- | --- | --- | --- | --- | --- Go | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Go/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Go/lastCompletedBuild/) | --- | --- | --- | --- | --- | --- Java | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink/lastCompletedBuild/)[![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Batch/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Batch/lastCompletedBuild/)[![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Streaming/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Streaming/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark/lastCompletedBuild/) Python | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Python_Verify/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Python_Verify/lastCompletedBuild/)[![Build Status](https://builds.apache.org/job/beam_PostCommit_Python3_Verify/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Python3_Verify/lastCompletedBuild/) | --- | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Py_VR_Dataflow/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Py_VR_Dataflow/lastCompletedBuild/) [![Build Status](https://builds.apache.org/job/beam_PostCommit_Py_ValCont/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Py_ValCont/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PreCommit_Python_PVR_Flink_Cron/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PreCommit_Python_PVR_Flink_Cron/lastCompletedBuild/) | --- | --- | --- Pre-Commit Tests Status (on master branch) --- |Java | Python | Go | Website --- | --- | --- | --- | --- Non-portable | [![Build Status](https://builds.apache.org/job/beam_PreCommit_Java_Cron/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PreCommit_Java_Cron/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PreCommit_Python_Cron/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PreCommit_Python_Cron/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PreCommit_Go_Cron/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PreCommit_Go_Cron/lastCompletedBuild/) | [![Build