ohk..Rather than doing kinit and then running your java client. Can you try
running your java client by making conf like this:

Configuration conf = HBaseConfiguration.create();
        // security stuff
        if (keytab != null && principal != null){
            keytab = keytab.trim();
            principal = principal.trim();
            if(!keytab.isEmpty() && !principal.isEmpty()){
            conf.set("hbase.myclient.keytab", keytab);
            conf.set("hbase.myclient.principal", principal);
            UserGroupInformation.setConfiguration(conf);
            User.login(conf, "hbase.myclient.keytab",
"hbase.myclient.principal", null);
            }
        }
On Wed, Jun 25, 2014 at 11:00 PM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
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