hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19920) TokenUtil.obtainToken unnecessarily creates a local directory
Date Fri, 16 Feb 2018 23:00:00 GMT

    [ https://issues.apache.org/jira/browse/HBASE-19920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16367988#comment-16367988
] 

Hudson commented on HBASE-19920:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #4596 (See [https://builds.apache.org/job/HBase-Trunk_matrix/4596/])
HBASE-19920 Lazy init for ProtobufUtil classloader (mdrob: rev 8cf7a9d51ee92444e5e2c730045d2289ea97e82a)
* (edit) hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/RemoteWithExtrasException.java
* (edit) hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/security/token/TokenUtil.java
* (edit) hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/ProtobufUtil.java
* (add) hbase-server/src/test/java/org/apache/hadoop/hbase/security/token/TestTokenUtil.java


> TokenUtil.obtainToken unnecessarily creates a local directory
> -------------------------------------------------------------
>
>                 Key: HBASE-19920
>                 URL: https://issues.apache.org/jira/browse/HBASE-19920
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Rohini Palaniswamy
>            Assignee: Mike Drob
>            Priority: Major
>             Fix For: 2.0.0-beta-2
>
>         Attachments: HBASE-19920.patch, HBASE-19920.v2.patch, HBASE-19920.v3.patch, HBASE-19920.v4.patch,
HBASE-19920.v5.patch, HBASE-19920.v6.patch, HBASE-19920.v7.patch, HBASE-19920.v8.patch, HBASE-19920.v9.patch
>
>
> On client code, when one calls TokenUtil.obtainToken it loads ProtobufUtil which in its
static block initializes DynamicClassLoader and that creates the directory ${hbase.local.dir}/jars/
and also instantiates a filesystem class to access hbase.dynamic.jars.dir.
> https://github.com/apache/hbase/blob/master/hbase-common/src/main/java/org/apache/hadoop/hbase/util/DynamicClassLoader.java#L109-L127
> Since this is region server specific code, not expecting this to happen when one accesses
hbase as a client.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message