Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0, 1.1.0
    • Fix Version/s: 1.0.0
    • Component/s: build, documentation
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Docs version number is now automatically updated by reference to the build number.
    • Target Version/s:

      Description

      The docs version is hard coded. It should be updated automatically.

      1. h2643_20111213_branch-1.patch
        2 kB
        Tsz Wo Nicholas Sze
      2. h2643_20111207_branch-1.patch
        1.0 kB
        Tsz Wo Nicholas Sze
      3. c7923_20111215.patch
        0.6 kB
        Tsz Wo Nicholas Sze
      4. c7923_20111213_branch-1.patch
        2 kB
        Tsz Wo Nicholas Sze

        Activity

        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #985 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/985/)
        HADOOP-7923. Automate the updating of version numbers in the doc system.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242485
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #985 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/985/ ) HADOOP-7923 . Automate the updating of version numbers in the doc system. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242485 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Build #187 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/187/)
        svn merge -c 1242485 from trunk for HADOOP-7923.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242490
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Build #187 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/187/ ) svn merge -c 1242485 from trunk for HADOOP-7923 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242490 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Build #165 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/165/)
        svn merge -c 1242485 from trunk for HADOOP-7923.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242490
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #165 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/165/ ) svn merge -c 1242485 from trunk for HADOOP-7923 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242490 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #952 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/952/)
        HADOOP-7923. Automate the updating of version numbers in the doc system.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242485
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #952 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/952/ ) HADOOP-7923 . Automate the updating of version numbers in the doc system. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242485 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Commit #534 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/534/)
        svn merge -c 1242485 from trunk for HADOOP-7923.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242490
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Commit #534 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/534/ ) svn merge -c 1242485 from trunk for HADOOP-7923 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242490 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #1714 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1714/)
        HADOOP-7923. Automate the updating of version numbers in the doc system.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242485
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1714 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1714/ ) HADOOP-7923 . Automate the updating of version numbers in the doc system. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242485 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-0.23-Commit #530 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/530/)
        svn merge -c 1242485 from trunk for HADOOP-7923.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242490
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Common-0.23-Commit #530 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/530/ ) svn merge -c 1242485 from trunk for HADOOP-7923 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242490 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Commit #519 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/519/)
        svn merge -c 1242485 from trunk for HADOOP-7923.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242490
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Commit #519 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/519/ ) svn merge -c 1242485 from trunk for HADOOP-7923 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242490 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #1703 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1703/)
        HADOOP-7923. Automate the updating of version numbers in the doc system.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242485
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1703 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1703/ ) HADOOP-7923 . Automate the updating of version numbers in the doc system. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242485 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #1778 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1778/)
        HADOOP-7923. Automate the updating of version numbers in the doc system.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242485
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1778 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1778/ ) HADOOP-7923 . Automate the updating of version numbers in the doc system. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242485 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Hide
        Tsz Wo Nicholas Sze added a comment -

        I have committed this to 0.23 and trunk.

        Show
        Tsz Wo Nicholas Sze added a comment - I have committed this to 0.23 and trunk.
        Hide
        Suresh Srinivas added a comment -

        +1 for the patch.

        Show
        Suresh Srinivas added a comment - +1 for the patch.
        Hide
        Tsz Wo Nicholas Sze added a comment -

        Trunk and 0.23 are using maven site (not forrest). So the patch is completely different.

        c7923_20111215.patch: for trunk

        Show
        Tsz Wo Nicholas Sze added a comment - Trunk and 0.23 are using maven site (not forrest). So the patch is completely different. c7923_20111215.patch: for trunk
        Hide
        Matt Foley added a comment -

        Nicholas, should this be ported to v0.23 too? Leaving open for now.

        Show
        Matt Foley added a comment - Nicholas, should this be ported to v0.23 too? Leaving open for now.
        Hide
        Matt Foley added a comment -

        +1. With this patch, manual updates will no longer be necessary, although manual refresh of the public-facing docs website is still needed. May as well apply it now. Committing to branch-1.0 and branch-1.

        Show
        Matt Foley added a comment - +1. With this patch, manual updates will no longer be necessary, although manual refresh of the public-facing docs website is still needed. May as well apply it now. Committing to branch-1.0 and branch-1.
        Hide
        Tsz Wo Nicholas Sze added a comment -

        c7923_20111213_branch-1.patch: use $

        {build.dir}

        instead of $

        {build.docs}

        for the entity file.

        Show
        Tsz Wo Nicholas Sze added a comment - c7923_20111213_branch-1.patch: use $ {build.dir} instead of $ {build.docs} for the entity file.
        Hide
        Tsz Wo Nicholas Sze added a comment -

        Doug, thanks for the hint. It works well.

        h2643_20111213_branch-1.patch: define entities.

        The tab shows the corresponding $

        {version}

        defined in build.xml.

        branch-1: "Hadoop 1.1.0-SNAPSHOT Documentation"

        branch-1.0: "Hadoop 1.0.1-SNAPSHOT Documentation"

        Show
        Tsz Wo Nicholas Sze added a comment - Doug, thanks for the hint. It works well. h2643_20111213_branch-1.patch: define entities. The tab shows the corresponding $ {version} defined in build.xml. branch-1: "Hadoop 1.1.0-SNAPSHOT Documentation" branch-1.0: "Hadoop 1.0.1-SNAPSHOT Documentation"
        Hide
        Doug Cutting added a comment -

        FYI, it is possible to have Forrest insert a version specified elsewhere in the build by:

        • writing a file defining an entity;
        • including that entity definition in the DOCTYPE of the Forrest XML file
        • referring to the entity defined in the XML

        For example, see:

        http://svn.apache.org/viewvc/avro/trunk/doc/build.xml?view=markup
        http://svn.apache.org/viewvc/avro/trunk/doc/src/content/xdocs/tabs.xml?view=markup

        Then the documentation version never gets out of date.

        Show
        Doug Cutting added a comment - FYI, it is possible to have Forrest insert a version specified elsewhere in the build by: writing a file defining an entity; including that entity definition in the DOCTYPE of the Forrest XML file referring to the entity defined in the XML For example, see: http://svn.apache.org/viewvc/avro/trunk/doc/build.xml?view=markup http://svn.apache.org/viewvc/avro/trunk/doc/src/content/xdocs/tabs.xml?view=markup Then the documentation version never gets out of date.
        Hide
        Matt Foley added a comment -

        Following the sequence specified in HowToRelease, this patch should be applied after the vote on 1.0.0 completes. Thanks.

        Show
        Matt Foley added a comment - Following the sequence specified in HowToRelease, this patch should be applied after the vote on 1.0.0 completes. Thanks.
        Hide
        Tsz Wo Nicholas Sze added a comment -

        h2643_20111207_branch-1.patch

        • updated docs version
        • removed cn-docs antcall from build.xml.
        Show
        Tsz Wo Nicholas Sze added a comment - h2643_20111207_branch-1.patch updated docs version removed cn-docs antcall from build.xml.

          People

          • Assignee:
            Tsz Wo Nicholas Sze
            Reporter:
            Tsz Wo Nicholas Sze
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development