Solve Problem: “Unable to load realm info from SCDynamicStore” on Mac OS X Mavericks 10.9.1

Solve Problem: “Unable to load realm info from SCDynamicStore” on Mac OS X Mavericks 10.9.1


  1. Environment:
    • Hadoop-2.2.0 (Stable)
    • Java 1.6
    • OS X Mavericks 10.9.1
  2. Modifiy hadoop-env.sh
    • $ cd hadoop-2.2.0/etc/hadoop
    • $ vim hadoop-env.sh
    123
                 
                 
                 
                 
    export JAVA_HOME =/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
    ...
    export HADOOP_OPTS = "-Djava.security.krb5.realm=OX.AC.UK -Djava.security.krb5.kdc=kdc0.ox.ac.uk:kdc1.ox.ac.uk"
    view raw Add_in_hadoop-env.sh hosted with ❤ by  GitHub
  3. Modifiy yarn-env.sh
    • $ cd hadoop-2.2.0/etc/hadoop
    • $ vim yarn-env.sh
    1
                 
                 
                 
                 
    YARN_OPTS = "$YARN_OPTS -Djava.security.krb5.realm=OX.AC.UK -Djava.security.krb5.kdc=kdc0.ox.ac.uk:kdc1.ox.ac.uk"
    view raw Add_in_yarn-env.sh hosted with ❤ by  GitHub

你可能感兴趣的:(Solve Problem: “Unable to load realm info from SCDynamicStore” on Mac OS X Mavericks 10.9.1)