This is an automated email from the ASF dual-hosted git repository.

pvillard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new 703c3cf  NIFI-5906 - Removed FILE_EXISTS_VALIDATOR on JARs and Files 
to be added in the session
703c3cf is described below

commit 703c3cfe63580eef3ef065487afc2cfb19090922
Author: Celso Marques <[email protected]>
AuthorDate: Mon Feb 8 12:18:40 2021 -0300

    NIFI-5906 - Removed FILE_EXISTS_VALIDATOR on JARs and Files to be added in 
the session
    
    Signed-off-by: Pierre Villard <[email protected]>
    
    This closes #4810.
---
 .../java/org/apache/nifi/controller/livy/LivySessionController.java     | 2 --
 1 file changed, 2 deletions(-)

diff --git 
a/nifi-nar-bundles/nifi-spark-bundle/nifi-livy-controller-service/src/main/java/org/apache/nifi/controller/livy/LivySessionController.java
 
b/nifi-nar-bundles/nifi-spark-bundle/nifi-livy-controller-service/src/main/java/org/apache/nifi/controller/livy/LivySessionController.java
index 623774d..fe1086e 100644
--- 
a/nifi-nar-bundles/nifi-spark-bundle/nifi-livy-controller-service/src/main/java/org/apache/nifi/controller/livy/LivySessionController.java
+++ 
b/nifi-nar-bundles/nifi-spark-bundle/nifi-livy-controller-service/src/main/java/org/apache/nifi/controller/livy/LivySessionController.java
@@ -139,7 +139,6 @@ public class LivySessionController extends 
AbstractControllerService implements
             .displayName("Session JARs")
             .description("JARs to be used in the Spark session.")
             .required(false)
-            .addValidator(StandardValidators.createListValidator(true, true, 
StandardValidators.FILE_EXISTS_VALIDATOR))
             
.expressionLanguageSupported(ExpressionLanguageScope.VARIABLE_REGISTRY)
             .build();
 
@@ -148,7 +147,6 @@ public class LivySessionController extends 
AbstractControllerService implements
             .displayName("Session Files")
             .description("Files to be used in the Spark session.")
             .required(false)
-            .addValidator(StandardValidators.createListValidator(true, true, 
StandardValidators.FILE_EXISTS_VALIDATOR))
             
.expressionLanguageSupported(ExpressionLanguageScope.VARIABLE_REGISTRY)
             .defaultValue(null)
             .build();

Reply via email to