Exception in thread "main" java.io.IOException:Error generating shuffle secret key
At Org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal (jobsubmitter.java:476)
At Org.apache.hadoop.mapreduce.job$10.run (job.java:1296)
At Org.apache.hadoop.mapreduce.job$10.run (job.java:1293)
At Java.security.AccessController.doPrivileged (Native method)
At Javax.security.auth.Subject.doAs (subject.java:415)
At Org.apache.hadoop.security.UserGroupInformation.doAs (usergroupinformation.java:1628)
At Org.apache.hadoop.mapreduce.Job.submit (job.java:1293)
At Org.apache.hadoop.mapreduce.Job.waitForCompletion (job.java:1314)
At test123. Eventcount.main (eventcount.java:93)
caused by:java.security.NoSuchAlgorithmException:HmacSHA1 keygenerator not available
At Javax.crypto.keygenerator.<init> (keygenerator.java:158)
At Javax.crypto.KeyGenerator.getInstance (keygenerator.java:207)
At Org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal (jobsubmitter.java:473)
... 8 more
Replace the JRE System Library with the JRE below the JDK, not the outside JRE, because the JRE in the JDK has the relevant class to generate the secret key