Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

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


+
anil gupta 2013-06-17, 04:26
Copy link to this message
-
Re: "KrbException: Could not load configuration from SCDynamicStore" in Eclipse on Mac
Harsh J 2013-06-17, 05:16
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
+
anil gupta 2013-06-17, 06:10