You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2019/10/29 07:21:24 UTC

[GitHub] [incubator-iotdb] samperson1997 opened a new pull request #486: [IOTDB-271] Add configuration for HDFS HA

samperson1997 opened a new pull request #486: [IOTDB-271] Add configuration for HDFS HA
URL: https://github.com/apache/incubator-iotdb/pull/486
 
 
   Add configuration for HDFS HA. If there are more than one `hdfs_ip` in configuration, Hadoop HA is used.  Example: 
   ```
   # TSFile storage file system. Currently, Tsfile are supported to be stored in LOCAL file system or HDFS.
   tsfile_storage_fs=LOCAL
   
   # If using HDFS, hadoop ip can be configured. If there are more than one hdfs_ip, Hadoop HA is used
   hdfs_ip=localhost
   
   # If using HDFS, hadoop port can be configured
   hdfs_port=9000
   
   # If there are more than one hdfs_ip, Hadoop HA is used. Below are configuration for HA
   # If using Hadoop HA, nameservices of hdfs can be configured
   dfs_nameservices=hdfsnamespace
   
   # If using Hadoop HA, namenodes under dfs nameservices can be configured
   dfs_ha_namenodes=nn1,nn2
   
   # If using Hadoop HA, automatic failover can be enabled or disabled
   dfs_ha_automatic_failover_enabled=true
   
   # If using Hadoop HA and enabling automatic failover, the proxy provider can be configured
   dfs_client_failover_proxy_provider=org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services