hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-3621) Add a main method to HdfsConfiguration, for debug purposes
Date Mon, 16 Mar 2015 06:28:39 GMT

     [ 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

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

View raw message