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

The misleading Configuration.set(String, Object) should be removed

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.12.2
    • 0.14.0
    • conf
    • None

    Description

      I think that the confusing methods in Configuration:
      set(String, Object)
      getObject(String)
      get(String, Object)
      should be deprecated. Users expect them to work and in a distributed environment, there is almost no way to make them work correctly. If some user really needs the functionality, we should implement it right and require that the objects be Writable and serialize them into the Configuration.

      Thoughts?

      Attachments

        1. no-object-get.patch
          6 kB
          Owen O'Malley

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            omalley Owen O'Malley
            omalley Owen O'Malley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment