You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/02/12 12:48:30 UTC

[GitHub] [flink] wangyang0918 opened a new pull request #11070: [FLINK-16013][core] Write and parse list config option correctly

wangyang0918 opened a new pull request #11070: [FLINK-16013][core] Write and parse list config option correctly
URL: https://github.com/apache/flink/pull/11070
 
 
   <!--
   *Thank you very much for contributing to Apache Flink - we are happy that you want to help us improve Flink. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.*
   
   *Please understand that we do not do this to make contributions to Flink a hassle. In order to uphold a high standard of quality for code contributions, while at the same time managing a large number of contributions, we need contributors to prepare the contributions well, and give reviewers enough contextual information for the review. Please also understand that contributions that do not follow this guide will take longer to review and thus typically be picked up with lower priority by the community.*
   
   ## Contribution Checklist
   
     - Make sure that the pull request corresponds to a [JIRA issue](https://issues.apache.org/jira/projects/FLINK/issues). Exceptions are made for typos in JavaDoc or documentation files, which need no JIRA issue.
     
     - Name the pull request in the form "[FLINK-XXXX] [component] Title of the pull request", where *FLINK-XXXX* should be replaced by the actual issue number. Skip *component* if you are unsure about which is the best component.
     Typo fixes that have no associated JIRA issue should be named following this pattern: `[hotfix] [docs] Fix typo in event time introduction` or `[hotfix] [javadocs] Expand JavaDoc for PuncuatedWatermarkGenerator`.
   
     - Fill out the template below to describe the changes contributed by the pull request. That will give reviewers the context they need to do the review.
     
     - Make sure that the change passes the automated tests, i.e., `mvn clean verify` passes. You can set up Travis CI to do that following [this guide](https://flink.apache.org/contributing/contribute-code.html#open-a-pull-request).
   
     - Each pull request should address only one issue, not mix up code from multiple issues.
     
     - Each commit in the pull request has a meaningful commit message (including the JIRA id)
   
     - Once all items of the checklist are addressed, remove the above text and this checklist, leaving only the filled out template below.
   
   
   **(The sections below can be removed for hotfixes of typos)**
   -->
   
   ## What is the purpose of the change
   
   Currently, if a config option is List type and written to a flink-conf.yaml, it could not be parsed correctly when reloaded from yaml resource. The root cause is we use List#toString to save into the yaml resource. However, when we want to parse a List from a string, we use semicolon to split the value.
   
   When the configuration value is List type, we need to convert it to a semicolon-separated string in `Configuration#toMap`. And If we want to write the configuration to a yaml file, `Configuration#toMap` should be used to get all the keys and values.
   
   
   ## Brief change log
   
   * Convert list to semicolon-separated  string in `Configuration#toMap`
   
   
   ## Verifying this change
   
   * The changes is covered by two new added tests
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (yes)
     - The serializers: (no)
     - The runtime per-record code paths (performance sensitive): (no)
     - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
     - The S3 file system connector: (no)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (no)
     - If yes, how is the feature documented? (not applicable)
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Write and parse list config option correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Write and parse list config option correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/148576486 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:991a08ce8916c79874682ae2d088d3e7ab3606a3 Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/148719940 TriggerType:PUSH TriggerID:991a08ce8916c79874682ae2d088d3e7ab3606a3
   Hash:99dad8370f26efe83241865b2f3ec4771fc1b436 Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:99dad8370f26efe83241865b2f3ec4771fc1b436
   -->
   ## CI report:
   
   * 8bdc077ea0813363d120eed404a2f4cd93ef0f9a Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/148576486) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107) 
   * 991a08ce8916c79874682ae2d088d3e7ab3606a3 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/148719940) 
   * 99dad8370f26efe83241865b2f3ec4771fc1b436 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Write and parse list config option correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Write and parse list config option correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/148576486 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:991a08ce8916c79874682ae2d088d3e7ab3606a3 Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:991a08ce8916c79874682ae2d088d3e7ab3606a3
   -->
   ## CI report:
   
   * 8bdc077ea0813363d120eed404a2f4cd93ef0f9a Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/148576486) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107) 
   * 991a08ce8916c79874682ae2d088d3e7ab3606a3 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on a change in pull request #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on a change in pull request #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#discussion_r379431930
 
 

 ##########
 File path: flink-runtime/src/test/java/org/apache/flink/runtime/clusterframework/BootstrapToolsTest.java
 ##########
 @@ -533,4 +547,61 @@ public void testGetEnvironmentVariablesErroneous() {
 
 		Assert.assertEquals(0, res.size());
 	}
+
+	@Test
+	public void testWriteListConfigOptionAndReload() throws IOException {
 
 Review comment:
   I will merge this tests to a single one.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/148576486 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:991a08ce8916c79874682ae2d088d3e7ab3606a3 Status:CANCELED URL:https://travis-ci.com/flink-ci/flink/builds/148719940 TriggerType:PUSH TriggerID:991a08ce8916c79874682ae2d088d3e7ab3606a3
   Hash:99dad8370f26efe83241865b2f3ec4771fc1b436 Status:CANCELED URL:https://travis-ci.com/flink-ci/flink/builds/148722206 TriggerType:PUSH TriggerID:99dad8370f26efe83241865b2f3ec4771fc1b436
   Hash:1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148726434 TriggerType:PUSH TriggerID:1fc7132f5b81cc353ce497c2fc6bc1e695abba25
   Hash:1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123 TriggerType:PUSH TriggerID:1fc7132f5b81cc353ce497c2fc6bc1e695abba25
   Hash:273458ebb91ae5593315fef0862388c08e32f64b Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148983699 TriggerType:PUSH TriggerID:273458ebb91ae5593315fef0862388c08e32f64b
   Hash:273458ebb91ae5593315fef0862388c08e32f64b Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180 TriggerType:PUSH TriggerID:273458ebb91ae5593315fef0862388c08e32f64b
   -->
   ## CI report:
   
   * 8bdc077ea0813363d120eed404a2f4cd93ef0f9a Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/148576486) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107) 
   * 991a08ce8916c79874682ae2d088d3e7ab3606a3 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148719940) 
   * 99dad8370f26efe83241865b2f3ec4771fc1b436 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148722206) 
   * 1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148726434) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123) 
   * 273458ebb91ae5593315fef0862388c08e32f64b Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148983699) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148576486",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148719940",
       "triggerID" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148722206",
       "triggerID" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148726434",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148983699",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/149250362",
       "triggerID" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "e017d47c5004fa2c81d8bc05754865d564bf70a8",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "e017d47c5004fa2c81d8bc05754865d564bf70a8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b36749feb6378d63620cfe897c0cf9a4a4c84512 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/150273834) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508) 
   * e017d47c5004fa2c81d8bc05754865d564bf70a8 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148576486",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148719940",
       "triggerID" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148722206",
       "triggerID" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148726434",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148983699",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/149250362",
       "triggerID" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * b36749feb6378d63620cfe897c0cf9a4a4c84512 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/150273834) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148576486",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148719940",
       "triggerID" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148722206",
       "triggerID" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148726434",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148983699",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/149250362",
       "triggerID" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590643360",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590643360",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590665537",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590665537",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "6a2109197d2aa39abcf9f91c924462bb6aac3462",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150422115",
       "triggerID" : "6a2109197d2aa39abcf9f91c924462bb6aac3462",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b36749feb6378d63620cfe897c0cf9a4a4c84512 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/150273834) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508) 
   * 6a2109197d2aa39abcf9f91c924462bb6aac3462 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/150422115) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/148576486 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:991a08ce8916c79874682ae2d088d3e7ab3606a3 Status:CANCELED URL:https://travis-ci.com/flink-ci/flink/builds/148719940 TriggerType:PUSH TriggerID:991a08ce8916c79874682ae2d088d3e7ab3606a3
   Hash:99dad8370f26efe83241865b2f3ec4771fc1b436 Status:CANCELED URL:https://travis-ci.com/flink-ci/flink/builds/148722206 TriggerType:PUSH TriggerID:99dad8370f26efe83241865b2f3ec4771fc1b436
   Hash:1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148726434 TriggerType:PUSH TriggerID:1fc7132f5b81cc353ce497c2fc6bc1e695abba25
   Hash:1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123 TriggerType:PUSH TriggerID:1fc7132f5b81cc353ce497c2fc6bc1e695abba25
   Hash:273458ebb91ae5593315fef0862388c08e32f64b Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148983699 TriggerType:PUSH TriggerID:273458ebb91ae5593315fef0862388c08e32f64b
   Hash:273458ebb91ae5593315fef0862388c08e32f64b Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180 TriggerType:PUSH TriggerID:273458ebb91ae5593315fef0862388c08e32f64b
   Hash:65c5ac59ffa2453abc8dfb0ca3a3431a504ff407 Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/149250362 TriggerType:PUSH TriggerID:65c5ac59ffa2453abc8dfb0ca3a3431a504ff407
   -->
   ## CI report:
   
   * 8bdc077ea0813363d120eed404a2f4cd93ef0f9a Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/148576486) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107) 
   * 991a08ce8916c79874682ae2d088d3e7ab3606a3 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148719940) 
   * 99dad8370f26efe83241865b2f3ec4771fc1b436 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148722206) 
   * 1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148726434) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123) 
   * 273458ebb91ae5593315fef0862388c08e32f64b Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148983699) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180) 
   * 65c5ac59ffa2453abc8dfb0ca3a3431a504ff407 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/149250362) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148576486",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148719940",
       "triggerID" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148722206",
       "triggerID" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148726434",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148983699",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/149250362",
       "triggerID" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e017d47c5004fa2c81d8bc05754865d564bf70a8",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "e017d47c5004fa2c81d8bc05754865d564bf70a8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * b36749feb6378d63620cfe897c0cf9a4a4c84512 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/150273834) 
   * e017d47c5004fa2c81d8bc05754865d564bf70a8 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/148576486 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:991a08ce8916c79874682ae2d088d3e7ab3606a3 Status:CANCELED URL:https://travis-ci.com/flink-ci/flink/builds/148719940 TriggerType:PUSH TriggerID:991a08ce8916c79874682ae2d088d3e7ab3606a3
   Hash:99dad8370f26efe83241865b2f3ec4771fc1b436 Status:CANCELED URL:https://travis-ci.com/flink-ci/flink/builds/148722206 TriggerType:PUSH TriggerID:99dad8370f26efe83241865b2f3ec4771fc1b436
   Hash:1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148726434 TriggerType:PUSH TriggerID:1fc7132f5b81cc353ce497c2fc6bc1e695abba25
   Hash:1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123 TriggerType:PUSH TriggerID:1fc7132f5b81cc353ce497c2fc6bc1e695abba25
   Hash:273458ebb91ae5593315fef0862388c08e32f64b Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/148983699 TriggerType:PUSH TriggerID:273458ebb91ae5593315fef0862388c08e32f64b
   Hash:273458ebb91ae5593315fef0862388c08e32f64b Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180 TriggerType:PUSH TriggerID:273458ebb91ae5593315fef0862388c08e32f64b
   -->
   ## CI report:
   
   * 8bdc077ea0813363d120eed404a2f4cd93ef0f9a Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/148576486) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107) 
   * 991a08ce8916c79874682ae2d088d3e7ab3606a3 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148719940) 
   * 99dad8370f26efe83241865b2f3ec4771fc1b436 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148722206) 
   * 1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148726434) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123) 
   * 273458ebb91ae5593315fef0862388c08e32f64b Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/148983699) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on a change in pull request #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on a change in pull request #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#discussion_r379433432
 
 

 ##########
 File path: flink-core/src/main/java/org/apache/flink/configuration/Configuration.java
 ##########
 @@ -958,6 +958,12 @@ private String convertToString(Object o) {
 		} else if (o.getClass() == Duration.class) {
 			Duration duration = (Duration) o;
 			return String.format("%d ns", duration.toNanos());
+		} else if (o instanceof List) {
+			return String.join(";", ((List<?>) o).stream().map(Object::toString).toArray(String[]::new));
 
 Review comment:
   I will escape the value string when converting `List` and `Map` to structured string. Also `Collectors.joining(";")` will make the codes more concise.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] dawidwys commented on a change in pull request #11070: [FLINK-16013][core] Write and parse list config option correctly

Posted by GitBox <gi...@apache.org>.
dawidwys commented on a change in pull request #11070: [FLINK-16013][core] Write and parse list config option correctly
URL: https://github.com/apache/flink/pull/11070#discussion_r378929089
 
 

 ##########
 File path: flink-runtime/src/test/java/org/apache/flink/runtime/clusterframework/BootstrapToolsTest.java
 ##########
 @@ -533,4 +547,61 @@ public void testGetEnvironmentVariablesErroneous() {
 
 		Assert.assertEquals(0, res.size());
 	}
+
+	@Test
+	public void testWriteListConfigOptionAndReload() throws IOException {
 
 Review comment:
   But on the other hand I do appreciate testing a single thing at a time. I think the classes are not very testable, especially the `GlobalConfiguration`.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-590665537
 
 
   @flinkbot run travis

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] dawidwys commented on a change in pull request #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
dawidwys commented on a change in pull request #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#discussion_r383140667
 
 

 ##########
 File path: flink-core/src/main/java/org/apache/flink/configuration/Configuration.java
 ##########
 @@ -958,6 +959,15 @@ private String convertToString(Object o) {
 		} else if (o.getClass() == Duration.class) {
 			Duration duration = (Duration) o;
 			return String.format("%d ns", duration.toNanos());
+		} else if (o instanceof List) {
+			return ((List<?>) o).stream()
+				.map(e -> escapeWithSingleQuote(convertToString(e), ";"))
+				.collect(Collectors.joining(";"));
+		} else if (o instanceof Map) {
+			return ((Map<?, ?>) o).entrySet().stream()
+				.map(e -> escapeWithSingleQuote(escapeWithSingleQuote(e.getKey().toString(), ":") + ":"
+						+ escapeWithSingleQuote(e.getValue().toString(), ":"), ","))
 
 Review comment:
   How about we make it a bit more readable?
   
   ```
   				.map(e -> {
   					String escapedKey = escapeWithSingleQuote(e.getKey().toString(), ":");
   					String escapedValue = escapeWithSingleQuote(e.getValue().toString(), ":");
   
   					return escapeWithSingleQuote(escapedKey + ":" + escapedValued, ",");
   				})
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148576486",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148719940",
       "triggerID" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148722206",
       "triggerID" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148726434",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148983699",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/149250362",
       "triggerID" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590643360",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "e017d47c5004fa2c81d8bc05754865d564bf70a8",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "e017d47c5004fa2c81d8bc05754865d564bf70a8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b36749feb6378d63620cfe897c0cf9a4a4c84512 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/150273834) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508) 
   * e017d47c5004fa2c81d8bc05754865d564bf70a8 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-586291406
 
 
   @dawidwys @zentol Thanks a lot for your review and nice suggestion. I have addressed your comments. Please take another look at your convenience.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] zentol commented on a change in pull request #11070: [FLINK-16013][core] Write and parse list config option correctly

Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #11070: [FLINK-16013][core] Write and parse list config option correctly
URL: https://github.com/apache/flink/pull/11070#discussion_r379314934
 
 

 ##########
 File path: flink-core/src/main/java/org/apache/flink/configuration/Configuration.java
 ##########
 @@ -958,6 +958,12 @@ private String convertToString(Object o) {
 		} else if (o.getClass() == Duration.class) {
 			Duration duration = (Duration) o;
 			return String.format("%d ns", duration.toNanos());
+		} else if (o instanceof List) {
+			return String.join(";", ((List<?>) o).stream().map(Object::toString).toArray(String[]::new));
 
 Review comment:
   Why isn't this using `Collectors.joining(";")`?
   i.e.,
   ```
   return ((List<?>) o).stream().map(this::convertToString).collect(Collectors.joining(";"));
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Write and parse list config option correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Write and parse list config option correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/148576486 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:991a08ce8916c79874682ae2d088d3e7ab3606a3 Status:CANCELED URL:https://travis-ci.com/flink-ci/flink/builds/148719940 TriggerType:PUSH TriggerID:991a08ce8916c79874682ae2d088d3e7ab3606a3
   Hash:99dad8370f26efe83241865b2f3ec4771fc1b436 Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/148722206 TriggerType:PUSH TriggerID:99dad8370f26efe83241865b2f3ec4771fc1b436
   Hash:1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:1fc7132f5b81cc353ce497c2fc6bc1e695abba25
   -->
   ## CI report:
   
   * 8bdc077ea0813363d120eed404a2f4cd93ef0f9a Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/148576486) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107) 
   * 991a08ce8916c79874682ae2d088d3e7ab3606a3 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148719940) 
   * 99dad8370f26efe83241865b2f3ec4771fc1b436 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/148722206) 
   * 1fc7132f5b81cc353ce497c2fc6bc1e695abba25 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Write and parse list config option correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Write and parse list config option correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/148576486 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:991a08ce8916c79874682ae2d088d3e7ab3606a3 Status:CANCELED URL:https://travis-ci.com/flink-ci/flink/builds/148719940 TriggerType:PUSH TriggerID:991a08ce8916c79874682ae2d088d3e7ab3606a3
   Hash:99dad8370f26efe83241865b2f3ec4771fc1b436 Status:CANCELED URL:https://travis-ci.com/flink-ci/flink/builds/148722206 TriggerType:PUSH TriggerID:99dad8370f26efe83241865b2f3ec4771fc1b436
   Hash:1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148726434 TriggerType:PUSH TriggerID:1fc7132f5b81cc353ce497c2fc6bc1e695abba25
   Hash:1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123 TriggerType:PUSH TriggerID:1fc7132f5b81cc353ce497c2fc6bc1e695abba25
   -->
   ## CI report:
   
   * 8bdc077ea0813363d120eed404a2f4cd93ef0f9a Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/148576486) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107) 
   * 991a08ce8916c79874682ae2d088d3e7ab3606a3 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148719940) 
   * 99dad8370f26efe83241865b2f3ec4771fc1b436 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148722206) 
   * 1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148726434) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Write and parse list config option correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Write and parse list config option correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/148576486 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:991a08ce8916c79874682ae2d088d3e7ab3606a3 Status:CANCELED URL:https://travis-ci.com/flink-ci/flink/builds/148719940 TriggerType:PUSH TriggerID:991a08ce8916c79874682ae2d088d3e7ab3606a3
   Hash:99dad8370f26efe83241865b2f3ec4771fc1b436 Status:CANCELED URL:https://travis-ci.com/flink-ci/flink/builds/148722206 TriggerType:PUSH TriggerID:99dad8370f26efe83241865b2f3ec4771fc1b436
   Hash:1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/148726434 TriggerType:PUSH TriggerID:1fc7132f5b81cc353ce497c2fc6bc1e695abba25
   Hash:1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123 TriggerType:PUSH TriggerID:1fc7132f5b81cc353ce497c2fc6bc1e695abba25
   -->
   ## CI report:
   
   * 8bdc077ea0813363d120eed404a2f4cd93ef0f9a Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/148576486) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107) 
   * 991a08ce8916c79874682ae2d088d3e7ab3606a3 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148719940) 
   * 99dad8370f26efe83241865b2f3ec4771fc1b436 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148722206) 
   * 1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/148726434) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on a change in pull request #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on a change in pull request #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#discussion_r383150455
 
 

 ##########
 File path: flink-core/src/main/java/org/apache/flink/configuration/Configuration.java
 ##########
 @@ -958,6 +959,15 @@ private String convertToString(Object o) {
 		} else if (o.getClass() == Duration.class) {
 			Duration duration = (Duration) o;
 			return String.format("%d ns", duration.toNanos());
+		} else if (o instanceof List) {
+			return ((List<?>) o).stream()
+				.map(e -> escapeWithSingleQuote(convertToString(e), ";"))
+				.collect(Collectors.joining(";"));
+		} else if (o instanceof Map) {
+			return ((Map<?, ?>) o).entrySet().stream()
+				.map(e -> escapeWithSingleQuote(escapeWithSingleQuote(e.getKey().toString(), ":") + ":"
+						+ escapeWithSingleQuote(e.getValue().toString(), ":"), ","))
 
 Review comment:
   Make sense. I will update it.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 removed a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
wangyang0918 removed a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-590296523
 
 
   @flinkbot run travis
   @flinkbot run azure 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-590257055
 
 
   @dawidwys Thanks a lot for your review. I have addressed the comments. Would you mind to take another look?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] dawidwys commented on a change in pull request #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
dawidwys commented on a change in pull request #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#discussion_r383193575
 
 

 ##########
 File path: flink-runtime/src/test/java/org/apache/flink/runtime/clusterframework/BootstrapToolsTest.java
 ##########
 @@ -533,4 +547,56 @@ public void testGetEnvironmentVariablesErroneous() {
 
 		Assert.assertEquals(0, res.size());
 	}
+
+	@Test
+	public void testWriteConfigurationAndReload() throws IOException {
+		final File flinkConfDir = temporaryFolder.newFolder().getAbsoluteFile();
+		final Configuration flinkConfig = new Configuration();
+
+		final ConfigOption<List<String>> listStringConfigOption = ConfigOptions
+			.key("test-list-string-key")
+			.stringType()
+			.asList()
+			.noDefaultValue();
+		final List<String> list = Arrays.asList("A,B,C,D", "A'B'C'D", "A;BCD", "AB\"C\"D", "AB'\"D:B");
+		flinkConfig.set(listStringConfigOption, list);
+		assertThat(list, containsInAnyOrder(flinkConfig.get(listStringConfigOption).toArray()));
+
+		final ConfigOption<List<Duration>> listDurationConfigOption = ConfigOptions
+			.key("test-list-duration-key")
+			.durationType()
+			.asList()
+			.noDefaultValue();
+		final List<Duration> durationList = Arrays.asList(Duration.ofSeconds(3), Duration.ofMinutes(1));
+		flinkConfig.set(listDurationConfigOption, durationList);
+		assertThat(durationList, containsInAnyOrder(flinkConfig.get(listDurationConfigOption).toArray()));
+
+		final ConfigOption<Map<String, String>> mapConfigOption = ConfigOptions
+			.key("test-map-key")
+			.mapType()
+			.noDefaultValue();
+		final Map<String, String> map = new HashMap<>();
+		map.put("key1", "A,B,C,D");
+		map.put("key2", "A;BCD");
+		map.put("key3", "A'B'C'D");
+		map.put("key4", "AB\"C\"D");
+		map.put("key5", "AB'\"D:B");
+		flinkConfig.set(mapConfigOption, map);
+		assertThat(map.entrySet(), containsInAnyOrder(flinkConfig.get(mapConfigOption).entrySet().toArray()));
+
+		final ConfigOption<Duration> durationConfigOption = ConfigOptions
+			.key("test-duration-key")
+			.durationType()
+			.noDefaultValue();
+		final Duration duration = Duration.ofMillis(3000);
+		flinkConfig.set(durationConfigOption, duration);
+		assertEquals(duration, flinkConfig.get(durationConfigOption));
+
+		BootstrapTools.writeConfiguration(flinkConfig, new File(flinkConfDir, FLINK_CONF_FILENAME));
+		final Configuration loadedFlinkConfig = GlobalConfiguration.loadConfiguration(flinkConfDir.getAbsolutePath());
+		assertThat(list, containsInAnyOrder(loadedFlinkConfig.get(listStringConfigOption).toArray()));
+		assertThat(durationList, containsInAnyOrder(flinkConfig.get(listDurationConfigOption).toArray()));
+		assertThat(map.entrySet(), containsInAnyOrder(loadedFlinkConfig.get(mapConfigOption).entrySet().toArray()));
 
 Review comment:
   nit: the contract of `assertThat` is that the first argument is the actual result. Therefore the arguments should swapped.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot commented on issue #11070: [FLINK-16013][core] Write and parse list config option correctly

Posted by GitBox <gi...@apache.org>.
flinkbot commented on issue #11070: [FLINK-16013][core] Write and parse list config option correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   -->
   ## CI report:
   
   * 8bdc077ea0813363d120eed404a2f4cd93ef0f9a UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Write and parse list config option correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Write and parse list config option correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/148576486 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:991a08ce8916c79874682ae2d088d3e7ab3606a3 Status:CANCELED URL:https://travis-ci.com/flink-ci/flink/builds/148719940 TriggerType:PUSH TriggerID:991a08ce8916c79874682ae2d088d3e7ab3606a3
   Hash:99dad8370f26efe83241865b2f3ec4771fc1b436 Status:CANCELED URL:https://travis-ci.com/flink-ci/flink/builds/148722206 TriggerType:PUSH TriggerID:99dad8370f26efe83241865b2f3ec4771fc1b436
   Hash:1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/148726434 TriggerType:PUSH TriggerID:1fc7132f5b81cc353ce497c2fc6bc1e695abba25
   Hash:1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123 TriggerType:PUSH TriggerID:1fc7132f5b81cc353ce497c2fc6bc1e695abba25
   -->
   ## CI report:
   
   * 8bdc077ea0813363d120eed404a2f4cd93ef0f9a Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/148576486) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107) 
   * 991a08ce8916c79874682ae2d088d3e7ab3606a3 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148719940) 
   * 99dad8370f26efe83241865b2f3ec4771fc1b436 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148722206) 
   * 1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/148726434) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] kl0u commented on issue #11070: [FLINK-16013][core] Write and parse list config option correctly

Posted by GitBox <gi...@apache.org>.
kl0u commented on issue #11070: [FLINK-16013][core] Write and parse list config option correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585642678
 
 
   Thanks for the update @wangyang0918 ! You are right about the `instanceof List`. When I wrote it I meant no `instanceof` in the `toMap`. Now all the instance checks are consolidated in the `convertToString`. I was not clear before :)
   
   I will have another look later in the day.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on issue #11070: [FLINK-16013][core] Write and parse list config option correctly

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on issue #11070: [FLINK-16013][core] Write and parse list config option correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585565086
 
 
   @kl0u Thanks for your comments. Moving the converting logic to `Configuration#convertToString()` is a better choice. I have updated the PR according this.
   
   BTW, i think we could not avoid `instanceof List`. Because the value could be any `List`(e.g.`ArrayList`, `LinkedList`, etc.).

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] dawidwys commented on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
dawidwys commented on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-590262761
 
 
   @flinkbot run azure

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148576486",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148719940",
       "triggerID" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148722206",
       "triggerID" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148726434",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148983699",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/149250362",
       "triggerID" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e017d47c5004fa2c81d8bc05754865d564bf70a8",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "e017d47c5004fa2c81d8bc05754865d564bf70a8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * b36749feb6378d63620cfe897c0cf9a4a4c84512 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/150273834) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508) 
   * e017d47c5004fa2c81d8bc05754865d564bf70a8 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Write and parse list config option correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Write and parse list config option correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/148576486 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   -->
   ## CI report:
   
   * 8bdc077ea0813363d120eed404a2f4cd93ef0f9a Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/148576486) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148576486",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148719940",
       "triggerID" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148722206",
       "triggerID" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148726434",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148983699",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "status" : "SUCCESS",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/149250362",
       "triggerID" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 65c5ac59ffa2453abc8dfb0ca3a3431a504ff407 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/149250362) 
   * b36749feb6378d63620cfe897c0cf9a4a4c84512 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/150273834) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148576486",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148719940",
       "triggerID" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148722206",
       "triggerID" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148726434",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148983699",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/149250362",
       "triggerID" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "e017d47c5004fa2c81d8bc05754865d564bf70a8",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "e017d47c5004fa2c81d8bc05754865d564bf70a8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b36749feb6378d63620cfe897c0cf9a4a4c84512 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/150273834) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508) 
   * e017d47c5004fa2c81d8bc05754865d564bf70a8 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
wangyang0918 edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-586291406
 
 
   @dawidwys @zentol Thanks a lot for your review and nice suggestion. I have addressed all your comments. Could you please take a look again?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "SUCCESS",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148576486",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148719940",
       "triggerID" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148722206",
       "triggerID" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "FAILURE",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148726434",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "FAILURE",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148983699",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "status" : "SUCCESS",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/149250362",
       "triggerID" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 8bdc077ea0813363d120eed404a2f4cd93ef0f9a Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/148576486) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107) 
   * 991a08ce8916c79874682ae2d088d3e7ab3606a3 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148719940) 
   * 99dad8370f26efe83241865b2f3ec4771fc1b436 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148722206) 
   * 1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148726434) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123) 
   * 273458ebb91ae5593315fef0862388c08e32f64b Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148983699) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180) 
   * 65c5ac59ffa2453abc8dfb0ca3a3431a504ff407 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/149250362) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on a change in pull request #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on a change in pull request #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#discussion_r383187170
 
 

 ##########
 File path: flink-core/src/main/java/org/apache/flink/configuration/StructuredOptionsSplitter.java
 ##########
 @@ -52,6 +59,37 @@
 		return processTokens(tokens);
 	}
 
+	/**
+	 * When write a string out, it is always needs to escaped. If the input string contains double quote or specified
+	 * escape chars, then it will be escaped by single quote. The single quote will be escaped by doubling.
+	 *
+	 * <p>Given that the escapeChar is (;)
+	 *
+	 * <p>Examples:
+	 * <ul>
+	 *     <li>A,B,C,D => A,B,C,D</li>
+	 *     <li>A;BCD => 'A;BCD'</li>
+	 *     <li>AB"C"D => 'AB"C"D'</li>
+	 *     <li>AB'"D:B => 'AB''"D:B'</li>
+	 * </ul>
+	 *
+	 * @param value a string which needs to be escaped
+	 * @param escapeChars escape chars for the escape conditions
+	 * @return escaped string with single quote
+	 */
+	static String escapeWithSingleQuote(String value, String... escapeChars) {
 
 Review comment:
   The escape condition also needs to add `string.contains("'")`.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
wangyang0918 edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-586291406
 
 
   @dawidwys @zentol @kl0u Thanks a lot for your review and nice suggestion. I have addressed all your comments. Could you please take a look again?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Write and parse list config option correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Write and parse list config option correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/148576486 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:991a08ce8916c79874682ae2d088d3e7ab3606a3 Status:CANCELED URL:https://travis-ci.com/flink-ci/flink/builds/148719940 TriggerType:PUSH TriggerID:991a08ce8916c79874682ae2d088d3e7ab3606a3
   Hash:99dad8370f26efe83241865b2f3ec4771fc1b436 Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/148722206 TriggerType:PUSH TriggerID:99dad8370f26efe83241865b2f3ec4771fc1b436
   -->
   ## CI report:
   
   * 8bdc077ea0813363d120eed404a2f4cd93ef0f9a Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/148576486) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107) 
   * 991a08ce8916c79874682ae2d088d3e7ab3606a3 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148719940) 
   * 99dad8370f26efe83241865b2f3ec4771fc1b436 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/148722206) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148576486",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148719940",
       "triggerID" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148722206",
       "triggerID" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148726434",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148983699",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "status" : "SUCCESS",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/149250362",
       "triggerID" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 65c5ac59ffa2453abc8dfb0ca3a3431a504ff407 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/149250362) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/148576486 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:991a08ce8916c79874682ae2d088d3e7ab3606a3 Status:CANCELED URL:https://travis-ci.com/flink-ci/flink/builds/148719940 TriggerType:PUSH TriggerID:991a08ce8916c79874682ae2d088d3e7ab3606a3
   Hash:99dad8370f26efe83241865b2f3ec4771fc1b436 Status:CANCELED URL:https://travis-ci.com/flink-ci/flink/builds/148722206 TriggerType:PUSH TriggerID:99dad8370f26efe83241865b2f3ec4771fc1b436
   Hash:1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148726434 TriggerType:PUSH TriggerID:1fc7132f5b81cc353ce497c2fc6bc1e695abba25
   Hash:1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123 TriggerType:PUSH TriggerID:1fc7132f5b81cc353ce497c2fc6bc1e695abba25
   Hash:273458ebb91ae5593315fef0862388c08e32f64b Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148983699 TriggerType:PUSH TriggerID:273458ebb91ae5593315fef0862388c08e32f64b
   Hash:273458ebb91ae5593315fef0862388c08e32f64b Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180 TriggerType:PUSH TriggerID:273458ebb91ae5593315fef0862388c08e32f64b
   Hash:65c5ac59ffa2453abc8dfb0ca3a3431a504ff407 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/149250362 TriggerType:PUSH TriggerID:65c5ac59ffa2453abc8dfb0ca3a3431a504ff407
   -->
   ## CI report:
   
   * 8bdc077ea0813363d120eed404a2f4cd93ef0f9a Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/148576486) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107) 
   * 991a08ce8916c79874682ae2d088d3e7ab3606a3 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148719940) 
   * 99dad8370f26efe83241865b2f3ec4771fc1b436 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148722206) 
   * 1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148726434) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123) 
   * 273458ebb91ae5593315fef0862388c08e32f64b Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148983699) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180) 
   * 65c5ac59ffa2453abc8dfb0ca3a3431a504ff407 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/149250362) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] dawidwys commented on a change in pull request #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
dawidwys commented on a change in pull request #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#discussion_r383137746
 
 

 ##########
 File path: flink-core/src/main/java/org/apache/flink/configuration/StructuredOptionsSplitter.java
 ##########
 @@ -52,6 +59,37 @@
 		return processTokens(tokens);
 	}
 
+	/**
+	 * When write a string out, it is always needs to escaped. If the input string contains double quote or specified
+	 * escape chars, then it will be escaped by single quote. The single quote will be escaped by doubling.
+	 *
+	 * <p>Given that the escapeChar is (;)
+	 *
+	 * <p>Examples:
+	 * <ul>
+	 *     <li>A,B,C,D => A,B,C,D</li>
+	 *     <li>A;BCD => 'A;BCD'</li>
+	 *     <li>AB"C"D => 'AB"C"D'</li>
+	 *     <li>AB'"D:B => 'AB''"D:B'</li>
+	 * </ul>
+	 *
+	 * @param value a string which needs to be escaped
+	 * @param escapeChars escape chars for the escape conditions
+	 * @return escaped string with single quote
+	 */
+	static String escapeWithSingleQuote(String value, String... escapeChars) {
 
 Review comment:
   How about:
   ```
   	/**
   	 * Escapes the given string with single quotes, if the input string contains a double quote or any of the
   	 * given {@code charsToEscape}. Any single quotes in the input string will be escaped by doubling.
   	 *
   	 * <p>Given that the escapeChar is (;)
   	 *
   	 * <p>Examples:
   	 * <ul>
   	 *     <li>A,B,C,D => A,B,C,D</li>
   	 *     <li>A;BCD => 'A;BCD'</li>
   	 *     <li>AB"C"D => 'AB"C"D'</li>
   	 *     <li>AB'"D:B => 'AB''"D:B'</li>
   	 * </ul>
   	 *
   	 * @param string a string which needs to be escaped
   	 * @param charsToEscape escape chars for the escape conditions
   	 * @return escaped string by single quote
   	 */
   	static String escapeWithSingleQuote(String string, String... charsToEscape) {
   		boolean escape = Arrays.stream(charsToEscape).anyMatch(string::contains) || string.contains("\"");
   
   		if (escape) {
   			return "'" + string.replaceAll("'", "''") + "'";
   		}
   
   		return string;
   	}
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148576486",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148719940",
       "triggerID" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148722206",
       "triggerID" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148726434",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148983699",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/149250362",
       "triggerID" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590643360",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590643360",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * b36749feb6378d63620cfe897c0cf9a4a4c84512 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/150273834) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-590643360
 
 
   @flinkbot run travis
   @flinkbot run azure 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148576486",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148719940",
       "triggerID" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148722206",
       "triggerID" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148726434",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148983699",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "status" : "SUCCESS",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/149250362",
       "triggerID" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e017d47c5004fa2c81d8bc05754865d564bf70a8",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "e017d47c5004fa2c81d8bc05754865d564bf70a8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 65c5ac59ffa2453abc8dfb0ca3a3431a504ff407 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/149250362) 
   * b36749feb6378d63620cfe897c0cf9a4a4c84512 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/150273834) 
   * e017d47c5004fa2c81d8bc05754865d564bf70a8 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148576486",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148719940",
       "triggerID" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148722206",
       "triggerID" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148726434",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148983699",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "status" : "SUCCESS",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/149250362",
       "triggerID" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 65c5ac59ffa2453abc8dfb0ca3a3431a504ff407 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/149250362) 
   * b36749feb6378d63620cfe897c0cf9a4a4c84512 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] dawidwys commented on a change in pull request #11070: [FLINK-16013][core] Write and parse list config option correctly

Posted by GitBox <gi...@apache.org>.
dawidwys commented on a change in pull request #11070: [FLINK-16013][core] Write and parse list config option correctly
URL: https://github.com/apache/flink/pull/11070#discussion_r378901526
 
 

 ##########
 File path: flink-core/src/main/java/org/apache/flink/configuration/Configuration.java
 ##########
 @@ -958,6 +958,12 @@ private String convertToString(Object o) {
 		} else if (o.getClass() == Duration.class) {
 			Duration duration = (Duration) o;
 			return String.format("%d ns", duration.toNanos());
+		} else if (o instanceof List) {
+			return String.join(";", ((List<?>) o).stream().map(Object::toString).toArray(String[]::new));
 
 Review comment:
   ```suggestion
   			return String.join(";", ((List<?>) o).stream().map(this::convertToString).toArray(String[]::new));
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148576486",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148719940",
       "triggerID" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148722206",
       "triggerID" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148726434",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148983699",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/149250362",
       "triggerID" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590643360",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590643360",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "e017d47c5004fa2c81d8bc05754865d564bf70a8",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "e017d47c5004fa2c81d8bc05754865d564bf70a8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b36749feb6378d63620cfe897c0cf9a4a4c84512 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/150273834) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508) 
   * e017d47c5004fa2c81d8bc05754865d564bf70a8 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148576486",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148719940",
       "triggerID" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148722206",
       "triggerID" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148726434",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148983699",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/149250362",
       "triggerID" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590643360",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590643360",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590665537",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590665537",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * b36749feb6378d63620cfe897c0cf9a4a4c84512 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/150273834) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on issue #11070: [FLINK-16013][core] Write and parse list config option correctly

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on issue #11070: [FLINK-16013][core] Write and parse list config option correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585238647
 
 
   @kl0u Could you take a look at your convenience?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/148576486 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:991a08ce8916c79874682ae2d088d3e7ab3606a3 Status:CANCELED URL:https://travis-ci.com/flink-ci/flink/builds/148719940 TriggerType:PUSH TriggerID:991a08ce8916c79874682ae2d088d3e7ab3606a3
   Hash:99dad8370f26efe83241865b2f3ec4771fc1b436 Status:CANCELED URL:https://travis-ci.com/flink-ci/flink/builds/148722206 TriggerType:PUSH TriggerID:99dad8370f26efe83241865b2f3ec4771fc1b436
   Hash:1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148726434 TriggerType:PUSH TriggerID:1fc7132f5b81cc353ce497c2fc6bc1e695abba25
   Hash:1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123 TriggerType:PUSH TriggerID:1fc7132f5b81cc353ce497c2fc6bc1e695abba25
   Hash:273458ebb91ae5593315fef0862388c08e32f64b Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:273458ebb91ae5593315fef0862388c08e32f64b
   -->
   ## CI report:
   
   * 8bdc077ea0813363d120eed404a2f4cd93ef0f9a Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/148576486) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107) 
   * 991a08ce8916c79874682ae2d088d3e7ab3606a3 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148719940) 
   * 99dad8370f26efe83241865b2f3ec4771fc1b436 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148722206) 
   * 1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148726434) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123) 
   * 273458ebb91ae5593315fef0862388c08e32f64b UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] dawidwys commented on a change in pull request #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
dawidwys commented on a change in pull request #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#discussion_r383129131
 
 

 ##########
 File path: flink-core/src/main/java/org/apache/flink/configuration/StructuredOptionsSplitter.java
 ##########
 @@ -52,6 +59,37 @@
 		return processTokens(tokens);
 	}
 
+	/**
+	 * When write a string out, it is always needs to escaped. If the input string contains double quote or specified
+	 * escape chars, then it will be escaped by single quote. The single quote will be escaped by doubling.
+	 *
+	 * <p>Given that the escapeChar is (;)
+	 *
+	 * <p>Examples:
+	 * <ul>
+	 *     <li>A,B,C,D => A,B,C,D</li>
+	 *     <li>A;BCD => 'A;BCD'</li>
+	 *     <li>AB"C"D => 'AB"C"D'</li>
+	 *     <li>AB'"D:B => 'AB''"D:B'</li>
+	 * </ul>
+	 *
+	 * @param value a string which needs to be escaped
+	 * @param escapeChars escape chars for the escape conditions
+	 * @return escaped string with single quote
+	 */
+	static String escapeWithSingleQuote(String value, String... escapeChars) {
 
 Review comment:
   I don't necessarily understand why do we need that complex logic. 
   Can't we just do `"'" + value.replaceAll("'", "''") + "'"` ?
   
   Moreover we should try not to use any external dependencies. Especially guava.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148576486",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148719940",
       "triggerID" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148722206",
       "triggerID" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148726434",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148983699",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/149250362",
       "triggerID" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590643360",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590643360",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590665537",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "e017d47c5004fa2c81d8bc05754865d564bf70a8",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "e017d47c5004fa2c81d8bc05754865d564bf70a8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b36749feb6378d63620cfe897c0cf9a4a4c84512 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/150273834) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508) 
   * e017d47c5004fa2c81d8bc05754865d564bf70a8 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148576486",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148719940",
       "triggerID" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148722206",
       "triggerID" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148726434",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148983699",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/149250362",
       "triggerID" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * b36749feb6378d63620cfe897c0cf9a4a4c84512 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/150273834) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on a change in pull request #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on a change in pull request #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#discussion_r383198516
 
 

 ##########
 File path: flink-runtime/src/test/java/org/apache/flink/runtime/clusterframework/BootstrapToolsTest.java
 ##########
 @@ -533,4 +547,56 @@ public void testGetEnvironmentVariablesErroneous() {
 
 		Assert.assertEquals(0, res.size());
 	}
+
+	@Test
+	public void testWriteConfigurationAndReload() throws IOException {
+		final File flinkConfDir = temporaryFolder.newFolder().getAbsoluteFile();
+		final Configuration flinkConfig = new Configuration();
+
+		final ConfigOption<List<String>> listStringConfigOption = ConfigOptions
+			.key("test-list-string-key")
+			.stringType()
+			.asList()
+			.noDefaultValue();
+		final List<String> list = Arrays.asList("A,B,C,D", "A'B'C'D", "A;BCD", "AB\"C\"D", "AB'\"D:B");
+		flinkConfig.set(listStringConfigOption, list);
+		assertThat(list, containsInAnyOrder(flinkConfig.get(listStringConfigOption).toArray()));
+
+		final ConfigOption<List<Duration>> listDurationConfigOption = ConfigOptions
+			.key("test-list-duration-key")
+			.durationType()
+			.asList()
+			.noDefaultValue();
+		final List<Duration> durationList = Arrays.asList(Duration.ofSeconds(3), Duration.ofMinutes(1));
+		flinkConfig.set(listDurationConfigOption, durationList);
+		assertThat(durationList, containsInAnyOrder(flinkConfig.get(listDurationConfigOption).toArray()));
+
+		final ConfigOption<Map<String, String>> mapConfigOption = ConfigOptions
+			.key("test-map-key")
+			.mapType()
+			.noDefaultValue();
+		final Map<String, String> map = new HashMap<>();
+		map.put("key1", "A,B,C,D");
+		map.put("key2", "A;BCD");
+		map.put("key3", "A'B'C'D");
+		map.put("key4", "AB\"C\"D");
+		map.put("key5", "AB'\"D:B");
+		flinkConfig.set(mapConfigOption, map);
+		assertThat(map.entrySet(), containsInAnyOrder(flinkConfig.get(mapConfigOption).entrySet().toArray()));
+
+		final ConfigOption<Duration> durationConfigOption = ConfigOptions
+			.key("test-duration-key")
+			.durationType()
+			.noDefaultValue();
+		final Duration duration = Duration.ofMillis(3000);
+		flinkConfig.set(durationConfigOption, duration);
+		assertEquals(duration, flinkConfig.get(durationConfigOption));
+
+		BootstrapTools.writeConfiguration(flinkConfig, new File(flinkConfDir, FLINK_CONF_FILENAME));
+		final Configuration loadedFlinkConfig = GlobalConfiguration.loadConfiguration(flinkConfDir.getAbsolutePath());
+		assertThat(list, containsInAnyOrder(loadedFlinkConfig.get(listStringConfigOption).toArray()));
+		assertThat(durationList, containsInAnyOrder(flinkConfig.get(listDurationConfigOption).toArray()));
+		assertThat(map.entrySet(), containsInAnyOrder(loadedFlinkConfig.get(mapConfigOption).entrySet().toArray()));
 
 Review comment:
   I will have quick fix and push again.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Write and parse list config option correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Write and parse list config option correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/148576486 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   -->
   ## CI report:
   
   * 8bdc077ea0813363d120eed404a2f4cd93ef0f9a Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/148576486) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] dawidwys commented on a change in pull request #11070: [FLINK-16013][core] Write and parse list config option correctly

Posted by GitBox <gi...@apache.org>.
dawidwys commented on a change in pull request #11070: [FLINK-16013][core] Write and parse list config option correctly
URL: https://github.com/apache/flink/pull/11070#discussion_r378922012
 
 

 ##########
 File path: flink-core/src/main/java/org/apache/flink/configuration/Configuration.java
 ##########
 @@ -958,6 +958,12 @@ private String convertToString(Object o) {
 		} else if (o.getClass() == Duration.class) {
 			Duration duration = (Duration) o;
 			return String.format("%d ns", duration.toNanos());
+		} else if (o instanceof List) {
+			return String.join(";", ((List<?>) o).stream().map(Object::toString).toArray(String[]::new));
 
 Review comment:
   Could you also escape the entries in the list? Parsing lists supports escaping with `'` character.
   So that e.g. A;'A;B';C is parsed as ["A", "A;B", "C"]. The same applies for Maps. I think when writing values out it's safe to always escape them.
   
   You can check some examples of escaping in `StructuredOptionsSplitterTest` or in `ReadableWritableConfigurationTest` see test for `list<string>`.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148576486",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148719940",
       "triggerID" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148722206",
       "triggerID" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148726434",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148983699",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/149250362",
       "triggerID" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590643360",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590643360",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590665537",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590665537",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "6a2109197d2aa39abcf9f91c924462bb6aac3462",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "6a2109197d2aa39abcf9f91c924462bb6aac3462",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b36749feb6378d63620cfe897c0cf9a4a4c84512 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/150273834) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508) 
   * 6a2109197d2aa39abcf9f91c924462bb6aac3462 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148576486",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148719940",
       "triggerID" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148722206",
       "triggerID" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148726434",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148983699",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/149250362",
       "triggerID" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590643360",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590643360",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590665537",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590665537",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "e017d47c5004fa2c81d8bc05754865d564bf70a8",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "e017d47c5004fa2c81d8bc05754865d564bf70a8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b36749feb6378d63620cfe897c0cf9a4a4c84512 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/150273834) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508) 
   * e017d47c5004fa2c81d8bc05754865d564bf70a8 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/148576486 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:991a08ce8916c79874682ae2d088d3e7ab3606a3 Status:CANCELED URL:https://travis-ci.com/flink-ci/flink/builds/148719940 TriggerType:PUSH TriggerID:991a08ce8916c79874682ae2d088d3e7ab3606a3
   Hash:99dad8370f26efe83241865b2f3ec4771fc1b436 Status:CANCELED URL:https://travis-ci.com/flink-ci/flink/builds/148722206 TriggerType:PUSH TriggerID:99dad8370f26efe83241865b2f3ec4771fc1b436
   Hash:1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148726434 TriggerType:PUSH TriggerID:1fc7132f5b81cc353ce497c2fc6bc1e695abba25
   Hash:1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123 TriggerType:PUSH TriggerID:1fc7132f5b81cc353ce497c2fc6bc1e695abba25
   Hash:273458ebb91ae5593315fef0862388c08e32f64b Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148983699 TriggerType:PUSH TriggerID:273458ebb91ae5593315fef0862388c08e32f64b
   Hash:273458ebb91ae5593315fef0862388c08e32f64b Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180 TriggerType:PUSH TriggerID:273458ebb91ae5593315fef0862388c08e32f64b
   Hash:65c5ac59ffa2453abc8dfb0ca3a3431a504ff407 Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:65c5ac59ffa2453abc8dfb0ca3a3431a504ff407
   -->
   ## CI report:
   
   * 8bdc077ea0813363d120eed404a2f4cd93ef0f9a Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/148576486) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107) 
   * 991a08ce8916c79874682ae2d088d3e7ab3606a3 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148719940) 
   * 99dad8370f26efe83241865b2f3ec4771fc1b436 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148722206) 
   * 1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148726434) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123) 
   * 273458ebb91ae5593315fef0862388c08e32f64b Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148983699) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180) 
   * 65c5ac59ffa2453abc8dfb0ca3a3431a504ff407 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] dawidwys commented on a change in pull request #11070: [FLINK-16013][core] Write and parse list config option correctly

Posted by GitBox <gi...@apache.org>.
dawidwys commented on a change in pull request #11070: [FLINK-16013][core] Write and parse list config option correctly
URL: https://github.com/apache/flink/pull/11070#discussion_r378928356
 
 

 ##########
 File path: flink-runtime/src/test/java/org/apache/flink/runtime/clusterframework/BootstrapToolsTest.java
 ##########
 @@ -533,4 +547,61 @@ public void testGetEnvironmentVariablesErroneous() {
 
 		Assert.assertEquals(0, res.size());
 	}
+
+	@Test
+	public void testWriteListConfigOptionAndReload() throws IOException {
 
 Review comment:
   How about we combine those tests into a single one. Tests that do IO operations might be expensive.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-590665578
 
 
   @flinkbot run azure

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148576486",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148719940",
       "triggerID" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148722206",
       "triggerID" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148726434",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148983699",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/149250362",
       "triggerID" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590296523",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590643360",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590643360",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "590665537",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5508",
       "triggerID" : "590665537",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "6a2109197d2aa39abcf9f91c924462bb6aac3462",
       "status" : "SUCCESS",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150422115",
       "triggerID" : "6a2109197d2aa39abcf9f91c924462bb6aac3462",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6a2109197d2aa39abcf9f91c924462bb6aac3462",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5542",
       "triggerID" : "6a2109197d2aa39abcf9f91c924462bb6aac3462",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 6a2109197d2aa39abcf9f91c924462bb6aac3462 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/150422115) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5542) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:8bdc077ea0813363d120eed404a2f4cd93ef0f9a Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/148576486 TriggerType:PUSH TriggerID:8bdc077ea0813363d120eed404a2f4cd93ef0f9a
   Hash:991a08ce8916c79874682ae2d088d3e7ab3606a3 Status:CANCELED URL:https://travis-ci.com/flink-ci/flink/builds/148719940 TriggerType:PUSH TriggerID:991a08ce8916c79874682ae2d088d3e7ab3606a3
   Hash:99dad8370f26efe83241865b2f3ec4771fc1b436 Status:CANCELED URL:https://travis-ci.com/flink-ci/flink/builds/148722206 TriggerType:PUSH TriggerID:99dad8370f26efe83241865b2f3ec4771fc1b436
   Hash:1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148726434 TriggerType:PUSH TriggerID:1fc7132f5b81cc353ce497c2fc6bc1e695abba25
   Hash:1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123 TriggerType:PUSH TriggerID:1fc7132f5b81cc353ce497c2fc6bc1e695abba25
   Hash:273458ebb91ae5593315fef0862388c08e32f64b Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148983699 TriggerType:PUSH TriggerID:273458ebb91ae5593315fef0862388c08e32f64b
   Hash:273458ebb91ae5593315fef0862388c08e32f64b Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180 TriggerType:PUSH TriggerID:273458ebb91ae5593315fef0862388c08e32f64b
   -->
   ## CI report:
   
   * 8bdc077ea0813363d120eed404a2f4cd93ef0f9a Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/148576486) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107) 
   * 991a08ce8916c79874682ae2d088d3e7ab3606a3 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148719940) 
   * 99dad8370f26efe83241865b2f3ec4771fc1b436 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148722206) 
   * 1fc7132f5b81cc353ce497c2fc6bc1e695abba25 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148726434) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123) 
   * 273458ebb91ae5593315fef0862388c08e32f64b Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148983699) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585205728
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5107",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148576486",
       "triggerID" : "8bdc077ea0813363d120eed404a2f4cd93ef0f9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148719940",
       "triggerID" : "991a08ce8916c79874682ae2d088d3e7ab3606a3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148722206",
       "triggerID" : "99dad8370f26efe83241865b2f3ec4771fc1b436",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148726434",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5123",
       "triggerID" : "1fc7132f5b81cc353ce497c2fc6bc1e695abba25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/148983699",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5180",
       "triggerID" : "273458ebb91ae5593315fef0862388c08e32f64b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/149250362",
       "triggerID" : "65c5ac59ffa2453abc8dfb0ca3a3431a504ff407",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150273834",
       "triggerID" : "b36749feb6378d63620cfe897c0cf9a4a4c84512",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e017d47c5004fa2c81d8bc05754865d564bf70a8",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "e017d47c5004fa2c81d8bc05754865d564bf70a8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b36749feb6378d63620cfe897c0cf9a4a4c84512 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/150273834) 
   * e017d47c5004fa2c81d8bc05754865d564bf70a8 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot commented on issue #11070: [FLINK-16013][core] Write and parse list config option correctly

Posted by GitBox <gi...@apache.org>.
flinkbot commented on issue #11070: [FLINK-16013][core] Write and parse list config option correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-585190602
 
 
   Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community
   to review your pull request. We will use this comment to track the progress of the review.
   
   
   ## Automated Checks
   Last check on commit c4830d817cfc5c6d634da6ecd3d81b1c15e986ca (Wed Feb 12 12:50:50 UTC 2020)
   
   **Warnings:**
    * No documentation files were touched! Remember to keep the Flink docs up to date!
    * **This pull request references an unassigned [Jira ticket](https://issues.apache.org/jira/browse/FLINK-16013).** According to the [code contribution guide](https://flink.apache.org/contributing/contribute-code.html), tickets need to be assigned before starting with the implementation work.
   
   
   <sub>Mention the bot in a comment to re-run the automated checks.</sub>
   ## Review Progress
   
   * ❓ 1. The [description] looks good.
   * ❓ 2. There is [consensus] that the contribution should go into to Flink.
   * ❓ 3. Needs [attention] from.
   * ❓ 4. The change fits into the overall [architecture].
   * ❓ 5. Overall code [quality] is good.
   
   Please see the [Pull Request Review Guide](https://flink.apache.org/contributing/reviewing-prs.html) for a full explanation of the review process.<details>
    The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot approve description` to approve one or more aspects (aspects: `description`, `consensus`, `architecture` and `quality`)
    - `@flinkbot approve all` to approve all aspects
    - `@flinkbot approve-until architecture` to approve everything until `architecture`
    - `@flinkbot attention @username1 [@username2 ..]` to require somebody's attention
    - `@flinkbot disapprove architecture` to remove an approval you gave earlier
   </details>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on a change in pull request #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on a change in pull request #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#discussion_r383150314
 
 

 ##########
 File path: flink-core/src/main/java/org/apache/flink/configuration/StructuredOptionsSplitter.java
 ##########
 @@ -52,6 +59,37 @@
 		return processTokens(tokens);
 	}
 
+	/**
+	 * When write a string out, it is always needs to escaped. If the input string contains double quote or specified
+	 * escape chars, then it will be escaped by single quote. The single quote will be escaped by doubling.
+	 *
+	 * <p>Given that the escapeChar is (;)
+	 *
+	 * <p>Examples:
+	 * <ul>
+	 *     <li>A,B,C,D => A,B,C,D</li>
+	 *     <li>A;BCD => 'A;BCD'</li>
+	 *     <li>AB"C"D => 'AB"C"D'</li>
+	 *     <li>AB'"D:B => 'AB''"D:B'</li>
+	 * </ul>
+	 *
+	 * @param value a string which needs to be escaped
+	 * @param escapeChars escape chars for the escape conditions
+	 * @return escaped string with single quote
+	 */
+	static String escapeWithSingleQuote(String value, String... escapeChars) {
 
 Review comment:
   Usually the guava implementation has better performance than java regex replacement. However, i am not against with removing the guava dependencies. I will use `"'" + value.replaceAll("'", "''") + "'"` instead.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] dawidwys merged pull request #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
dawidwys merged pull request #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070
 
 
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-590296523
 
 
   @flinkbot run travis
   @flinkbot run azure 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on issue #11070: [FLINK-16013][core] Make complex type config options could be parsed correctly
URL: https://github.com/apache/flink/pull/11070#issuecomment-590731927
 
 
   @dawidwys Finally, both the travis and azure have passed. Could you help with merging?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services