title: java.lang.IllegalArgumentException: Can't find HmacSHA1 algorithm
body: <p>After install hadoop through <code>brew install hadoop</code>,i want to start up hadoop,
  when run hadoop2.7.2  /start-all.sh on mac,it went wrong,the logs:</p>
  
  <pre><code>Swing Hu  19:53:45
  16/08/19 19:50:25 INFO namenode.FSNamesystem: fsOwner             = swinghu (auth:SIMPLE)
  16/08/19 19:50:25 INFO namenode.FSNamesystem: supergroup          = supergroup
  16/08/19 19:50:25 INFO namenode.FSNamesystem: isPermissionEnabled = true
  16/08/19 19:50:25 INFO namenode.FSNamesystem: HA Enabled: false
  16/08/19 19:50:25 INFO namenode.FSNamesystem: Append Enabled: true
  16/08/19 19:50:25 ERROR namenode.FSNamesystem: FSNamesystem initialization failed.
  java.lang.IllegalArgumentException: Can't find HmacSHA1 algorithm.
      at org.apache.hadoop.security.token.SecretManager.&lt;init&gt;(SecretManager.java:146)
      at org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager.&lt;init&gt;(AbstractDelegationTokenSecretManager.java:104)
      at org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager.&lt;init&gt;(DelegationTokenSecretManager.java:95)
      at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.createDelegationTokenSecretManager(FSNamesystem.java:6600)
      at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.&lt;init&gt;(FSNamesystem.java:829)
      at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.&lt;init&gt;(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)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1554)
  16/08/19 19:50:25 INFO namenode.FSNamesystem: Stopping services started for acti
  </code></pre>