Anil,

Please try the options provided at
https://issues.apache.org/jira/browse/HADOOP-7489.

Essentially, pass JVM system properties (In Eclipse you'll edit the
Run Configuration for this) and add
"-Djava.security.krb5.realm=yourrealm
-Djava.security.krb5.kdc=yourkdc" and also ensure your Mac's
configured for the cluster's kerberos (i.e. via a krb5.conf or so)?

On Mon, Jun 17, 2013 at 9:56 AM, anil gupta <anilgupt...@gmail.com> wrote:
> Hi All,
>
> I am trying to connect to a secure Hadoop/HBase cluster. I wrote a java
> class that connects to the secure cluster and creates a table with presplit
> regions. I am running this class from eclipse itself. But, i keep on
> getting the following exception:
> *Caused by: KrbException: Could not load configuration from SCDynamicStore
>     at
> sun.security.krb5.SCDynamicStoreConfig.getConfig(SCDynamicStoreConfig.java:64)
>     at sun.security.krb5.Config.loadStanzaTable(Config.java:125)
>     at sun.security.krb5.Config.<init>(Config.java:176)
>     at sun.security.krb5.Config.getInstance(Config.java:79)*
>
> I have googled this problem but i cannot find a solution for fixing "*
> SCDynamicStore*" related problem in Eclipse on Mac. I want to run this code
> from eclipse. Please let me know if anyone knows the trick to resolve this
> problem on Mac. This is really annoying problem.
>
> --
> Thanks & Regards,
> Anil Gupta



-- 
Harsh J

Reply via email to