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

Stack Overflow | Hu Swing | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

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

    Stack Overflow | 8 months ago | Hu Swing
    java.lang.IllegalArgumentException: Can't find HmacSHA1 algorithm.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Can't find HmacSHA1 algorithm.

      at org.apache.hadoop.security.token.SecretManager.<init>()
    2. Hadoop
      AbstractDelegationTokenSecretManager.<init>
      1. org.apache.hadoop.security.token.SecretManager.<init>(SecretManager.java:146)
      2. org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager.<init>(AbstractDelegationTokenSecretManager.java:104)
      2 frames
    3. Apache Hadoop HDFS
      NameNode.main
      1. org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager.<init>(DelegationTokenSecretManager.java:95)
      2. org.apache.hadoop.hdfs.server.namenode.FSNamesystem.createDelegationTokenSecretManager(FSNamesystem.java:6600)
      3. org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:829)
      4. org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:697)
      5. org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:984)
      6. org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1429)
      7. org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1554)
      7 frames