Hadoop Common
  1. Hadoop Common
  2. HADOOP-6235

Adding a new method for getting server default values from a FileSystem

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.21.0
    • Fix Version/s: 0.21.0
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      New FileSystem method reports default parameters that would be used by server. See also HDFS-578.
      Show
      New FileSystem method reports default parameters that would be used by server. See also HDFS-578 .

      Description

      This is the changes made to Common to support file creation using server default values for a number of configuration params. See HDFS-578 for details.

        Issue Links

          Activity

          Kan Zhang created issue -
          Hide
          Kan Zhang added a comment -

          attaching a patch that adds a new method getServerDefaults() to FileSystem. Any filesystem that supports this method needs to overwrite the default implementation.

          Show
          Kan Zhang added a comment - attaching a patch that adds a new method getServerDefaults() to FileSystem. Any filesystem that supports this method needs to overwrite the default implementation.
          Kan Zhang made changes -
          Field Original Value New Value
          Attachment 6235-02.patch [ 12418458 ]
          Kan Zhang made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Kan Zhang made changes -
          Link This issue is depended upon by HDFS-578 [ HDFS-578 ]
          Hide
          Kan Zhang added a comment -

          Test for this new method is included in HDFS-578.

          Show
          Kan Zhang added a comment - Test for this new method is included in HDFS-578 .
          Hide
          Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12418458/6235-02.patch
          against trunk revision 810756.

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

          -1 tests included. The patch doesn't appear to include any new or modified tests.
          Please justify why no new tests are needed for this patch.
          Also please list what manual steps were performed to verify this patch.

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

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

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

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

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

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

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

          This message is automatically generated.

          Show
          Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12418458/6235-02.patch against trunk revision 810756. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/12/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/12/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/12/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/12/console This message is automatically generated.
          Hide
          Jakob Homan added a comment -

          +1

          Show
          Jakob Homan added a comment - +1
          Jakob Homan made changes -
          Hadoop Flags [Reviewed]
          Suresh Srinivas made changes -
          Release Note Adds new method to FileSystem for clients to get server defaults.
          Fix Version/s 0.21.0 [ 12313563 ]
          Affects Version/s 0.21.0 [ 12313563 ]
          Suresh Srinivas made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Common-trunk-Commit #21 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk-Commit/21/)
          . Adds new method to FileSystem for clients to get server defaults. Contributed by Kan Zhang.

          Show
          Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #21 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk-Commit/21/ ) . Adds new method to FileSystem for clients to get server defaults. Contributed by Kan Zhang.
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Common-trunk #90 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/90/)
          . Adds new method to FileSystem for clients to get server defaults. Contributed by Kan Zhang.

          Show
          Hudson added a comment - Integrated in Hadoop-Common-trunk #90 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/90/ ) . Adds new method to FileSystem for clients to get server defaults. Contributed by Kan Zhang.
          Hide
          Robert Chansler added a comment -

          Editorial pass over all release notes prior to publication of 0.21.

          Show
          Robert Chansler added a comment - Editorial pass over all release notes prior to publication of 0.21.
          Robert Chansler made changes -
          Release Note Adds new method to FileSystem for clients to get server defaults. New FileSystem method reports default parameters that would be used by server. See also HDFS-578.
          Tom White made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Patch Available Patch Available
          57m 2s 1 Kan Zhang 03/Sep/09 01:09
          Patch Available Patch Available Resolved Resolved
          5d 16h 47m 1 Suresh Srinivas 08/Sep/09 17:56
          Resolved Resolved Closed Closed
          350d 2h 43m 1 Tom White 24/Aug/10 20:39

            People

            • Assignee:
              Kan Zhang
              Reporter:
              Kan Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development