HDFS Directory

Feedback


You can use CSV data, index files, as well as TIFF and GeoTIFF raster data stored in HDFS for distributed analysis. Among them, after registering the raster data (such as TIFF, GeoTIFF) stored in the HDFS directory to iServer, it can be distributed and stored in the HDFS distributed repository and local file system storage.

Register the HDFS directory

Sign in In the iServer service management server, click "Data"-"Data Registration", enter the register datastore page (http://{ip}:{port}/iserver/admin-ui/data/dataRegistration), click the "Register Datastore" button, and configure the following parameters:

  1. Subject name: username @ domain. For example: iServer@SUPERMAP1.COM
    • User name: Must be a system user of the HDFS cluster Mater node.
    • Domain: The domain configured for the Kerberos service. (Must be in the same domain as the HDFS cluster)
  2. Key file path: Copy the key file generated during the cluster building process to the file location on the machine where the iServer service is located.
  3. Kerberos client configuration file path: The file location of the Kerberos client configuration file on the machine where the iServer service is located.
  4. Set whether the selected HDFS cluster is in 'high availability mode'. If it is not in high availability mode, there is no need to check it; If it is in high availability mode, it needs to be checked and the core-site.xml and hdfs-site.xml in the HDFS cluster configuration file need to be copied to any specified location on the machine where the iServer is located. The following parameters should also be filled in:
    • Hadoop cluster core-site.xml file path: core-site.xml file path in the machine where iServer is located
    • HDFS cluster HDFS-site.xml file path: HDFS-site.xml file path in the machine where iServer is located

Click the "Register Datastore" button to complete the registration.

Note: 1. If you have registered a CSV data file, it needs to be validated before it can be used for distributed analysis services. See details: CSV data file verification.

2. If the registered HDFS directory has enabled Kerberos authentication and the distributed analysis service uses a Hadoop Yarn cluster with enabled Kerberos authentication, it can be used for distributed analysis.