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

mpapirkovskyy pushed a commit to branch branch-2.6
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/branch-2.6 by this push:
     new b8a05ee  AMBARI-25253. Missed support for abfs protocol. 
(mpapirkovskyy) (#2937)
b8a05ee is described below

commit b8a05ee00782fd65eedd919e7a76e5d0ce1cb9d6
Author: Myroslav Papirkovskyi <mpapirkovs...@apache.org>
AuthorDate: Tue Apr 16 19:11:05 2019 +0300

    AMBARI-25253. Missed support for abfs protocol. (mpapirkovskyy) (#2937)
---
 ambari-server/conf/unix/ambari.properties                               | 2 +-
 .../stacks/HDP/2.6/services/HIVE/configuration/ranger-hive-security.xml | 2 +-
 .../src/main/resources/stacks/HDP/2.6/upgrades/config-upgrade.xml       | 2 +-
 .../main/java/org/apache/ambari/view/utils/ambari/ValidatorUtils.java   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ambari-server/conf/unix/ambari.properties 
b/ambari-server/conf/unix/ambari.properties
index 80b2c74..7c8890d 100644
--- a/ambari-server/conf/unix/ambari.properties
+++ b/ambari-server/conf/unix/ambari.properties
@@ -69,7 +69,7 @@ views.request.connect.timeout.millis=5000
 views.request.read.timeout.millis=10000
 views.ambari.request.connect.timeout.millis=30000
 views.ambari.request.read.timeout.millis=45000
-views.skip.home-directory-check.file-system.list=wasb,adls,adl
+views.skip.home-directory-check.file-system.list=wasb,adls,adl,abfs
 
 # Scheduler settings
 server.execution.scheduler.isClustered=false
diff --git 
a/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/configuration/ranger-hive-security.xml
 
b/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/configuration/ranger-hive-security.xml
index 889a7a3..f9ed3bc 100644
--- 
a/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/configuration/ranger-hive-security.xml
+++ 
b/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/configuration/ranger-hive-security.xml
@@ -22,7 +22,7 @@
 
   <property>
     <name>ranger.plugin.hive.urlauth.filesystem.schemes</name>
-    <value>hdfs:,file:,wasb:,adl:</value>
+    <value>hdfs:,file:,wasb:,adl:,abfs:</value>
     <description>Add urlauth filesystem schemes</description>
     <value-attributes>
       <empty-value-valid>true</empty-value-valid>
diff --git 
a/ambari-server/src/main/resources/stacks/HDP/2.6/upgrades/config-upgrade.xml 
b/ambari-server/src/main/resources/stacks/HDP/2.6/upgrades/config-upgrade.xml
index a67018d..a22626f 100644
--- 
a/ambari-server/src/main/resources/stacks/HDP/2.6/upgrades/config-upgrade.xml
+++ 
b/ambari-server/src/main/resources/stacks/HDP/2.6/upgrades/config-upgrade.xml
@@ -72,7 +72,7 @@
           </definition>
           <definition xsi:type="configure" 
id="hdp_2_6_maint_ranger_hive_plugin_urlauth_filesystem_schemes">
             <type>ranger-hive-security</type>
-            <set key="ranger.plugin.hive.urlauth.filesystem.schemes" 
value="hdfs:,file:,wasb:,adl:"
+            <set key="ranger.plugin.hive.urlauth.filesystem.schemes" 
value="hdfs:,file:,wasb:,adl:,abfs:"
               if-type="ranger-hive-security" 
if-key="ranger.plugin.hive.service.name" if-key-state="present"/>
           </definition>
           <definition xsi:type="configure" 
id="hdp_2_6_maint_jaas_config_for_hive_hook" summary="Updating hive atlas 
application properties">
diff --git 
a/contrib/views/utils/src/main/java/org/apache/ambari/view/utils/ambari/ValidatorUtils.java
 
b/contrib/views/utils/src/main/java/org/apache/ambari/view/utils/ambari/ValidatorUtils.java
index f5f8bd9..ea6b0b4 100644
--- 
a/contrib/views/utils/src/main/java/org/apache/ambari/view/utils/ambari/ValidatorUtils.java
+++ 
b/contrib/views/utils/src/main/java/org/apache/ambari/view/utils/ambari/ValidatorUtils.java
@@ -29,7 +29,7 @@ public class ValidatorUtils {
    * @return is url valid
    */
   public static boolean validateHdfsURL(String webhdfsUrl) {
-    String[] schemes = {"webhdfs", "hdfs", "s3", "wasb", "swebhdfs", "adl"};
+    String[] schemes = {"webhdfs", "hdfs", "s3", "wasb", "swebhdfs", "adl", 
"abfs"};
     return validateURL(webhdfsUrl, schemes);
   }
 

Reply via email to