-
Notifications
You must be signed in to change notification settings - Fork 588
HDDS-12164. Rename DFSConfigKeysLegacy config keys prefixed with 'dfs' #7803
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -37,8 +37,8 @@ that is setup in hdfs-site.xml. | |
|
|
||
| Property|Description | ||
| --------|-------------- | ||
| dfs.datanode.kerberos.principal|The datanode service principal. <br/> e.g. dn/[email protected] | ||
| dfs.datanode.kerberos.keytab.file| The keytab file used by datanode daemon to login as its service principal. | ||
| hdds.datanode.kerberos.principal|The datanode service principal. <br/> e.g. dn/[email protected] | ||
| hdds.datanode.kerberos.keytab.file| The keytab file used by datanode daemon to login as its service principal. | ||
sarvekshayr marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| hdds.datanode.http.auth.kerberos.principal| Datanode http server service principal. | ||
| hdds.datanode.http.auth.kerberos.keytab| The keytab file used by datanode http server to login as its service principal. | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,8 +32,8 @@ Hadoop 中 datanode 的安全机制是通过给每个节点创建 Keytab 文件 | |
|
|
||
| 参数名|描述 | ||
| --------|-------------- | ||
| dfs.datanode.kerberos.principal| datanode 的服务主体名 <br/> 比如:dn/[email protected] | ||
| dfs.datanode.kerberos.keytab.file| datanode 进程所使用的 keytab 文件 | ||
| hdds.datanode.kerberos.principal| datanode 的服务主体名 <br/> 比如:dn/[email protected] | ||
| hdds.datanode.kerberos.keytab.file| datanode 进程所使用的 keytab 文件 | ||
sarvekshayr marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| hdds.datanode.http.auth.kerberos.principal| datanode http 服务器的服务主体名 | ||
| hdds.datanode.http.auth.kerberos.keytab| datanode http 服务器的服务主体登录所使用的 keytab 文件 | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,10 +36,10 @@ OZONE-SITE.XML_ozone.s3g.kerberos.principal=s3g/[email protected] | |
| OZONE-SITE.XML_ozone.httpfs.kerberos.keytab.file=/etc/security/keytabs/httpfs.keytab | ||
| OZONE-SITE.XML_ozone.httpfs.kerberos.principal=httpfs/[email protected] | ||
|
|
||
| HDFS-SITE.XML_dfs.datanode.kerberos.principal=dn/[email protected] | ||
| HDFS-SITE.XML_dfs.datanode.kerberos.keytab.file=/etc/security/keytabs/dn.keytab | ||
| HDFS-SITE.XML_hdds.datanode.kerberos.principal=dn/[email protected] | ||
| HDFS-SITE.XML_hdds.datanode.kerberos.keytab.file=/etc/security/keytabs/dn.keytab | ||
| HDFS-SITE.XML_dfs.web.authentication.kerberos.principal=HTTP/[email protected] | ||
| HDFS-SITE.XML_dfs.web.authentication.kerberos.keytab=/etc/security/keytabs/HTTP.keytab | ||
| HDFS-SITE.XML_hdds.web.authentication.kerberos.keytab=/etc/security/keytabs/HTTP.keytab | ||
sarvekshayr marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| OZONE-SITE.XML_hdds.block.token.enabled=true | ||
| OZONE-SITE.XML_hdds.container.token.enabled=true | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -92,10 +92,10 @@ OZONE-SITE.XML_ozone.s3g.kerberos.principal=s3g/[email protected] | |
| OZONE-SITE.XML_ozone.httpfs.kerberos.keytab.file=/etc/security/keytabs/httpfs.keytab | ||
| OZONE-SITE.XML_ozone.httpfs.kerberos.principal=httpfs/[email protected] | ||
|
|
||
| HDFS-SITE.XML_dfs.datanode.kerberos.principal=dn/[email protected] | ||
| HDFS-SITE.XML_dfs.datanode.kerberos.keytab.file=/etc/security/keytabs/dn.keytab | ||
| HDFS-SITE.XML_hdds.datanode.kerberos.principal=dn/[email protected] | ||
| HDFS-SITE.XML_hdds.datanode.kerberos.keytab.file=/etc/security/keytabs/dn.keytab | ||
sarvekshayr marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| HDFS-SITE.XML_dfs.web.authentication.kerberos.principal=HTTP/[email protected] | ||
| HDFS-SITE.XML_dfs.web.authentication.kerberos.keytab=/etc/security/keytabs/HTTP.keytab | ||
| HDFS-SITE.XML_hdds.web.authentication.kerberos.keytab=/etc/security/keytabs/HTTP.keytab | ||
sarvekshayr marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
|
|
||
| OZONE-SITE.XML_ozone.security.http.kerberos.enabled=true | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -56,10 +56,10 @@ OZONE-SITE.XML_hdds.grpc.tls.enabled=true | |
| OZONE-SITE.XML_ozone.s3g.kerberos.keytab.file=/etc/security/keytabs/s3g.keytab | ||
| OZONE-SITE.XML_ozone.s3g.kerberos.principal=s3g/[email protected] | ||
|
|
||
| HDFS-SITE.XML_dfs.datanode.kerberos.principal=dn/[email protected] | ||
| HDFS-SITE.XML_dfs.datanode.kerberos.keytab.file=/etc/security/keytabs/dn.keytab | ||
| HDFS-SITE.XML_hdds.datanode.kerberos.principal=dn/[email protected] | ||
| HDFS-SITE.XML_hdds.datanode.kerberos.keytab.file=/etc/security/keytabs/dn.keytab | ||
| HDFS-SITE.XML_dfs.web.authentication.kerberos.principal=HTTP/[email protected] | ||
| HDFS-SITE.XML_dfs.web.authentication.kerberos.keytab=/etc/security/keytabs/dn.keytab | ||
| HDFS-SITE.XML_hdds.web.authentication.kerberos.keytab=/etc/security/keytabs/dn.keytab | ||
|
|
||
| OZONE-SITE.XML_hdds.datanode.dir=/data/hdds | ||
| OZONE-SITE.XML_hdds.datanode.volume.min.free.space=100MB | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -88,10 +88,10 @@ OZONE-SITE.XML_ozone.scm.close.container.wait.duration=5s | |
| # Ratis streaming is disabled to ensure coverage for both cases | ||
| OZONE-SITE.XML_hdds.container.ratis.datastream.enabled=false | ||
|
|
||
| HDFS-SITE.XML_dfs.datanode.kerberos.principal=dn/[email protected] | ||
| HDFS-SITE.XML_dfs.datanode.kerberos.keytab.file=/etc/security/keytabs/dn.keytab | ||
| HDFS-SITE.XML_hdds.datanode.kerberos.principal=dn/[email protected] | ||
| HDFS-SITE.XML_hdds.datanode.kerberos.keytab.file=/etc/security/keytabs/dn.keytab | ||
| HDFS-SITE.XML_dfs.web.authentication.kerberos.principal=HTTP/[email protected] | ||
| HDFS-SITE.XML_dfs.web.authentication.kerberos.keytab=/etc/security/keytabs/HTTP.keytab | ||
| HDFS-SITE.XML_hdds.web.authentication.kerberos.keytab=/etc/security/keytabs/HTTP.keytab | ||
|
|
||
|
|
||
| OZONE-SITE.XML_ozone.security.http.kerberos.enabled=true | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -74,11 +74,11 @@ OZONE-SITE.XML_ozone.s3g.kerberos.principal=s3g/[email protected] | |
| OZONE-SITE.XML_ozone.httpfs.kerberos.keytab.file=/etc/security/keytabs/httpfs.keytab | ||
| OZONE-SITE.XML_ozone.httpfs.kerberos.principal=httpfs/[email protected] | ||
|
|
||
| HDFS-SITE.XML_dfs.datanode.kerberos.principal=dn/[email protected] | ||
| HDFS-SITE.XML_hdds.datanode.kerberos.principal=dn/[email protected] | ||
| HDFS-SITE.XML_dfs.datanode.keytab.file=/etc/security/keytabs/dn.keytab | ||
| HDFS-SITE.XML_dfs.datanode.kerberos.keytab.file=/etc/security/keytabs/dn.keytab | ||
| HDFS-SITE.XML_hdds.datanode.kerberos.keytab.file=/etc/security/keytabs/dn.keytab | ||
| HDFS-SITE.XML_dfs.web.authentication.kerberos.principal=HTTP/[email protected] | ||
| HDFS-SITE.XML_dfs.web.authentication.kerberos.keytab=/etc/security/keytabs/HTTP.keytab | ||
| HDFS-SITE.XML_hdds.web.authentication.kerberos.keytab=/etc/security/keytabs/HTTP.keytab | ||
sarvekshayr marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| OZONE-SITE.XML_ozone.security.http.kerberos.enabled=true | ||
| OZONE-SITE.XML_ozone.s3g.secret.http.enabled=true | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -48,7 +48,7 @@ | |
| public class HttpFSServerMetrics { | ||
|
|
||
| private static final String DFS_METRICS_SESSION_ID_KEY | ||
| = "dfs.metrics.session-id"; | ||
| = "hdds.metrics.session-id"; | ||
|
Comment on lines
50
to
+51
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This can be removed in HDDS-12172, and use global constant instead. |
||
| private @Metric MutableCounterLong bytesWritten; | ||
| private @Metric MutableCounterLong bytesRead; | ||
|
|
||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.