Wellington Chevreuil created HBASE-23892:
--------------------------------------------

             Summary: KeyStoreTestUtil.getClasspathDir NPE when running UT 
extends SecureTestCluster and hbase-server is referred as a jar file.
                 Key: HBASE-23892
                 URL: https://issues.apache.org/jira/browse/HBASE-23892
             Project: HBase
          Issue Type: Bug
            Reporter: Wellington Chevreuil
            Assignee: Wellington Chevreuil


Was working on a third party project that relies on hbase-server as a 
dependency and defines a UT class that extends *SecureTestCluster*. In this 
project, hbase-server jar is added on the test classpath, and it relies on 
*KeyStoreTestUtil* to decide where to place related ssl files. Current 
*KeyStoreTestUtil* code assumes related class files would be under an existing 
local FS path, but when those are loaded from a jar, related class URI path 
returns null and causes an NPE that errors out the test execution. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to