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

Sun Xin commented on PHOENIX-7237:
----------------------------------

The logic in 
[ResourceList.getResourcesPath|https://github.com/apache/phoenix/blob/bc1e2e7bea40c7d03940748e8f1d9f6b23339867/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/util/ResourceList.java#L103]
 is to look for resource globally when it is not found in the rootResourceDir 
directory.  If so, I don't understand what the rootResourceDir does. Mind 
explaining it to me?

Or can we change this part of the logic? Just look for it from the 
rootResourceDir?

> Pherf unit tests PherfTest and ResourceTest are failing
> -------------------------------------------------------
>
>                 Key: PHOENIX-7237
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7237
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 5.2.0, 5.1.3
>            Reporter: Sun Xin
>            Priority: Major
>
> I got same problem like PHOENIX-5776  in master and 5.1 branch.
> {code:java}
> org.apache.phoenix.pherf.exception.PherfException: Could not load resources: 
> /datamodel/alter_table_add.sql {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to