You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "hudeqi (via GitHub)" <gi...@apache.org> on 2023/06/21 09:56:42 UTC

[GitHub] [kafka] hudeqi opened a new pull request, #13893: KAFKA-15110:Fix the failure to start due to the existence of multiple version packages under libs

hudeqi opened a new pull request, #13893:
URL: https://github.com/apache/kafka/pull/13893

   ### Activation
   For example, when I build a jar through './gradlew jar' under a 3.5.0 branch, and then switch to a 3.6.0 branch, a jar is also built. Since "core/build/libs" is a  "gitignore dir", there will be two versions of packages in this directory. At this time, when I start the kafka process under the local bin dir, I will encounter the problem that it cannot be started because the version is running incorrectly.
   The reason is that /kafka-run-class.sh transfers all jar packages to CLASSPATH by default, which is an unreasonable behavior.
   The issue scene is [jira](https://issues.apache.org/jira/browse/KAFKA-15110)
   
   ### Solution
   Select the package to run the current code version in kafka-run-class.sh. 
   After testing, this problem was solved very well. Need to see if this change will affect CI test.


-- 
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: jira-unsubscribe@kafka.apache.org

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


Re: [PR] KAFKA-15110:Fix the fail start due to the existence of multiple version packages under libs [kafka]

Posted by "hudeqi (via GitHub)" <gi...@apache.org>.
hudeqi closed pull request #13893: KAFKA-15110:Fix the fail start due to the existence of multiple version packages under libs
URL: https://github.com/apache/kafka/pull/13893


-- 
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: jira-unsubscribe@kafka.apache.org

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


[GitHub] [kafka] hudeqi commented on pull request #13893: KAFKA-15110:Fix the fail start due to the existence of multiple version packages under libs

Posted by "hudeqi (via GitHub)" <gi...@apache.org>.
hudeqi commented on PR #13893:
URL: https://github.com/apache/kafka/pull/13893#issuecomment-1702037569

   Hi, do you think this PR is meaningful? @divijvaidya 


-- 
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: jira-unsubscribe@kafka.apache.org

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