hdfsreader 说明文档有个地方可能引起误解
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 5.7k
- PR merge metrics
- No merged PRs in 30d
Description
参数说明 -- hadoopConfig 部分,HA 配置的示例
> "hadoopConfig":{
"dfs.nameservices": "testDfs",
"dfs.ha.namenodes.testDfs": "namenode1,namenode2",
"dfs.namenode.rpc-address.aliDfs.namenode1": "",
"dfs.namenode.rpc-address.aliDfs.namenode2": "",
"dfs.client.failover.proxy.provider.testDfs": "org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider"
}
建议改为:
> "defaultFS": "hdfs://testcluster",
"hadoopConfig":{
"dfs.nameservices": "testcluster",
"dfs.ha.namenodes.testcluster": "namenode1,namenode2",
"dfs.namenode.rpc-address.testcluster.namenode1": "host:port",
"dfs.namenode.rpc-address.testcluster.namenode2": "host:port",
"dfs.client.failover.proxy.provider.testcluster": "org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider"
}
Contributor guide
No contributing guide indexed for this repository
Research direction
No file or test is named; locate the hdfsreader parameter documentation and its hadoopConfig HA example. Compare the nameservice and RPC-address values with the proposed testcluster example, and finish when the documented identifiers and defaultFS are consistent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100