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 "Harsh J (JIRA)" <ji...@apache.org> on 2015/03/16 07:28:39 UTC

[jira] [Updated] (HDFS-3621) Add a main method to HdfsConfiguration, for debug purposes

     [ https://issues.apache.org/jira/browse/HDFS-3621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harsh J updated HDFS-3621:
--------------------------
    Status: Open  (was: Patch Available)

Sorry for having forgotten to commit this earlier. Looks like the HdfsConfiguration class now has some deprecated keys dump method, which is causing it to be inconsistent with the rest.

Here's the full state as of now:

Configuration -> Print the XML
HdfsConfiguration -> Print deprecated keys
JobConf and Job -> No main(…)
YarnConfiguration -> No main(…)

Since we have in HDFS the {{getconf}} shell utility, I think we can mark this resolved as Won't Fix (not needed at the moment) as the HdfsConfiguration does the other work of printing all deprecated keys.

> Add a main method to HdfsConfiguration, for debug purposes
> ----------------------------------------------------------
>
>                 Key: HDFS-3621
>                 URL: https://issues.apache.org/jira/browse/HDFS-3621
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs-client
>    Affects Versions: 2.0.0-alpha
>            Reporter: Harsh J
>            Assignee: Plamen Jeliazkov
>            Priority: Trivial
>              Labels: newbie
>         Attachments: HDFS-3621.patch
>
>
> Just like Configuration has a main() func that dumps XML out for debug purposes, we should have a similar function under the HdfsConfiguration class that does the same. This is useful in testing out app classpath setups at times.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)