ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-1386

avoid flaky URL redirection in "ant javadoc" : replace "http://java.sun.com/javase/6/docs/api/" with "http://download.oracle.com/javase/6/docs/api/"

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.5, 3.4.4, 3.5.0
    • Component/s: documentation
    • Labels:
      None

      Description

      It seems that the current javadoc.link.java value, http://java.sun.com/javase/6/docs/api/, redirects (via HTTP 301) to http://download.oracle.com/javase/6/docs/api/. This redirect does not always work apparently, causing the URL fetch to fail. This causes an additional javadoc warning:

      javadoc: warning - Error fetching URL: http://java.sun.com/javase/6/docs/api/package-list

      which can in turn cause Jenkins to give a -1 to an otherwise OK build (see e.g. https://issues.apache.org/jira/browse/ZOOKEEPER-1373?focusedCommentId=13199456&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13199456).

      1. ZOOKEEPER-1386.patch
        0.5 kB
        Eugene Koontz

        Issue Links

          Activity

          Eugene Koontz created issue -
          Hide
          Eugene Koontz added a comment -

          replaces URL in build.xml

          Show
          Eugene Koontz added a comment - replaces URL in build.xml
          Eugene Koontz made changes -
          Field Original Value New Value
          Status Open [ 1 ] Patch Available [ 10002 ]
          Eugene Koontz made changes -
          Attachment ZOOKEEPER-1386.patch [ 12513164 ]
          Hide
          Hadoop QA added a comment -

          +1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12513164/ZOOKEEPER-1386.patch
          against trunk revision 1238176.

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

          +0 tests included. The patch appears to be a documentation patch that doesn't require tests.

          +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 (version 1.3.9) 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: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/938//testReport/
          Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/938//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
          Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/938//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/12513164/ZOOKEEPER-1386.patch against trunk revision 1238176. +1 @author. The patch does not contain any @author tags. +0 tests included. The patch appears to be a documentation patch that doesn't require tests. +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 (version 1.3.9) 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: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/938//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/938//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/938//console This message is automatically generated.
          Eugene Koontz made changes -
          Summary avoid flaky URL redirection in "ant javadoc" : replace "http://java.sun.com/javase/6/docs/api/package-list" with "http://download.oracle.com/javase/6/docs/api/" avoid flaky URL redirection in "ant javadoc" : replace "http://java.sun.com/javase/6/docs/api/" with "http://download.oracle.com/javase/6/docs/api/"
          Eugene Koontz made changes -
          Link This issue is related to HADOOP-8019 [ HADOOP-8019 ]
          Hide
          Camille Fournier added a comment -

          Checked into trunk and all branches.

          Show
          Camille Fournier added a comment - Checked into trunk and all branches.
          Camille Fournier made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Hudson added a comment -

          Integrated in ZooKeeper-trunk #1472 (See https://builds.apache.org/job/ZooKeeper-trunk/1472/)
          ZOOKEEPER-1386. avoid flaky URL redirection in "ant javadoc" : replace "http://java.sun.com/javase/6/docs/api/" with "http://download.oracle.com/javase/6/docs/api/" (Eugene Koontz via camille) (Revision 1293982)

          Result = SUCCESS
          camille : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1293982
          Files :

          • /zookeeper/trunk/CHANGES.txt
          • /zookeeper/trunk/build.xml
          Show
          Hudson added a comment - Integrated in ZooKeeper-trunk #1472 (See https://builds.apache.org/job/ZooKeeper-trunk/1472/ ) ZOOKEEPER-1386 . avoid flaky URL redirection in "ant javadoc" : replace "http://java.sun.com/javase/6/docs/api/" with "http://download.oracle.com/javase/6/docs/api/" (Eugene Koontz via camille) (Revision 1293982) Result = SUCCESS camille : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1293982 Files : /zookeeper/trunk/CHANGES.txt /zookeeper/trunk/build.xml
          Patrick Hunt made changes -
          Fix Version/s 3.3.5 [ 12319081 ]
          Fix Version/s 3.5.0 [ 12316644 ]
          Fix Version/s 3.4.4 [ 12319841 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Patch Available Patch Available
          1m 19s 1 Eugene Koontz 03/Feb/12 19:15
          Patch Available Patch Available Resolved Resolved
          23d 5h 46m 1 Camille Fournier 27/Feb/12 01:01

            People

            • Assignee:
              Eugene Koontz
              Reporter:
              Eugene Koontz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development