hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anil gupta <anilgupt...@gmail.com>
Subject Re: "KrbException: Could not load configuration from SCDynamicStore" in Eclipse on Mac
Date Mon, 17 Jun 2013 06:10:54 GMT
Hi Harsh,

Awesome!! It worked. Thanks you so much. Actually, i went through that
ticket before but the above option was not mentioned there.

Additional Info for others: In the run configuration add
"-Djava.security.krb5.realm=yourrealm -Djava.security.krb5.kdc=yourkdc" in
VM arguments.

Thanks,
Anil



On Sun, Jun 16, 2013 at 10:16 PM, Harsh J <harsh@cloudera.com> wrote:

> 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 <anilgupta84@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
>



-- 
Thanks & Regards,
Anil Gupta

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message