hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16298) ESAPI.properties missing in hbase-server.jar
Date Mon, 01 Aug 2016 16:09:20 GMT

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

Sean Busbey commented on HBASE-16298:

this might get obviated by HBASE-16260 since we'll likely be reverting ESAPI from all branches
due to licensing.

> ESAPI.properties missing in hbase-server.jar
> --------------------------------------------
>                 Key: HBASE-16298
>                 URL: https://issues.apache.org/jira/browse/HBASE-16298
>             Project: HBase
>          Issue Type: Bug
>          Components:  Interface
>    Affects Versions: 1.1.5, 1.2.2
>         Environment: Debian 8.2
> Linux 3.16.0-4-amd64
> OpenJDK 8u91-b14-3ubuntu1~16.04.1
>            Reporter: Sylvain VeyriƩ
>         Attachments: HBASE-16298.patch
> For policy/compliance reasons, we removed the tests jars from lib/ directory on HBase
Master. Everything was working fine from 1.0 to 1.1.3.
> When I upgraded from 1.1.3 to 1.1.5, the /master-status page started to return an error
500: {{java.lang.IllegalArgumentException: Failed to load ESAPI.properties as a classloader
> After some search, I found out that ESAPI has been added following HBASE-15122 which
also added the ESAPI.properties files into src/main/resources.
> However, it seems an exclusion has been put on packaging: the file is absent from hbase-server-1.1.5.jar,
but present in hbase-server-1.1.5-tests.jar, which is in the lib/ directory in the tar.gz
> Our workaround is to deploy back hbase-server-1.1.5-tests.jar in lib/. However, it does
not seem right to require tests jar to have HBase master propertly work.
> Even if it is the current HBase policy to keep those jars, I think the hbase-server.jar
should contain ESAPI.properties.
> The same thing applies for 1.2 branch.

This message was sent by Atlassian JIRA

View raw message