phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-4675) Trailing slash on DYNAMIC_JARS_DIR_KEY configuration is important
Date Thu, 29 Mar 2018 10:29:00 GMT

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

Hudson commented on PHOENIX-4675:
---------------------------------

FAILURE: Integrated in Jenkins build PreCommit-PHOENIX-Build #1821 (See [https://builds.apache.org/job/PreCommit-PHOENIX-Build/1821/])
PHOENIX-4675 Better parsing around the allowed UDF jar directory (elserj: rev d04db9966ada85998a8830cec86c4134528e5ea3)
* (edit) phoenix-core/src/it/java/org/apache/phoenix/end2end/UserDefinedFunctionsIT.java
* (edit) phoenix-core/src/main/java/org/apache/phoenix/expression/function/UDFExpression.java


> Trailing slash on DYNAMIC_JARS_DIR_KEY configuration is important
> -----------------------------------------------------------------
>
>                 Key: PHOENIX-4675
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4675
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Major
>             Fix For: 4.14.0, 5.0.0
>
>         Attachments: PHOENIX-4675.001.patch
>
>
> Testing out PHOENIX-4231 gave me an error as such:
> {code:java}
> Caused by: java.lang.SecurityException: Loading jars from hdfs://mycluster/tmp/JavaJars/UDF_artifact-1.0-SNAPSHOT.jar
is not allowed. The only location that is allowed is hdfs://mycluster/tmp/JavaJars/{code}
> Given this error message, it seems like my custom UDF was incorrectly denied loading.
However, I believe the actual (string-based) comparison was done on {{hdfs://mycluster/tmp/JavaJars/}}
and {{hdfs://mycluster/tmp/JavaJars}}.



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

Mime
View raw message