java.lang.IllegalArgumentException: Can't find HmacSHA1 algorithm.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Hu Swing
, 1 year ago
java.lang.IllegalArgumentException: Can't find HmacSHA1 algorithm.
at org.apache.hadoop.security.token.SecretManager.(SecretManager.java:146)
at org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager.(DelegationTokenSecretManager.java:95)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.createDelegationTokenSecretManager(FSNamesystem.java:6600)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.(FSNamesystem.java:829)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.(FSNamesystem.java:697)
at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:984)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1429)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.