You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "yogesh bedekar (JIRA)" <ji...@apache.org> on 2013/07/10 10:35:52 UTC

[jira] [Updated] (HBASE-7623) Username is not available for HConnectionManager to use in HConnectionKey

     [ https://issues.apache.org/jira/browse/HBASE-7623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

yogesh bedekar updated HBASE-7623:
----------------------------------

    Attachment: pom.xml

Hi Jimmy,

The bundle itself gets compiled successfully so the dependencies seem to 
be resolved.
I am attaching my maven pom.xml file which indicates that the following 
jar files are embedded -
hbase|hadoop-core|guava|protobuf-java|jersey-core|jersey-json|jersey-server|metrics-core|commons-cli|commons-codec|commons-configuration|commons-httpclient|commons-io|commons-lang|commons-logging|jaxb-api|log4j|avro|avro-ipc|commons-math|libthrift|zookeeper|jackson-core-asl|jackson-mapper-asl|jackson-jaxrs|jackson-xc|jamon-runtime|jruby-complete|jetty|jetty-util|jsp|jsp-api|servlet-api|slf4j-api|slf4j-log4j12|stax-api|activation|asm|core|high-scale-lib|httpcore|velocity|snappy-java|xmlenc|commons-beanutils|commons-beanutils-core|commons-collections|commons-digester|commons-el|commons-net|httpclient|jasper-compiler|jasper-runtime|jaxb-impl|jettison|jsr305|netty

Than ks in advance for any help.


Rgds,
Yogesh

-- 
Yogesh Bedekar
Technical Lead
Oracle Event Processing
Prestige Lexington Towers
Bangalore


                
> 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
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira