[
https://issues.apache.org/jira/browse/BEAM-5442?focusedWorklogId=151771&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-151771
]
ASF GitHub Bot logged work on BEAM-5442:
----------------------------------------
Author: ASF GitHub Bot
Created on: 05/Oct/18 18:19
Start Date: 05/Oct/18 18:19
Worklog Time Spent: 10m
Work Description: tweise closed pull request #6584: [BEAM-5442] Use
logging.warning instead of deprecated logging.warn
URL: https://github.com/apache/beam/pull/6584
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/sdks/python/apache_beam/options/pipeline_options.py
b/sdks/python/apache_beam/options/pipeline_options.py
index bc8c962bcd4..d74803873a9 100644
--- a/sdks/python/apache_beam/options/pipeline_options.py
+++ b/sdks/python/apache_beam/options/pipeline_options.py
@@ -225,7 +225,7 @@ def get_all_options(self, drop_default=False):
# repeat parsing with unknown options added
known_args, unknown_args = parser.parse_known_args(self._flags)
if unknown_args:
- logging.warn("Discarding unparseable args: %s", unknown_args)
+ logging.warning("Discarding unparseable args: %s", unknown_args)
result = vars(known_args)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 151771)
Time Spent: 5.5h (was: 5h 20m)
> PortableRunner swallows custom options for Runner
> -------------------------------------------------
>
> Key: BEAM-5442
> URL: https://issues.apache.org/jira/browse/BEAM-5442
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-core, sdk-py-core
> Reporter: Maximilian Michels
> Assignee: Maximilian Michels
> Priority: Major
> Labels: portability, portability-flink
> Fix For: 2.8.0
>
> Time Spent: 5.5h
> Remaining Estimate: 0h
>
> The PortableRunner doesn't pass custom PipelineOptions to the executing
> Runner.
> Example: {{--parallelism=4}} won't be forwarded to the FlinkRunner.
> (The option is just removed during proto translation without any warning)
> We should allow some form of customization through the options, even for the
> PortableRunner.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)