You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/03/14 07:15:24 UTC

[GitHub] [hudi] liufangqi opened a new pull request #5032: [HUDI-3607] Support backend switch in HoodieFlinkStreamer

liufangqi opened a new pull request #5032:
URL: https://github.com/apache/hudi/pull/5032


   ## *Tips*
   - *Thank you very much for contributing to Apache Hudi.*
   - *Please review https://hudi.apache.org/contribute/how-to-contribute before opening a pull request.*
   
   ## What is the purpose of the pull request
   
   Now, HoodieFlinkStreamer utility only support one backend - FsStateBackend.
   
   I think it's not flexible for the application configuration. Could we make backend configurable?
   
   Moreover, for flink version 1.14, FsStateBackend is deprecated in favor of org.apache.flink.runtime.state.hashmap.HashMapStateBackend and org.apache.flink.runtime.state.storage.FileSystemCheckpointStorage.
   
   ## Brief change log
   
   *(for example:)*
     - *Modify AnnotationLocation checkstyle rule in checkstyle.xml*
   
   ## Verify this pull request
   
   *(Please pick either of the following options)*
   
   This pull request is a trivial rework / code cleanup without any test coverage.
   
   *(or)*
   
   This pull request is already covered by existing tests, such as *(please describe tests)*.
   
   (or)
   
   This change added tests and can be verified as follows:
   
   *(example:)*
   
     - *Added integration tests for end-to-end.*
     - *Added HoodieClientWriteTest to verify the change.*
     - *Manually verified the change by running a job locally.*
   
   ## Committer checklist
   
    - [ ] Has a corresponding JIRA in PR title & commit
    
    - [ ] Commit message is descriptive of the change
    
    - [ ] CI is green
   
    - [ ] Necessary doc changes done or have another open PR
          
    - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot commented on pull request #5032: [HUDI-3607] Support backend switch in HoodieFlinkStreamer

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5032:
URL: https://github.com/apache/hudi/pull/5032#issuecomment-1067544735


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6913",
       "triggerID" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "caaf05c0a829d858889e33ce0a545ba4e290c6a1",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6953",
       "triggerID" : "caaf05c0a829d858889e33ce0a545ba4e290c6a1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a842ab5880d3ae7e4a5494551c009ed4f7d92ab8 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6913) 
   * caaf05c0a829d858889e33ce0a545ba4e290c6a1 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6953) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot 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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot removed a comment on pull request #5032: [HUDI-3607] Support backend switch in HoodieFlinkStreamer

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5032:
URL: https://github.com/apache/hudi/pull/5032#issuecomment-1067544735


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6913",
       "triggerID" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "caaf05c0a829d858889e33ce0a545ba4e290c6a1",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6953",
       "triggerID" : "caaf05c0a829d858889e33ce0a545ba4e290c6a1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a842ab5880d3ae7e4a5494551c009ed4f7d92ab8 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6913) 
   * caaf05c0a829d858889e33ce0a545ba4e290c6a1 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6953) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot 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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot removed a comment on pull request #5032: [HUDI-3607] Support backend switch in HoodieFlinkStreamer

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5032:
URL: https://github.com/apache/hudi/pull/5032#issuecomment-1068693790


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6913",
       "triggerID" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "caaf05c0a829d858889e33ce0a545ba4e290c6a1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6953",
       "triggerID" : "caaf05c0a829d858889e33ce0a545ba4e290c6a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "87b7a0fa831fa06ef3888d94cd732df0d418dd1a",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6987",
       "triggerID" : "87b7a0fa831fa06ef3888d94cd732df0d418dd1a",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * caaf05c0a829d858889e33ce0a545ba4e290c6a1 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6953) 
   * 87b7a0fa831fa06ef3888d94cd732df0d418dd1a Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6987) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot 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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot commented on pull request #5032: [HUDI-3607] Support backend switch in HoodieFlinkStreamer

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5032:
URL: https://github.com/apache/hudi/pull/5032#issuecomment-1068726837


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6913",
       "triggerID" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "caaf05c0a829d858889e33ce0a545ba4e290c6a1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6953",
       "triggerID" : "caaf05c0a829d858889e33ce0a545ba4e290c6a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "87b7a0fa831fa06ef3888d94cd732df0d418dd1a",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6987",
       "triggerID" : "87b7a0fa831fa06ef3888d94cd732df0d418dd1a",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 87b7a0fa831fa06ef3888d94cd732df0d418dd1a Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6987) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot 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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot commented on pull request #5032: [HUDI-3607] Support backend switch in HoodieFlinkStreamer

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5032:
URL: https://github.com/apache/hudi/pull/5032#issuecomment-1067580075


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6913",
       "triggerID" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "caaf05c0a829d858889e33ce0a545ba4e290c6a1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6953",
       "triggerID" : "caaf05c0a829d858889e33ce0a545ba4e290c6a1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * caaf05c0a829d858889e33ce0a545ba4e290c6a1 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6953) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot 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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot removed a comment on pull request #5032: [HUDI-3607] Support backend switch in HoodieFlinkStreamer

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5032:
URL: https://github.com/apache/hudi/pull/5032#issuecomment-1068692376


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6913",
       "triggerID" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "caaf05c0a829d858889e33ce0a545ba4e290c6a1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6953",
       "triggerID" : "caaf05c0a829d858889e33ce0a545ba4e290c6a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "87b7a0fa831fa06ef3888d94cd732df0d418dd1a",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "87b7a0fa831fa06ef3888d94cd732df0d418dd1a",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * caaf05c0a829d858889e33ce0a545ba4e290c6a1 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6953) 
   * 87b7a0fa831fa06ef3888d94cd732df0d418dd1a UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot 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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot removed a comment on pull request #5032: [HUDI-3607] Support backend switch in HoodieFlinkStreamer

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5032:
URL: https://github.com/apache/hudi/pull/5032#issuecomment-1067580075


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6913",
       "triggerID" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "caaf05c0a829d858889e33ce0a545ba4e290c6a1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6953",
       "triggerID" : "caaf05c0a829d858889e33ce0a545ba4e290c6a1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * caaf05c0a829d858889e33ce0a545ba4e290c6a1 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6953) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot 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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot removed a comment on pull request #5032: [HUDI-3607] Support backend switch in HoodieFlinkStreamer

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5032:
URL: https://github.com/apache/hudi/pull/5032#issuecomment-1066524239


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6913",
       "triggerID" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a842ab5880d3ae7e4a5494551c009ed4f7d92ab8 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6913) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot 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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] wangxianghu commented on a change in pull request #5032: [HUDI-3607] Support backend switch in HoodieFlinkStreamer

Posted by GitBox <gi...@apache.org>.
wangxianghu commented on a change in pull request #5032:
URL: https://github.com/apache/hudi/pull/5032#discussion_r826652952



##########
File path: hudi-flink/src/main/java/org/apache/hudi/util/FlinkStateBackendConverter.java
##########
@@ -0,0 +1,41 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hudi.util;
+
+import com.beust.jcommander.IStringConverter;
+import com.beust.jcommander.ParameterException;
+import org.apache.flink.contrib.streaming.state.EmbeddedRocksDBStateBackend;
+import org.apache.flink.runtime.state.StateBackend;
+import org.apache.flink.runtime.state.hashmap.HashMapStateBackend;
+import org.apache.hudi.exception.HoodieException;
+
+/**
+ * Converter that converts a string into Flink StateBackend.
+ */
+public class FlinkStateBackendConverter implements IStringConverter<StateBackend> {
+  @Override
+  public StateBackend convert(String value) throws ParameterException {
+    switch (value) {
+      case "hashmap" : return new HashMapStateBackend();
+      case "rocksdb" : return new EmbeddedRocksDBStateBackend();
+      default:
+        throw new HoodieException("Can not convert flink state backend.");

Review comment:
       “Unknow flink state backend ” + value 
   might be better




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] wangxianghu merged pull request #5032: [HUDI-3607] Support backend switch in HoodieFlinkStreamer

Posted by GitBox <gi...@apache.org>.
wangxianghu merged pull request #5032:
URL: https://github.com/apache/hudi/pull/5032


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot commented on pull request #5032: [HUDI-3607] Support backend switch in HoodieFlinkStreamer

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5032:
URL: https://github.com/apache/hudi/pull/5032#issuecomment-1066524239


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6913",
       "triggerID" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a842ab5880d3ae7e4a5494551c009ed4f7d92ab8 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6913) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot 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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot commented on pull request #5032: [HUDI-3607] Support backend switch in HoodieFlinkStreamer

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5032:
URL: https://github.com/apache/hudi/pull/5032#issuecomment-1068693790


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6913",
       "triggerID" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "caaf05c0a829d858889e33ce0a545ba4e290c6a1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6953",
       "triggerID" : "caaf05c0a829d858889e33ce0a545ba4e290c6a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "87b7a0fa831fa06ef3888d94cd732df0d418dd1a",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6987",
       "triggerID" : "87b7a0fa831fa06ef3888d94cd732df0d418dd1a",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * caaf05c0a829d858889e33ce0a545ba4e290c6a1 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6953) 
   * 87b7a0fa831fa06ef3888d94cd732df0d418dd1a Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6987) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot 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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot commented on pull request #5032: [HUDI-3607] Support backend switch in HoodieFlinkStreamer

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5032:
URL: https://github.com/apache/hudi/pull/5032#issuecomment-1068692376


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6913",
       "triggerID" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "caaf05c0a829d858889e33ce0a545ba4e290c6a1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6953",
       "triggerID" : "caaf05c0a829d858889e33ce0a545ba4e290c6a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "87b7a0fa831fa06ef3888d94cd732df0d418dd1a",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "87b7a0fa831fa06ef3888d94cd732df0d418dd1a",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * caaf05c0a829d858889e33ce0a545ba4e290c6a1 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6953) 
   * 87b7a0fa831fa06ef3888d94cd732df0d418dd1a UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot 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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot removed a comment on pull request #5032: [HUDI-3607] Support backend switch in HoodieFlinkStreamer

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5032:
URL: https://github.com/apache/hudi/pull/5032#issuecomment-1067543310


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6913",
       "triggerID" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "caaf05c0a829d858889e33ce0a545ba4e290c6a1",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "caaf05c0a829d858889e33ce0a545ba4e290c6a1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a842ab5880d3ae7e4a5494551c009ed4f7d92ab8 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6913) 
   * caaf05c0a829d858889e33ce0a545ba4e290c6a1 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot 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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot commented on pull request #5032: [HUDI-3607] Support backend switch in HoodieFlinkStreamer

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5032:
URL: https://github.com/apache/hudi/pull/5032#issuecomment-1067543310


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6913",
       "triggerID" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "caaf05c0a829d858889e33ce0a545ba4e290c6a1",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "caaf05c0a829d858889e33ce0a545ba4e290c6a1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a842ab5880d3ae7e4a5494551c009ed4f7d92ab8 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6913) 
   * caaf05c0a829d858889e33ce0a545ba4e290c6a1 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot 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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot commented on pull request #5032: [HUDI-3607] Support backend switch in HoodieFlinkStreamer

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5032:
URL: https://github.com/apache/hudi/pull/5032#issuecomment-1066456575


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6913",
       "triggerID" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a842ab5880d3ae7e4a5494551c009ed4f7d92ab8 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6913) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot 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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot removed a comment on pull request #5032: [HUDI-3607] Support backend switch in HoodieFlinkStreamer

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5032:
URL: https://github.com/apache/hudi/pull/5032#issuecomment-1066456575


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6913",
       "triggerID" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a842ab5880d3ae7e4a5494551c009ed4f7d92ab8 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6913) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot 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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] wangxianghu commented on a change in pull request #5032: [HUDI-3607] Support backend switch in HoodieFlinkStreamer

Posted by GitBox <gi...@apache.org>.
wangxianghu commented on a change in pull request #5032:
URL: https://github.com/apache/hudi/pull/5032#discussion_r826654421



##########
File path: hudi-flink/src/main/java/org/apache/hudi/streamer/FlinkStreamerConfig.java
##########
@@ -53,6 +56,10 @@
   @Parameter(names = {"--flink-checkpoint-path"}, description = "Flink checkpoint path.")
   public String flinkCheckPointPath;
 
+  @Parameter(names = {"--flink-state-backend-type"}, description = "Flink state backend type : HashMapStateBackend "
+          + "(default).", converter = FlinkStateBackendConverter.class)

Review comment:
       Flink state backend type, support only hashmap and rocksdb by now, default hashmap




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot removed a comment on pull request #5032: [HUDI-3607] Support backend switch in HoodieFlinkStreamer

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5032:
URL: https://github.com/apache/hudi/pull/5032#issuecomment-1066454399


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a842ab5880d3ae7e4a5494551c009ed4f7d92ab8 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot 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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] hudi-bot commented on pull request #5032: [HUDI-3607] Support backend switch in HoodieFlinkStreamer

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5032:
URL: https://github.com/apache/hudi/pull/5032#issuecomment-1066454399


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a842ab5880d3ae7e4a5494551c009ed4f7d92ab8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a842ab5880d3ae7e4a5494551c009ed4f7d92ab8 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot 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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] liufangqi commented on pull request #5032: [HUDI-3607] Support backend switch in HoodieFlinkStreamer

Posted by GitBox <gi...@apache.org>.
liufangqi commented on pull request #5032:
URL: https://github.com/apache/hudi/pull/5032#issuecomment-1068692802


   @wangxianghu THX for your review. I think it's a good advice for the description and the exception msg. Updated the code in the new commit. Could you help to review it again when you are free?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org