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

Remove deprecated methods in Configuration.java

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.17.0
    • Component/s: conf
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change
    • Release Note:
      Hide
      The following deprecated methods in org.apache.hadoop.conf.Configuration are removed.
      public Object getObject(String name)
      public void setObject(String name, Object value)
      public Object get(String name, Object defaultValue)
      public void set(String name, Object value)
      and public Iterator entries()
      Show
      The following deprecated methods in org.apache.hadoop.conf.Configuration are removed. public Object getObject(String name) public void setObject(String name, Object value) public Object get(String name, Object defaultValue) public void set(String name, Object value) and public Iterator entries()

      Description

      The following methods in Configuration.java needs to be removed as they are deprecated.
      getObject(String name)
      setObject(String name, Object value)
      get(String name, Object defaultValue)
      set(String name, Object value)
      Iterator entries()

      1. patch-2828.txt
        4 kB
        Amareshwari Sriramadasu

        Activity

        Hide
        amareshwari Amareshwari Sriramadasu added a comment -

        Patch removes deprecated methods

        Show
        amareshwari Amareshwari Sriramadasu added a comment - Patch removes deprecated methods
        Hide
        hadoopqa Hadoop QA added a comment -

        +1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12378297/patch-2828.txt
        against trunk revision 619744.

        @author +1. The patch does not contain any @author tags.

        tests included +1. The patch appears to include 3 new or modified tests.

        javadoc +1. The javadoc tool did not generate any warning messages.

        javac +1. The applied patch does not generate any new javac compiler warnings.

        release audit +1. The applied patch does not generate any new release audit warnings.

        findbugs +1. The patch does not introduce any new Findbugs warnings.

        core tests +1. The patch passed core unit tests.

        contrib tests +1. The patch passed contrib unit tests.

        Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2014/testReport/
        Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2014/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
        Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2014/artifact/trunk/build/test/checkstyle-errors.html
        Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2014/console

        This message is automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - +1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12378297/patch-2828.txt against trunk revision 619744. @author +1. The patch does not contain any @author tags. tests included +1. The patch appears to include 3 new or modified tests. javadoc +1. The javadoc tool did not generate any warning messages. javac +1. The applied patch does not generate any new javac compiler warnings. release audit +1. The applied patch does not generate any new release audit warnings. findbugs +1. The patch does not introduce any new Findbugs warnings. core tests +1. The patch passed core unit tests. contrib tests +1. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2014/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2014/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2014/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2014/console This message is automatically generated.
        Hide
        devaraj Devaraj Das added a comment -

        I just committed this. Thanks, Amareshwari!

        Show
        devaraj Devaraj Das added a comment - I just committed this. Thanks, Amareshwari!
        Hide
        hudson Hudson added a comment -
        Show
        hudson Hudson added a comment - Integrated in Hadoop-trunk #440 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/440/ )
        Hide
        chansler Robert Chansler added a comment -

        Noted as incompatible in changes.txt

        Show
        chansler Robert Chansler added a comment - Noted as incompatible in changes.txt

          People

          • Assignee:
            amareshwari Amareshwari Sriramadasu
            Reporter:
            amareshwari Amareshwari Sriramadasu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development