Skip to content

[ISSUE #23] solve error Algorithm HmacSHA1 not available when your java_home is not found#3869

Merged
duhenglucky merged 1 commit into
apache:developfrom
TianMing2018:develop
Jun 6, 2022
Merged

[ISSUE #23] solve error Algorithm HmacSHA1 not available when your java_home is not found#3869
duhenglucky merged 1 commit into
apache:developfrom
TianMing2018:develop

Conversation

@TianMing2018

Copy link
Copy Markdown
Contributor

add find_java_home function to avoid error: Algorithm HmacSHA1 not available

Make sure set the target branch to develop

What is the purpose of the change

Solve error Algorithm HmacSHA1 not available when your java_home is not found by adding find_java_home function to tools.sh

Brief changelog

Solve error Algorithm HmacSHA1 not available when your java_home is not found by adding find_java_home function to tools.sh

Verifying this change

eg: 172.17.0.2 is you rmqnamesrv ip address

you can use this command(docker exec -it rmqbroker ./mqadmin clusterList -n 172.17.0.2:9876) to verify if RocketMQ broker works now.

#23 Deploy broker with docker-compose returns NoSuchAlgorithmException

@yuz10 yuz10 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job, but please use a valid issue number. thx

@caigy caigy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that $JAVA_HOME would be overwritten if it already defined.

@duhenglucky

Copy link
Copy Markdown
Contributor

@TianMing2018 ping~

@TianMing2018

TianMing2018 commented Mar 2, 2022 via email

Copy link
Copy Markdown
Contributor Author

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

Merging #3869 (840da24) into develop (c1bb6aa) will increase coverage by 0.36%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop    #3869      +/-   ##
=============================================
+ Coverage      47.44%   47.81%   +0.36%     
- Complexity      4917     4985      +68     
=============================================
  Files            633      633              
  Lines          42497    42525      +28     
  Branches        5579     5573       -6     
=============================================
+ Hits           20163    20333     +170     
+ Misses         19830    19691     -139     
+ Partials        2504     2501       -3     
Impacted Files Coverage Δ
...org/apache/rocketmq/store/ha/WaitNotifyObject.java 66.07% <0.00%> (-5.36%) ⬇️
...apache/rocketmq/remoting/netty/ResponseFuture.java 85.00% <0.00%> (-5.00%) ⬇️
...rocketmq/remoting/netty/NettyRemotingAbstract.java 46.88% <0.00%> (-4.03%) ⬇️
.../java/org/apache/rocketmq/logging/inner/Level.java 36.00% <0.00%> (-2.00%) ⬇️
...etmq/client/latency/LatencyFaultToleranceImpl.java 49.35% <0.00%> (-1.94%) ⬇️
...pache/rocketmq/store/MultiPathMappedFileQueue.java 92.30% <0.00%> (-1.93%) ⬇️
...ent/impl/consumer/DefaultLitePullConsumerImpl.java 67.75% <0.00%> (-1.56%) ⬇️
...he/rocketmq/client/trace/AsyncTraceDispatcher.java 79.70% <0.00%> (-1.49%) ⬇️
...java/org/apache/rocketmq/logging/inner/Logger.java 50.23% <0.00%> (-1.44%) ⬇️
...che/rocketmq/namesrv/kvconfig/KVConfigManager.java 59.18% <0.00%> (-1.03%) ⬇️
... and 35 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c1bb6aa...840da24. Read the comment docs.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.6%) to 51.96% when pulling 840da24 on TianMing2018:develop into 35c95eb on apache:develop.

1 similar comment
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.6%) to 51.96% when pulling 840da24 on TianMing2018:develop into 35c95eb on apache:develop.

@francisoliverlee francisoliverlee added this to the 4.9.4 milestone Mar 18, 2022
@duhenglucky
duhenglucky merged commit 96e8501 into apache:develop Jun 6, 2022
madongming1001 pushed a commit to madongming1001/rocketmq that referenced this pull request Jun 6, 2022
GenerousMan pushed a commit to GenerousMan/rocketmq that referenced this pull request Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.