You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Todd Lipcon (Created) (JIRA)" <ji...@apache.org> on 2012/04/06 23:13:22 UTC
[jira] [Created] (HDFS-3226) Allow GetConf tool to print arbitrary
keys
Allow GetConf tool to print arbitrary keys
------------------------------------------
Key: HDFS-3226
URL: https://issues.apache.org/jira/browse/HDFS-3226
Project: Hadoop HDFS
Issue Type: Improvement
Components: tools
Affects Versions: 2.0.0
Reporter: Todd Lipcon
Assignee: Todd Lipcon
Currently the "hdfs getconf" tool can only print out certain keys, like the list of NNs, etc. It would be handy to allow it to fetch an arbitrary configuration. For example, users may wish to write shell scripts that interact with their hadoop cluster, and it is useful to be able to fetch configs like the name of the superuser, or the state of whether HA is enabled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-3226) Allow GetConf tool to print
arbitrary keys
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250625#comment-13250625 ]
Hudson commented on HDFS-3226:
------------------------------
Integrated in Hadoop-Hdfs-trunk #1010 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1010/])
HDFS-3234. Accidentally left log message in GetConf after HDFS-3226. Contributed by Todd Lipcon. (Revision 1311541)
Result = FAILURE
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1311541
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/GetConf.java
> Allow GetConf tool to print arbitrary keys
> ------------------------------------------
>
> Key: HDFS-3226
> URL: https://issues.apache.org/jira/browse/HDFS-3226
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: tools
> Affects Versions: 2.0.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Fix For: 2.0.0
>
> Attachments: hdfs-3226.txt
>
>
> Currently the "hdfs getconf" tool can only print out certain keys, like the list of NNs, etc. It would be handy to allow it to fetch an arbitrary configuration. For example, users may wish to write shell scripts that interact with their hadoop cluster, and it is useful to be able to fetch configs like the name of the superuser, or the state of whether HA is enabled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-3226) Allow GetConf tool to print
arbitrary keys
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250378#comment-13250378 ]
Hudson commented on HDFS-3226:
------------------------------
Integrated in Hadoop-Common-trunk-Commit #2033 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2033/])
HDFS-3234. Accidentally left log message in GetConf after HDFS-3226. Contributed by Todd Lipcon. (Revision 1311541)
Result = SUCCESS
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1311541
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/GetConf.java
> Allow GetConf tool to print arbitrary keys
> ------------------------------------------
>
> Key: HDFS-3226
> URL: https://issues.apache.org/jira/browse/HDFS-3226
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: tools
> Affects Versions: 2.0.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Fix For: 2.0.0
>
> Attachments: hdfs-3226.txt
>
>
> Currently the "hdfs getconf" tool can only print out certain keys, like the list of NNs, etc. It would be handy to allow it to fetch an arbitrary configuration. For example, users may wish to write shell scripts that interact with their hadoop cluster, and it is useful to be able to fetch configs like the name of the superuser, or the state of whether HA is enabled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-3226) Allow GetConf tool to print
arbitrary keys
Posted by "Eli Collins (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248895#comment-13248895 ]
Eli Collins commented on HDFS-3226:
-----------------------------------
+1 pending jenkins
> Allow GetConf tool to print arbitrary keys
> ------------------------------------------
>
> Key: HDFS-3226
> URL: https://issues.apache.org/jira/browse/HDFS-3226
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: tools
> Affects Versions: 2.0.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Attachments: hdfs-3226.txt
>
>
> Currently the "hdfs getconf" tool can only print out certain keys, like the list of NNs, etc. It would be handy to allow it to fetch an arbitrary configuration. For example, users may wish to write shell scripts that interact with their hadoop cluster, and it is useful to be able to fetch configs like the name of the superuser, or the state of whether HA is enabled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-3226) Allow GetConf tool to print
arbitrary keys
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13249096#comment-13249096 ]
Hudson commented on HDFS-3226:
------------------------------
Integrated in Hadoop-Mapreduce-trunk-Commit #2036 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2036/])
HDFS-3226. Allow GetConf tool to print arbitrary keys. Contributed by Todd Lipcon. (Revision 1310648)
Result = SUCCESS
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1310648
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/GetConf.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/tools/TestGetConf.java
> Allow GetConf tool to print arbitrary keys
> ------------------------------------------
>
> Key: HDFS-3226
> URL: https://issues.apache.org/jira/browse/HDFS-3226
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: tools
> Affects Versions: 2.0.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Fix For: 2.0.0
>
> Attachments: hdfs-3226.txt
>
>
> Currently the "hdfs getconf" tool can only print out certain keys, like the list of NNs, etc. It would be handy to allow it to fetch an arbitrary configuration. For example, users may wish to write shell scripts that interact with their hadoop cluster, and it is useful to be able to fetch configs like the name of the superuser, or the state of whether HA is enabled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-3226) Allow GetConf tool to print
arbitrary keys
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13249090#comment-13249090 ]
Hudson commented on HDFS-3226:
------------------------------
Integrated in Hadoop-Hdfs-trunk-Commit #2100 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2100/])
HDFS-3226. Allow GetConf tool to print arbitrary keys. Contributed by Todd Lipcon. (Revision 1310648)
Result = SUCCESS
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1310648
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/GetConf.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/tools/TestGetConf.java
> Allow GetConf tool to print arbitrary keys
> ------------------------------------------
>
> Key: HDFS-3226
> URL: https://issues.apache.org/jira/browse/HDFS-3226
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: tools
> Affects Versions: 2.0.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Fix For: 2.0.0
>
> Attachments: hdfs-3226.txt
>
>
> Currently the "hdfs getconf" tool can only print out certain keys, like the list of NNs, etc. It would be handy to allow it to fetch an arbitrary configuration. For example, users may wish to write shell scripts that interact with their hadoop cluster, and it is useful to be able to fetch configs like the name of the superuser, or the state of whether HA is enabled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-3226) Allow GetConf tool to print
arbitrary keys
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13249250#comment-13249250 ]
Hudson commented on HDFS-3226:
------------------------------
Integrated in Hadoop-Hdfs-trunk #1007 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1007/])
HDFS-3226. Allow GetConf tool to print arbitrary keys. Contributed by Todd Lipcon. (Revision 1310648)
Result = FAILURE
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1310648
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/GetConf.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/tools/TestGetConf.java
> Allow GetConf tool to print arbitrary keys
> ------------------------------------------
>
> Key: HDFS-3226
> URL: https://issues.apache.org/jira/browse/HDFS-3226
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: tools
> Affects Versions: 2.0.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Fix For: 2.0.0
>
> Attachments: hdfs-3226.txt
>
>
> Currently the "hdfs getconf" tool can only print out certain keys, like the list of NNs, etc. It would be handy to allow it to fetch an arbitrary configuration. For example, users may wish to write shell scripts that interact with their hadoop cluster, and it is useful to be able to fetch configs like the name of the superuser, or the state of whether HA is enabled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-3226) Allow GetConf tool to print
arbitrary keys
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250670#comment-13250670 ]
Hudson commented on HDFS-3226:
------------------------------
Integrated in Hadoop-Mapreduce-trunk #1045 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1045/])
HDFS-3234. Accidentally left log message in GetConf after HDFS-3226. Contributed by Todd Lipcon. (Revision 1311541)
Result = SUCCESS
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1311541
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/GetConf.java
> Allow GetConf tool to print arbitrary keys
> ------------------------------------------
>
> Key: HDFS-3226
> URL: https://issues.apache.org/jira/browse/HDFS-3226
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: tools
> Affects Versions: 2.0.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Fix For: 2.0.0
>
> Attachments: hdfs-3226.txt
>
>
> Currently the "hdfs getconf" tool can only print out certain keys, like the list of NNs, etc. It would be handy to allow it to fetch an arbitrary configuration. For example, users may wish to write shell scripts that interact with their hadoop cluster, and it is useful to be able to fetch configs like the name of the superuser, or the state of whether HA is enabled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-3226) Allow GetConf tool to print
arbitrary keys
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13249272#comment-13249272 ]
Hudson commented on HDFS-3226:
------------------------------
Integrated in Hadoop-Mapreduce-trunk #1042 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1042/])
HDFS-3226. Allow GetConf tool to print arbitrary keys. Contributed by Todd Lipcon. (Revision 1310648)
Result = SUCCESS
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1310648
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/GetConf.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/tools/TestGetConf.java
> Allow GetConf tool to print arbitrary keys
> ------------------------------------------
>
> Key: HDFS-3226
> URL: https://issues.apache.org/jira/browse/HDFS-3226
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: tools
> Affects Versions: 2.0.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Fix For: 2.0.0
>
> Attachments: hdfs-3226.txt
>
>
> Currently the "hdfs getconf" tool can only print out certain keys, like the list of NNs, etc. It would be handy to allow it to fetch an arbitrary configuration. For example, users may wish to write shell scripts that interact with their hadoop cluster, and it is useful to be able to fetch configs like the name of the superuser, or the state of whether HA is enabled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HDFS-3226) Allow GetConf tool to print arbitrary
keys
Posted by "Todd Lipcon (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon updated HDFS-3226:
------------------------------
Attachment: hdfs-3226.txt
Attached patch adds: {{hdfs getconf -confKey foo}} which will read and print the given key. I also made it always trim the results, since there are no configs where whitespace around the edge is semantically important, and trimming in bash is a pain.
> Allow GetConf tool to print arbitrary keys
> ------------------------------------------
>
> Key: HDFS-3226
> URL: https://issues.apache.org/jira/browse/HDFS-3226
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: tools
> Affects Versions: 2.0.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Attachments: hdfs-3226.txt
>
>
> Currently the "hdfs getconf" tool can only print out certain keys, like the list of NNs, etc. It would be handy to allow it to fetch an arbitrary configuration. For example, users may wish to write shell scripts that interact with their hadoop cluster, and it is useful to be able to fetch configs like the name of the superuser, or the state of whether HA is enabled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-3226) Allow GetConf tool to print
arbitrary keys
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250368#comment-13250368 ]
Hudson commented on HDFS-3226:
------------------------------
Integrated in Hadoop-Mapreduce-trunk-Commit #2045 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2045/])
HDFS-3234. Accidentally left log message in GetConf after HDFS-3226. Contributed by Todd Lipcon. (Revision 1311541)
Result = SUCCESS
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1311541
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/GetConf.java
> Allow GetConf tool to print arbitrary keys
> ------------------------------------------
>
> Key: HDFS-3226
> URL: https://issues.apache.org/jira/browse/HDFS-3226
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: tools
> Affects Versions: 2.0.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Fix For: 2.0.0
>
> Attachments: hdfs-3226.txt
>
>
> Currently the "hdfs getconf" tool can only print out certain keys, like the list of NNs, etc. It would be handy to allow it to fetch an arbitrary configuration. For example, users may wish to write shell scripts that interact with their hadoop cluster, and it is useful to be able to fetch configs like the name of the superuser, or the state of whether HA is enabled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HDFS-3226) Allow GetConf tool to print arbitrary
keys
Posted by "Todd Lipcon (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon updated HDFS-3226:
------------------------------
Status: Patch Available (was: Open)
> Allow GetConf tool to print arbitrary keys
> ------------------------------------------
>
> Key: HDFS-3226
> URL: https://issues.apache.org/jira/browse/HDFS-3226
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: tools
> Affects Versions: 2.0.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Attachments: hdfs-3226.txt
>
>
> Currently the "hdfs getconf" tool can only print out certain keys, like the list of NNs, etc. It would be handy to allow it to fetch an arbitrary configuration. For example, users may wish to write shell scripts that interact with their hadoop cluster, and it is useful to be able to fetch configs like the name of the superuser, or the state of whether HA is enabled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-3226) Allow GetConf tool to print
arbitrary keys
Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13249021#comment-13249021 ]
Hadoop QA commented on HDFS-3226:
---------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12521735/hdfs-3226.txt
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 1 new or modified test files.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 eclipse:eclipse. The patch built with eclipse:eclipse.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
-1 core tests. The patch failed these unit tests:
org.apache.hadoop.hdfs.TestDatanodeBlockScanner
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/2219//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/2219//console
This message is automatically generated.
> Allow GetConf tool to print arbitrary keys
> ------------------------------------------
>
> Key: HDFS-3226
> URL: https://issues.apache.org/jira/browse/HDFS-3226
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: tools
> Affects Versions: 2.0.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Attachments: hdfs-3226.txt
>
>
> Currently the "hdfs getconf" tool can only print out certain keys, like the list of NNs, etc. It would be handy to allow it to fetch an arbitrary configuration. For example, users may wish to write shell scripts that interact with their hadoop cluster, and it is useful to be able to fetch configs like the name of the superuser, or the state of whether HA is enabled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-3226) Allow GetConf tool to print
arbitrary keys
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250383#comment-13250383 ]
Hudson commented on HDFS-3226:
------------------------------
Integrated in Hadoop-Hdfs-trunk-Commit #2108 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2108/])
HDFS-3234. Accidentally left log message in GetConf after HDFS-3226. Contributed by Todd Lipcon. (Revision 1311541)
Result = SUCCESS
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1311541
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/GetConf.java
> Allow GetConf tool to print arbitrary keys
> ------------------------------------------
>
> Key: HDFS-3226
> URL: https://issues.apache.org/jira/browse/HDFS-3226
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: tools
> Affects Versions: 2.0.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Fix For: 2.0.0
>
> Attachments: hdfs-3226.txt
>
>
> Currently the "hdfs getconf" tool can only print out certain keys, like the list of NNs, etc. It would be handy to allow it to fetch an arbitrary configuration. For example, users may wish to write shell scripts that interact with their hadoop cluster, and it is useful to be able to fetch configs like the name of the superuser, or the state of whether HA is enabled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-3226) Allow GetConf tool to print
arbitrary keys
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13249093#comment-13249093 ]
Hudson commented on HDFS-3226:
------------------------------
Integrated in Hadoop-Common-trunk-Commit #2025 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2025/])
HDFS-3226. Allow GetConf tool to print arbitrary keys. Contributed by Todd Lipcon. (Revision 1310648)
Result = SUCCESS
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1310648
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/GetConf.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/tools/TestGetConf.java
> Allow GetConf tool to print arbitrary keys
> ------------------------------------------
>
> Key: HDFS-3226
> URL: https://issues.apache.org/jira/browse/HDFS-3226
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: tools
> Affects Versions: 2.0.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Fix For: 2.0.0
>
> Attachments: hdfs-3226.txt
>
>
> Currently the "hdfs getconf" tool can only print out certain keys, like the list of NNs, etc. It would be handy to allow it to fetch an arbitrary configuration. For example, users may wish to write shell scripts that interact with their hadoop cluster, and it is useful to be able to fetch configs like the name of the superuser, or the state of whether HA is enabled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HDFS-3226) Allow GetConf tool to print arbitrary
keys
Posted by "Todd Lipcon (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon updated HDFS-3226:
------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
The failed test is unrelated. Thanks for the review, Eli. Committed to trunk and branch-2.
> Allow GetConf tool to print arbitrary keys
> ------------------------------------------
>
> Key: HDFS-3226
> URL: https://issues.apache.org/jira/browse/HDFS-3226
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: tools
> Affects Versions: 2.0.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Fix For: 2.0.0
>
> Attachments: hdfs-3226.txt
>
>
> Currently the "hdfs getconf" tool can only print out certain keys, like the list of NNs, etc. It would be handy to allow it to fetch an arbitrary configuration. For example, users may wish to write shell scripts that interact with their hadoop cluster, and it is useful to be able to fetch configs like the name of the superuser, or the state of whether HA is enabled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira