HDFS datasource is used to set up a connection to a remote HDFS. In WSO2 DAS, you can create a HDFS datasource by specifying the datasource configuration in the
analytics-datasources.xml file as follows.
For information on the above properties, and other properties that you can specify in this datasource configuration, go to Apache Hadoop Documentation.
Permission enforcement for remote HDFS clients
While the HDFS cluster is being set up for use by WSO2 DAS, please ensure that the UNIX user account in all clients are present in the HDFS nodes and that all users have R/W permission to HDFS root directory.
Alternatively, you can suspend the enforcement of distributed filesystem permission enforcement through adding the following configuration to <HADOOP_HOME>/etc/hadoop/hdfs-site.xml in all HDFS nodes: