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

Wellington Chevreuil updated HBASE-23892:
-----------------------------------------
    Affects Version/s: 3.0.0

> 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
>    Affects Versions: 3.0.0
>            Reporter: Wellington Chevreuil
>            Assignee: Wellington Chevreuil
>            Priority: Major
>
> 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