[Solved-1 Solution] Still getting “Unable to load realm info from SCDynamicStore” after bug fix ?
Problem:
- You installed Hadoop and Pig using brew install hadoop and brew install pig.
export HADOOP_OPTS="-Djava.security.krb5.realm=OX.AC.UK -Djava.security.krb5.kdc=kdc0.ox.ac.uk:kdc1.ox.ac.uk"
- In
hadoop-env.sh
file, which you may have . - However, when run this
hadoop namenode -format
, still getting:
java[1548:1703] Unable to load realm info from SCDynamicStore
Anyone know the solution for it?
Solution 1:
- We need to use an older JDK also can set this in the hadoop-env.sh file by changing the JAVA_HOME setting to:
export JAVA_HOME=`/usr/libexec/java_home -v 1.6`