[ 
https://issues.apache.org/jira/browse/SENTRY-2123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Na Li updated SENTRY-2123:
--------------------------
    Description: 
Thrift source code is generated and put in its separate directory. Without 
providing its path to Javadoc, Javadoc compilation of  sentry-provider-db and 
sentry-hdfs-common cannot find  those auto-generated files.
{code:java}
package org.apache.sentry.hdfs.service.thrift does not exist  import 
org.apache.sentry.hdfs.service.thrift.TPathsDump;{code}
Also, Javadoc should not be geneated for those auto-generated code.

  was:Thrift source code is generated and put in its separate directory. In 
order for javadoc plugin to find it, we need to add configuration to specify 
the path


> Specify code path of auth-generated thrift files for Javadoc and exclude them 
> from Javadoc generation
> -----------------------------------------------------------------------------------------------------
>
>                 Key: SENTRY-2123
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2123
>             Project: Sentry
>          Issue Type: Bug
>          Components: Sentry
>    Affects Versions: 2.1.0
>            Reporter: Na Li
>            Assignee: Na Li
>            Priority: Major
>         Attachments: SENTRY-2123.001.patch, SENTRY-2123.002.patch
>
>
> Thrift source code is generated and put in its separate directory. Without 
> providing its path to Javadoc, Javadoc compilation of  sentry-provider-db and 
> sentry-hdfs-common cannot find  those auto-generated files.
> {code:java}
> package org.apache.sentry.hdfs.service.thrift does not exist  import 
> org.apache.sentry.hdfs.service.thrift.TPathsDump;{code}
> Also, Javadoc should not be geneated for those auto-generated code.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to