You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "bibhu107 (via GitHub)" <gi...@apache.org> on 2024/05/23 12:08:00 UTC

[I] [SUPPORT]Performance degrade for migrating from Hudi 0.7 to Hudi 0.14 [hudi]

bibhu107 opened a new issue, #11274:
URL: https://github.com/apache/hudi/issues/11274

   Hi Team,
   
   I am upgrading my Spark EMR jobs **FROM [Spark 2.4.8, EMR-5.36.1, Hudi 0.7]** **TO** **[Spark 3.3.1, EMR 6.10.1, and Hudi 0.14]**. This upgrade is leading to a 230% performance degradation. Previously, the jobs were running in 18 minutes, but now they are taking over an hour to complete. I'm sharing screenshots below for reference. There have been no code changes apart from upgrading the dependencies. I am writing to the Hudi table in version 0.14 the same way as I did in version 0.7. For this upgrade, I have created a new copy-on-write table and am using the Simple Indexing approach.
   
   Could you please help me debug this issue or suggest any additional configurations that might be required to improve performance?
   
   ![spark3](https://github.com/apache/hudi/assets/23478853/f0824a0a-df2f-4386-b18a-f086b2acbcf1)
   
   ![spark-2](https://github.com/apache/hudi/assets/23478853/dc5db501-ccd6-4bf5-90af-43420d80a8ec)
   


-- 
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.apache.org

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


Re: [I] [SUPPORT]Performance degrade for migrating from Hudi 0.7 to Hudi 0.14 [hudi]

Posted by "bibhu107 (via GitHub)" <gi...@apache.org>.
bibhu107 closed issue #11274: [SUPPORT]Performance degrade for migrating from Hudi 0.7 to Hudi 0.14
URL: https://github.com/apache/hudi/issues/11274


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


Re: [I] [SUPPORT]Performance degrade for migrating from Hudi 0.7 to Hudi 0.14 [hudi]

Posted by "KnightChess (via GitHub)" <gi...@apache.org>.
KnightChess commented on issue #11274:
URL: https://github.com/apache/hudi/issues/11274#issuecomment-2133626168

   @bibhu107 does it can work for you? I misread the stack trace, so this parameter hasn't taken effect in the question stage. The parameter that needs to be set is a different one. If you are `insert`, try to set `hoodie.insert.shuffle.parallelism`, if `upsert`, set `hoodie.upsert.shuffle.parallelism`


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


Re: [I] [SUPPORT]Performance degrade for migrating from Hudi 0.7 to Hudi 0.14 [hudi]

Posted by "soumilshah1995 (via GitHub)" <gi...@apache.org>.
soumilshah1995 commented on issue #11274:
URL: https://github.com/apache/hudi/issues/11274#issuecomment-2161845692

   Slack Thread https://apache-hudi.slack.com/archives/C4D716NPQ/p1718122404452279


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


Re: [I] [SUPPORT]Performance degrade for migrating from Hudi 0.7 to Hudi 0.14 [hudi]

Posted by "bibhu107 (via GitHub)" <gi...@apache.org>.
bibhu107 commented on issue #11274:
URL: https://github.com/apache/hudi/issues/11274#issuecomment-2127279409

   Hi @KnightChess Thanks for commenting. But my major doubt is  why shuffle write is nearly doubled in hudi 0.14? And that is leading to issues in step 121 


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


Re: [I] [SUPPORT]Performance degrade for migrating from Hudi 0.7 to Hudi 0.14 [hudi]

Posted by "bibhu107 (via GitHub)" <gi...@apache.org>.
bibhu107 commented on issue #11274:
URL: https://github.com/apache/hudi/issues/11274#issuecomment-2186570524

   I am closing this Issue. Thanks for support @KnightChess  


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


Re: [I] [SUPPORT]Performance degrade for migrating from Hudi 0.7 to Hudi 0.14 [hudi]

Posted by "KnightChess (via GitHub)" <gi...@apache.org>.
KnightChess commented on issue #11274:
URL: https://github.com/apache/hudi/issues/11274#issuecomment-2127250042

   `hoodie.simple.index.parallelism` can be modified to adjust the parallelism of stage 121, but it may cause the parallelism of stage 120 to decrease. You can give it a try.


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


Re: [I] [SUPPORT]Performance degrade for migrating from Hudi 0.7 to Hudi 0.14 [hudi]

Posted by "KnightChess (via GitHub)" <gi...@apache.org>.
KnightChess commented on issue #11274:
URL: https://github.com/apache/hudi/issues/11274#issuecomment-2127326143

   @bibhu107 and why shuffle data grow, I haven't looked at the code in detail; the following is just my guess. you have too much reducer, so the shuffle data may be need more meta. And on the other head, 0.7 -> 0.14, may be the shuffle's java object attr has change, this alse can cause diff. But I think parallelism is the major problem.


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


Re: [I] [SUPPORT]Performance degrade for migrating from Hudi 0.7 to Hudi 0.14 [hudi]

Posted by "KnightChess (via GitHub)" <gi...@apache.org>.
KnightChess commented on issue #11274:
URL: https://github.com/apache/hudi/issues/11274#issuecomment-2127295681

   @bibhu107 if next parallelism is too bigger, shuffle data will grow. And the mayjor reason is task is too much because high, spark need to scheduler too mush task.


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