Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> "KrbException: Could not load configuration from SCDynamicStore" in Eclipse on Mac


Copy link to this message
-
Re: "KrbException: Could not load configuration from SCDynamicStore" in Eclipse on Mac
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB