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 2021/12/03 06:54:00 UTC

[GitHub] [hudi] YannByron opened a new pull request #4201: Revert "[HUDI-2495] Resolve inconsistent key generation for timestamp…

YannByron opened a new pull request #4201:
URL: https://github.com/apache/hudi/pull/4201


   … types  by GenericRecord and Row (#3944)"
   
   ## *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
   
   *(For example: This pull request adds quick-start document.)*
   
   ## 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] codope commented on pull request #4201: Revert "[HUDI-2495] Resolve inconsistent key generation for timestamp…

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


   @YannByron Why revert it? 
   I've added a fix for HUDI-2909 : #4203 
   Can you please review?


-- 
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 #4201: Revert "[HUDI-2495] Resolve inconsistent key generation for timestamp…

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "1bf98a1ed5730ef82bdeb0739097cc8c8774bab5",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "1bf98a1ed5730ef82bdeb0739097cc8c8774bab5",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 1bf98a1ed5730ef82bdeb0739097cc8c8774bab5 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] nsivabalan commented on pull request #4201: Revert "[HUDI-2495] Resolve inconsistent key generation for timestamp…

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


   I get the intention behind the original fix. But I am most concerned that, for the same record (non-row writer path) in 0.9.0, and 0.10.0, we might return diff key gen values and hence, an update could be mis-interpreted as an insert which is a def no. We wanted to fix the inconsistency, but not in this way. Let's take this up immediately after the release. I had a quick chat with sagar on the proposed fix(if not for reverting), there could be some more gaps in the fix we are proposing. so, better to just revert it for now and take a detailed look at all key gens across row writer and non-row writer and fix them altogether in next release. 
   
   


-- 
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 #4201: Revert "[HUDI-2495] Resolve inconsistent key generation for timestamp…

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "1bf98a1ed5730ef82bdeb0739097cc8c8774bab5",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3984",
       "triggerID" : "1bf98a1ed5730ef82bdeb0739097cc8c8774bab5",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 1bf98a1ed5730ef82bdeb0739097cc8c8774bab5 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3984) 
   
   <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] vinothchandar commented on pull request #4201: Revert "[HUDI-2495] Resolve inconsistent key generation for timestamp…

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


   I think its safer to revert the original PR (i.e this PR) and follow up the right way after the release. Keep existing behavior for 0.10? Wdyt


-- 
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 #4201: Revert "[HUDI-2495] Resolve inconsistent key generation for timestamp…

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "1bf98a1ed5730ef82bdeb0739097cc8c8774bab5",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3984",
       "triggerID" : "1bf98a1ed5730ef82bdeb0739097cc8c8774bab5",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 1bf98a1ed5730ef82bdeb0739097cc8c8774bab5 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3984) 
   
   <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] xushiyan edited a comment on pull request #4201: Revert "[HUDI-2495] Resolve inconsistent key generation for timestamp…

Posted by GitBox <gi...@apache.org>.
xushiyan edited a comment on pull request #4201:
URL: https://github.com/apache/hudi/pull/4201#issuecomment-985305969


   > @YannByron Why revert it? I've added a fix for [HUDI-2909](https://issues.apache.org/jira/browse/HUDI-2909) : #4203 Can you please review?
   
   the key consideration is: keygen related change should ensure backward-compatible for existing user tables. The previous PR https://github.com/apache/hudi/pull/3944 solves inconsistent behavior but may break for cases like reported in HUDI-2909. 
   
   The revert was meant to keep things unchanged for users. Inconsistency comes from enabling row-writer, which can be mitigated by disabling row-writer. We were thinking rolling out with a new flag for the future new row-writing feature to solve inconsistency. The future release notes can help migrate user tables if applicable.
   
   Looks like #4203 makes a further fix. is there any compatibility concern if rolled out ? If so, would it be easy for user to migrate and adapt to new keygen's behavior? and how to clarify it in the release notes. Just some points to consider.
   
   @codope @leesf @nsivabalan 
   
   


-- 
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] codope commented on pull request #4201: Revert "[HUDI-2495] Resolve inconsistent key generation for timestamp…

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


   > > @YannByron Why revert it? I've added a fix for [HUDI-2909](https://issues.apache.org/jira/browse/HUDI-2909) : #4203 Can you please review?
   > 
   > the key consideration is: keygen related change should ensure backward-compatible for existing user tables. The previous PR #3944 solves inconsistent behavior but may break for cases like reported in [HUDI-2909](https://issues.apache.org/jira/browse/HUDI-2909).
   > 
   > The revert was meant to keep things unchanged for users. Inconsistency comes from enabling row-writer, which can be mitigated by disabling row-writer. We were thinking rolling out with a new flag for the future new row-writing feature to solve inconsistency. The future release notes can help migrate user tables if applicable.
   > 
   > Looks like #4203 makes a further fix. is there any compatibility concern if rolled out ? If so, would it be easy for user to migrate and adapt to new keygen's behavior? and how to clarify it in the release notes. Just some points to consider.
   > 
   > @codope @leesf @nsivabalan
   
   I see. #4203 builds on #3944 . I think it makes sense to revert for now.
   
   To address the compatibility issue would it be better to make row-writer path also produce long value of timestamp instead of having users to migrate tables in a future release?


-- 
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] nsivabalan merged pull request #4201: Revert "[HUDI-2495] Resolve inconsistent key generation for timestamp…

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


   


-- 
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 #4201: Revert "[HUDI-2495] Resolve inconsistent key generation for timestamp…

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "1bf98a1ed5730ef82bdeb0739097cc8c8774bab5",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "1bf98a1ed5730ef82bdeb0739097cc8c8774bab5",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 1bf98a1ed5730ef82bdeb0739097cc8c8774bab5 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 #4201: Revert "[HUDI-2495] Resolve inconsistent key generation for timestamp…

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "1bf98a1ed5730ef82bdeb0739097cc8c8774bab5",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3984",
       "triggerID" : "1bf98a1ed5730ef82bdeb0739097cc8c8774bab5",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 1bf98a1ed5730ef82bdeb0739097cc8c8774bab5 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=3984) 
   
   <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] xushiyan commented on pull request #4201: Revert "[HUDI-2495] Resolve inconsistent key generation for timestamp…

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


   > @YannByron Why revert it? I've added a fix for [HUDI-2909](https://issues.apache.org/jira/browse/HUDI-2909) : #4203 Can you please review?
   
   the key consideration is: keygen related change should ensure backward-compatible for existing user tables. The previous PR https://github.com/apache/hudi/pull/3944 solves inconsistent behavior but may break for cases like reported in HUDI-2909. 
   
   The revert was meant to keep things unchanged for users. Inconsistency comes from enabling row-writer, which can be mitigated by disabling row-writer.
   
   Looks like #4203 makes a further fix. is there any compatibility concern if rolled out ? If so, would it be easy for user to migrate and adapt to new keygen's behavior? and how to clarify it in the release notes. Just some points to consider.
   
   @codope @leesf @nsivabalan 
   
   


-- 
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