[
https://issues.apache.org/jira/browse/HBASE-7623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
yogesh bedekar updated HBASE-7623:
----------------------------------
Attachment: yogesh_bedekar.vcf
Hi Jimmy,
I do not have security enabled in hbase-site.xml.
The following is my configuration -
<configuration>
<property>
<name>hbase.rootdir</name>
<value>file:///scratch/ybedekar/hbase0.94.8logs/hbase</value>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/scratch/ybedekar/hbase0.94.8logs/zookeeper</value>
</property>
<property>
<name>hbase.security.authorization</name>
<value>false</value>
</property>
</configuration>
Your help is really appreciated in resolving this.
Thanks,
Yogesh
> Username is not available for HConnectionManager to use in HConnectionKey
> -------------------------------------------------------------------------
>
> Key: HBASE-7623
> URL: https://issues.apache.org/jira/browse/HBASE-7623
> Project: HBase
> Issue Type: Improvement
> Components: Client, security
> Reporter: Jimmy Xiang
> Assignee: Jimmy Xiang
> Priority: Minor
> Attachments: pom.xml, trunk-7623.patch, yogesh_bedekar.vcf,
> yogesh_bedekar.vcf, yogesh_bedekar.vcf, yogesh_bedekar.vcf
>
>
> Sometimes, some non-IOException prevents User.getCurrent() to get a username.
> It makes it impossible to create a HConnection. We should catch all
> exception here:
> {noformat}
> try {
> User currentUser = User.getCurrent();
> if (currentUser != null) {
> username = currentUser.getName();
> }
> } catch (IOException ioe) {
> LOG.warn("Error obtaining current user, skipping username in
> HConnectionKey",
> ioe);
> }
> {noformat}
> Not just IOException, so that client can move forward.
--
This message was sent by Atlassian JIRA
(v6.2#6252)