rahuliyer95 commented on issue #22854:
URL: https://github.com/apache/beam/issues/22854#issuecomment-1226385572
Trying to run with `--no_pipeline_type_check` fails with the following
exception,
```
Traceback (most recent call last):
File
"/opt/twitter_mde/package/eepython37/886055eae06dbd005860a8b21c6f43355dd92462660a6eda8e580552513a78a2/lib/python3.7/runpy.py",
line 193, in _run_module_as_main
"__main__", mod_spec)
File
"/opt/twitter_mde/package/eepython37/886055eae06dbd005860a8b21c6f43355dd92462660a6eda8e580552513a78a2/lib/python3.7/runpy.py",
line 85, in _run_code
exec(code, run_globals)
File
"/private/var/folders/yt/m4jhm2d5197c62c7v0kx77fc0000gp/T/tmp9busrhl0/__main__.py",
line 87, in <module>
bootstrap_pex(__entry_point__)
File
"/private/var/folders/yt/m4jhm2d5197c62c7v0kx77fc0000gp/T/tmp9busrhl0/.bootstrap/pex/pex_bootstrapper.py",
line 591, in bootstrap_pex
pex.PEX(entry_point).execute()
File
"/private/var/folders/yt/m4jhm2d5197c62c7v0kx77fc0000gp/T/tmp9busrhl0/.bootstrap/pex/pex.py",
line 528, in execute
sys.exit(self._wrap_coverage(self._wrap_profiling, self._execute))
File
"/private/var/folders/yt/m4jhm2d5197c62c7v0kx77fc0000gp/T/tmp9busrhl0/.bootstrap/pex/pex.py",
line 435, in _wrap_coverage
return runner(*args)
File
"/private/var/folders/yt/m4jhm2d5197c62c7v0kx77fc0000gp/T/tmp9busrhl0/.bootstrap/pex/pex.py",
line 466, in _wrap_profiling
return runner(*args)
File
"/private/var/folders/yt/m4jhm2d5197c62c7v0kx77fc0000gp/T/tmp9busrhl0/.bootstrap/pex/pex.py",
line 556, in _execute
EntryPoint.parse("run = {}".format(self._pex_info.entry_point))
File
"/private/var/folders/yt/m4jhm2d5197c62c7v0kx77fc0000gp/T/tmp9busrhl0/.bootstrap/pex/pex.py",
line 739, in execute_entry
return self.execute_module(entry_point.module)
File
"/private/var/folders/yt/m4jhm2d5197c62c7v0kx77fc0000gp/T/tmp9busrhl0/.bootstrap/pex/pex.py",
line 747, in execute_module
runpy.run_module(module_name, run_name="__main__", alter_sys=True)
File
"/opt/twitter_mde/package/eepython37/886055eae06dbd005860a8b21c6f43355dd92462660a6eda8e580552513a78a2/lib/python3.7/runpy.py",
line 205, in run_module
return _run_module_code(code, init_globals, run_name, mod_spec)
File
"/opt/twitter_mde/package/eepython37/886055eae06dbd005860a8b21c6f43355dd92462660a6eda8e580552513a78a2/lib/python3.7/runpy.py",
line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File
"/opt/twitter_mde/package/eepython37/886055eae06dbd005860a8b21c6f43355dd92462660a6eda8e580552513a78a2/lib/python3.7/runpy.py",
line 85, in _run_code
exec(code, run_globals)
File
"/private/var/folders/yt/m4jhm2d5197c62c7v0kx77fc0000gp/T/tmp9busrhl0/twitter/udp/integration_tests/jobs/dal_read_job.py",
line 180, in <module>
main()
File
"/private/var/folders/yt/m4jhm2d5197c62c7v0kx77fc0000gp/T/tmp9busrhl0/twitter/udp/integration_tests/jobs/dal_read_job.py",
line 162, in main
| "PublicTweets.Rows.WriteText"
File
"/private/var/folders/yt/m4jhm2d5197c62c7v0kx77fc0000gp/T/tmp9busrhl0/.deps/apache_beam-2.41.0-py3-none-any.whl/apache_beam/transforms/ptransform.py",
line 1095, in __ror__
return self.transform.__ror__(pvalueish, self.label)
File
"/private/var/folders/yt/m4jhm2d5197c62c7v0kx77fc0000gp/T/tmp9busrhl0/.deps/apache_beam-2.41.0-py3-none-any.whl/apache_beam/transforms/ptransform.py",
line 617, in __ror__
result = p.apply(self, pvalueish, label)
File
"/private/var/folders/yt/m4jhm2d5197c62c7v0kx77fc0000gp/T/tmp9busrhl0/.deps/apache_beam-2.41.0-py3-none-any.whl/apache_beam/pipeline.py",
line 663, in apply
return self.apply(transform, pvalueish)
File
"/private/var/folders/yt/m4jhm2d5197c62c7v0kx77fc0000gp/T/tmp9busrhl0/.deps/apache_beam-2.41.0-py3-none-any.whl/apache_beam/pipeline.py",
line 709, in apply
pvalueish_result = self.runner.apply(transform, pvalueish, self._options)
File
"/private/var/folders/yt/m4jhm2d5197c62c7v0kx77fc0000gp/T/tmp9busrhl0/.deps/apache_beam-2.41.0-py3-none-any.whl/apache_beam/runners/dataflow/dataflow_runner.py",
line 141, in apply
return super().apply(transform, input, options)
File
"/private/var/folders/yt/m4jhm2d5197c62c7v0kx77fc0000gp/T/tmp9busrhl0/.deps/apache_beam-2.41.0-py3-none-any.whl/apache_beam/runners/runner.py",
line 185, in apply
return m(transform, input, options)
File
"/private/var/folders/yt/m4jhm2d5197c62c7v0kx77fc0000gp/T/tmp9busrhl0/.deps/apache_beam-2.41.0-py3-none-any.whl/apache_beam/runners/runner.py",
line 215, in apply_PTransform
return transform.expand(input)
File
"/private/var/folders/yt/m4jhm2d5197c62c7v0kx77fc0000gp/T/tmp9busrhl0/.deps/apache_beam-2.41.0-py3-none-any.whl/apache_beam/transforms/external.py",
line 506, in expand
if self._type_hints.output_types:
AttributeError: 'ExternalTransform' object has no attribute '_type_hints'
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]