[ 
https://issues.apache.org/jira/browse/HCATALOG-559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507235#comment-13507235
 ] 

Mithun Radhakrishnan commented on HCATALOG-559:
-----------------------------------------------

Here's the warnings one gets when documentation is built:  

{quote}
[javadoc] 
/Users/mithunr/workspace/dev/hcatalog/trunk.fresh/core/src/main/java/org/apache/hcatalog/mapreduce/HCatOutputFormat.java:63:
 warning - Tag @see: can't find setOutput(org.apache.hadoop.conf.Configuration, 
OutputJobInfo) in org.apache.hcatalog.mapreduce.HCatOutputFormat
  [javadoc] 
/Users/mithunr/workspace/dev/hcatalog/trunk.fresh/core/src/main/java/org/apache/hcatalog/mapreduce/HCatOutputFormat.java:76:
 warning - @param argument "job" is not a parameter name.
  [javadoc] 
/Users/mithunr/workspace/dev/hcatalog/trunk.fresh/server-extensions/src/main/java/org/apache/hcatalog/listener/NotificationListener.java:322:
 warning - @return tag has no arguments.
  [javadoc] 
/Users/mithunr/workspace/dev/hcatalog/trunk.fresh/webhcat/java-client/src/main/java/org/apache/hcatalog/api/HCatClient.java:224:
 warning - @return tag has no arguments.
  [javadoc] Building index for all the packages and classes...
{quote}
                
> Fix trivial build warnings in HCat trunk.
> -----------------------------------------
>
>                 Key: HCATALOG-559
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-559
>             Project: HCatalog
>          Issue Type: Bug
>    Affects Versions: 0.5
>            Reporter: Mithun Radhakrishnan
>            Assignee: Mithun Radhakrishnan
>            Priority: Trivial
>             Fix For: 0.5
>
>
> A couple of build warnings pop up when building HCat trunk/ from scratch:
> 1. FileOutputFormatContainer::checkOutputSpecs(): The catch(TException) block 
> sits ahead of catch(NoSuchObjectException) and thus masks the latter (since 
> NoSuchObjectException extends TException). Also, the handling is identical 
> for each. The second block can be removed.
> 2. HCatOutputFormat::setOutput(): Documentation for the first method refers 
> to the second, but with incorrect arguments. 
> I'll correct these and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to