Pig
  1. Pig
  2. PIG-149

Fix the depency for the doc target

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1.0
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      There was dependency issue with the doc target which resulted in the following errors and warnings:

        [javadoc] Constructing Javadoc information...
        [javadoc] javadoc: warning - Multiple sources of package comments found for package "org.apache.commons.logging"
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/PigServer.java:52: cannot find symbol
        [javadoc] symbol  : class ParseException
        [javadoc] location: package org.apache.pig.impl.logicalLayer.parser
        [javadoc] import org.apache.pig.impl.logicalLayer.parser.ParseException;
        [javadoc]                                               ^
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/PigServer.java:53: cannot find symbol
        [javadoc] symbol  : class QueryParser
        [javadoc] location: package org.apache.pig.impl.logicalLayer.parser
        [javadoc] import org.apache.pig.impl.logicalLayer.parser.QueryParser;
        [javadoc]                                               ^
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/impl/logicalLayer/LOLoad.java:29: cannot find symbol
        [javadoc] symbol  : class ParseException
        [javadoc] location: package org.apache.pig.impl.logicalLayer.parser
        [javadoc] import org.apache.pig.impl.logicalLayer.parser.ParseException;
        [javadoc]                                               ^
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/impl/logicalLayer/LOLoad.java:47: cannot find symbol
        [javadoc] symbol  : class ParseException
        [javadoc] location: class org.apache.pig.impl.logicalLayer.LOLoad
        [javadoc]                   FileSpec inputFileSpec) throws IOException, ParseException {
        [javadoc]                                                               ^
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/impl/io/BufferedPositionedInputStream.java:30: package org.apache.tools.bzip2r does not exist
        [javadoc] import org.apache.tools.bzip2r.CBZip2InputStream;
        [javadoc]                               ^
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/backend/hadoop/executionengine/HExecutionEngine.java:40: package org.apache.pig.shock does not exist
        [javadoc] import org.apache.pig.shock.SSHSocketImplFactory;
        [javadoc]                            ^
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/backend/hadoop/executionengine/mapreduceExec/PigOutputFormat.java:37: package org.apache.tools.bzip2r does not exist
        [javadoc] import org.apache.tools.bzip2r.BZip2Constants;
        [javadoc]                               ^
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/backend/hadoop/executionengine/mapreduceExec/PigOutputFormat.java:38: package org.apache.tools.bzip2r does not exist
        [javadoc] import org.apache.tools.bzip2r.CBZip2OutputStream;
        [javadoc]                               ^
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/backend/hadoop/executionengine/mapreduceExec/PigInputFormat.java:46: package org.apache.tools.bzip2r does not exist
        [javadoc] import org.apache.tools.bzip2r.CBZip2InputStream;
        [javadoc]                               ^
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/impl/streaming/PigExecutableManager.java:40: cannot find symbol
        [javadoc] symbol  : class ParseException
        [javadoc] location: package org.apache.pig.impl.logicalLayer.parser
        [javadoc] import org.apache.pig.impl.logicalLayer.parser.ParseException;
        [javadoc]                                               ^
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/impl/logicalLayer/LogicalPlanBuilder.java:25: cannot find symbol
        [javadoc] symbol  : class ParseException
        [javadoc] location: package org.apache.pig.impl.logicalLayer.parser
        [javadoc] import org.apache.pig.impl.logicalLayer.parser.ParseException;
        [javadoc]                                               ^
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/impl/logicalLayer/LogicalPlanBuilder.java:26: cannot find symbol
        [javadoc] symbol  : class QueryParser
        [javadoc] location: package org.apache.pig.impl.logicalLayer.parser
        [javadoc] import org.apache.pig.impl.logicalLayer.parser.QueryParser;
        [javadoc]                                               ^
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/impl/logicalLayer/LogicalPlanBuilder.java:44: cannot find symbol
        [javadoc] symbol  : class ParseException
        [javadoc] location: class org.apache.pig.impl.logicalLayer.LogicalPlanBuilder
        [javadoc]         throws IOException, ParseException {
        [javadoc]                             ^
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/tools/grunt/GruntParser.java:23: package org.apache.pig.tools.pigscript.parser does not exist
        [javadoc] import org.apache.pig.tools.pigscript.parser.ParseException;
        [javadoc]                                             ^
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/tools/grunt/GruntParser.java:24: package org.apache.pig.tools.pigscript.parser does not exist
        [javadoc] import org.apache.pig.tools.pigscript.parser.PigScriptParser;
        [javadoc]                                             ^
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/tools/grunt/GruntParser.java:25: package org.apache.pig.tools.pigscript.parser does not exist
        [javadoc] import org.apache.pig.tools.pigscript.parser.PigScriptParserTokenManager;
        [javadoc]                                             ^
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/tools/grunt/GruntParser.java:27: cannot find symbol
        [javadoc] symbol: class PigScriptParser
        [javadoc] public class GruntParser extends PigScriptParser {
        [javadoc]                                  ^
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/tools/grunt/GruntParser.java:46: cannot find symbol
        [javadoc] symbol  : class PigScriptParserTokenManager
        [javadoc] location: class org.apache.pig.tools.grunt.GruntParser
        [javadoc]     public GruntParser(PigScriptParserTokenManager tm) {
        [javadoc]                        ^
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/tools/grunt/GruntParser.java:55: cannot find symbol
        [javadoc] symbol  : class ParseException
        [javadoc] location: class org.apache.pig.tools.grunt.GruntParser
        [javadoc]     public void parseStopOnError() throws IOException, ParseException
        [javadoc]                                                        ^
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/tools/grunt/GruntParser.java:131: cannot find symbol
        [javadoc] symbol  : class ParseException
        [javadoc] location: class org.apache.pig.tools.grunt.GruntParser
        [javadoc]     protected void processSet(String key, String value) throws IOException, ParseException {
        [javadoc]                                                                             ^
        [javadoc] javadoc: warning - Error reading file: /homes/xu/workspace/pig-trunk/build/docs/api/${javadoc.link.java}/package-list
        [javadoc] Standard Doclet version 1.6.0_04
        [javadoc] Building tree for all the packages and classes...
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/EvalFunc.java:151: warning - @return tag has no arguments.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/PigServer.java:383: warning - @return tag has no arguments.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/PigServer.java:412: warning - @return tag has no arguments.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/PigServer.java:156: warning - @param argument "aliases" is not a parameter name.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/PigServer.java:224: warning - @return tag cannot be used in method with void return type.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/PigServer.java:301: warning - @param argument "id:" is not a parameter name.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/PigServer.java:301: warning - @param argument "filename:" is not a parameter name.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/backend/datastorage/ElementDescriptor.java:94: warning - @param argument "name" is not a parameter name.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/backend/executionengine/ExecJob.java:54: warning - @return tag has no arguments.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/backend/executionengine/ExecJob.java:47: warning - @return tag has no arguments.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/backend/executionengine/ExecJob.java:63: warning - @return tag has no arguments.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/backend/executionengine/ExecJob.java:38: warning - @return tag has no arguments.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/backend/executionengine/ExecutionEngine.java:108: warning - @return tag has no arguments.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/backend/executionengine/ExecutionEngine.java:85: warning - @throws tag has no arguments.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/backend/executionengine/ExecutionEngine.java:100: warning - @return tag has no arguments.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/backend/executionengine/ExecutionEngine.java:72: warning - @param argument "logical" is not a parameter name.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/backend/hadoop/executionengine/mapreduceExec/MapReduceLauncher.java:117: warning - @param argument "mapFuncs" is not a parameter name.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/backend/hadoop/executionengine/mapreduceExec/MapReduceLauncher.java:117: warning - @param argument "groupFuncs" is not a parameter name.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/backend/hadoop/executionengine/mapreduceExec/MapReduceLauncher.java:117: warning - @param argument "reduceFunc" is not a parameter name.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/backend/hadoop/executionengine/mapreduceExec/MapReduceLauncher.java:117: warning - @param argument "mapTasks" is not a parameter name.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/backend/hadoop/executionengine/mapreduceExec/MapReduceLauncher.java:117: warning - @param argument "reduceTasks" is not a parameter name.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/backend/hadoop/executionengine/mapreduceExec/MapReduceLauncher.java:117: warning - @param argument "input" is not a parameter name.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/backend/hadoop/executionengine/mapreduceExec/MapReduceLauncher.java:117: warning - @param argument "output" is not a parameter name.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/data/DataMap.java:95: warning - @return tag has no arguments.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/impl/PigContext.java:320: warning - @return tag has no arguments.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/impl/PigContext.java:307: warning - @param argument "aliases" is not a parameter name.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/impl/eval/EvalSpec.java:136: warning - @return tag has no arguments.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/impl/eval/EvalSpec.java:152: warning - @return tag has no arguments.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/impl/eval/EvalSpec.java:126: warning - @return tag has no arguments.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/impl/eval/EvalSpec.java:184: warning - @return tag has no arguments.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/impl/eval/EvalSpec.java:213: warning - @return tag has no arguments.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/impl/eval/EvalSpec.java:152: warning - @param argument "input" is not a parameter name.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/impl/eval/FuncEvalSpec.java:231: warning - @param argument "in" is not a parameter name.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/impl/eval/FuncEvalSpec.java:291: warning - @param argument "finalTuplePos" is not a parameter name.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/impl/io/FileLocalizer.java:150: warning - @return tag has no arguments.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/impl/util/JarManager.java:97: warning - @return tag cannot be used in method with void return type.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/impl/util/JarManager.java:256: warning - Tag @author cannot be used in method documentation.  It can only be used in the following types of documentation: overview, package, class/interface.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/impl/util/Spillable.java:28: warning - @returns is an unknown tag.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/impl/util/Spillable.java:33: warning - @returns is an unknown tag.
        [javadoc] /homes/xu/workspace/pig-trunk/src/org/apache/pig/tools/cmdline/CmdLineParser.java:64: warning - @param argument "valueExpected" is not a parameter name.
        [javadoc] Building index for all the packages and classes...
        [javadoc] Building index for all classes...
        [javadoc] javadoc: error - Error while reading file /homes/xu/workspace/pig-trunk/src/overview.html
        [javadoc] Generating /homes/xu/workspace/pig-trunk/build/docs/api/stylesheet.css...
        [javadoc] 1 error
        [javadoc] 62 warnings
      

        Activity

        Hide
        Xu Zhang added a comment -

        Note that there is also another bug related to the doc target - PIG-150

        Show
        Xu Zhang added a comment - Note that there is also another bug related to the doc target - PIG-150
        Hide
        Alan Gates added a comment -

        Fix checked in at revision 648768. Thanks Xu.

        Show
        Alan Gates added a comment - Fix checked in at revision 648768. Thanks Xu.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development