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

Hudson commented on AMBARI-19528:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #714 (See 
[https://builds.apache.org/job/Ambari-branch-2.5/714/])
AMBARI-19528 : loading coresite and hdfssite and custom configs in view 
(nitiraj.rathore: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=40e60bde87b478c27c44c39aa3c80b2a0cd78393])
* (edit) contrib/views/commons/pom.xml
* (edit) 
contrib/views/commons/src/main/java/org/apache/ambari/view/commons/hdfs/UserService.java
* (edit) 
contrib/views/commons/src/main/java/org/apache/ambari/view/commons/hdfs/HdfsService.java
* (edit) 
contrib/views/pig/src/main/java/org/apache/ambari/view/pig/utils/UserLocalObjects.java
* (edit) 
contrib/views/commons/src/main/java/org/apache/ambari/view/commons/hdfs/UploadService.java
* (edit) 
contrib/views/files/src/main/java/org/apache/ambari/view/filebrowser/DownloadService.java
* (add) 
contrib/views/commons/src/main/java/org/apache/ambari/view/commons/hdfs/ViewPropertyHelper.java
* (edit) contrib/views/hive20/src/main/resources/view.xml
* (edit) 
contrib/views/utils/src/main/java/org/apache/ambari/view/utils/hdfs/HdfsUtil.java
* (edit) contrib/views/wfmanager/pom.xml
* (edit) 
contrib/views/hive20/src/main/java/org/apache/ambari/view/hive20/resources/files/FileService.java
* (edit) ambari-views/src/main/java/org/apache/ambari/view/cluster/Cluster.java
* (edit) contrib/views/pig/pom.xml
* (edit) contrib/views/hive-next/pom.xml
* (edit) 
contrib/views/hive20/src/main/java/org/apache/ambari/view/hive20/resources/browser/FileService.java
* (edit) 
contrib/views/hive20/src/main/java/org/apache/ambari/view/hive20/internal/HdfsApiSupplier.java
* (edit) contrib/views/wfmanager/src/main/resources/view.xml
* (edit) 
contrib/views/files/src/main/java/org/apache/ambari/view/filebrowser/FilePreviewService.java
* (edit) contrib/views/hive20/pom.xml
* (edit) 
contrib/views/files/src/main/java/org/apache/ambari/view/filebrowser/FileBrowserService.java
* (edit) contrib/views/hive-next/src/main/resources/view.xml
* (edit) 
contrib/views/hive-next/src/main/java/org/apache/ambari/view/hive2/utils/SharedObjectsFactory.java
* (edit) contrib/views/pig/src/main/resources/view.xml
* (edit) contrib/views/pom.xml
* (edit) 
contrib/views/hive20/src/main/java/org/apache/ambari/view/hive20/utils/SharedObjectsFactory.java
* (edit) contrib/views/utils/pom.xml
* (edit) 
contrib/views/utils/src/main/java/org/apache/ambari/view/utils/hdfs/HdfsApi.java
* (edit) 
contrib/views/files/src/main/java/org/apache/ambari/view/filebrowser/HelpService.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/view/ClusterImpl.java
* (edit) contrib/views/jobs/src/main/resources/ui/.gitignore
* (edit) 
contrib/views/pig/src/main/java/org/apache/ambari/view/pig/resources/files/FileService.java
* (edit) contrib/views/files/pom.xml
* (edit) 
contrib/views/utils/src/main/java/org/apache/ambari/view/utils/hdfs/ConfigurationBuilder.java
* (edit) 
contrib/views/wfmanager/src/main/java/org/apache/oozie/ambari/view/HDFSFileUtils.java
* (edit) 
contrib/views/hive-next/src/main/java/org/apache/ambari/view/hive2/internal/HdfsApiSupplier.java
* (edit) contrib/views/files/src/main/resources/view.xml
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/view/RemoteAmbariCluster.java
* (edit) 
contrib/views/hive-next/src/main/java/org/apache/ambari/view/hive2/resources/files/FileService.java
* (edit) 
contrib/views/commons/src/main/java/org/apache/ambari/view/commons/hdfs/FileOperationService.java
* (edit) 
contrib/views/wfmanager/src/main/java/org/apache/oozie/ambari/view/FileServices.java


> Ambari views : Adding new FileSystem support to views should work without 
> code changes
> --------------------------------------------------------------------------------------
>
>                 Key: AMBARI-19528
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19528
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-views
>    Affects Versions: 2.4.0
>            Reporter: Nitiraj Singh Rathore
>            Assignee: Nitiraj Singh Rathore
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-19528_branch-2.5.patch
>
>
> Right now when new file-system support has to be added to views, we need to 
> add code to include several more key value pairs into the conf to make it 
> work.
> Usually these key value pairs are file-system class names, secret key and 
> access key.
> following 2 changes are proposed.
> 1. load the complete core-site and hdfs-site into the conf for creating 
> filesystem. This will load any secret key, access key configured. It will 
> also load any other necessary parameters.
> 2. Create a new view setting's parameter per view which will have semi colon 
> separated key=value pairs that needs to be loaded into conf for connecting to 
> the filesystem. This will cover any extra parameters.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to