Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-9327

Out of date code examples

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.0.3-alpha
    • None
    • None
    • None

    Description

      1. This page contains code examples that use JobConfigurationParser
      http://hadoop.apache.org/docs/current/api/org/apache/hadoop/tools/rumen/package-summary.html
      "JobConfigurationParser jcp =
      new JobConfigurationParser(interestedProperties);"
      JobConfigurationParser is deleted in 2.0.3

      2. This page contains code examples that use ContextFactory
      http://hadoop.apache.org/docs/current/api/org/apache/hadoop/metrics/package-summary.html
      " ContextFactory factory = ContextFactory.getFactory();
      ... examine and/or modify factory attributes ...
      MetricsContext context = factory.getContext("myContext");"
      ContextFactory is deleted in 2.0.3

      3. This page contains code examples that use LoggedNetworkTopology
      http://hadoop.apache.org/docs/current/api/org/apache/hadoop/tools/rumen/package-summary.html
      " do.init("topology.json", conf);

      // get the job summary using TopologyBuilder
      LoggedNetworkTopology topology = topologyBuilder.build();"
      LoggedNetworkTopology is deleted in 2.0.3

      Please revise the documentation to reflect the code.

      Attachments

        Activity

          People

            Unassigned Unassigned
            drzhonghao Hao Zhong
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: