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

Tsz Wo (Nicholas), SZE commented on HADOOP-9848:
------------------------------------------------

Hi Wei,

Thanks for checking it.  I understand that these two javadoc warnings may be 
unavoidable.  However, after the patch is committed, all the future builds will 
fail with javadoc warnings.  After this patch, all QA results will give "-1 
javadoc. ..." for any patch, for example [this 
one|https://issues.apache.org/jira/browse/HDFS-5089?focusedCommentId=13737796&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13737796].
  I believe it is not something you want.

Could we use some library other than Dn?  If there is really no way to fix it 
and we cannot use something else, we may increase OK_JAVADOC_WARNINGS, i.e.
{code}
--- dev-support/test-patch.sh   (revision 1513320)
+++ dev-support/test-patch.sh   (working copy)
@@ -426,7 +426,7 @@
   echo "There appear to be $javadocWarnings javadoc warnings generated by the 
patched build."
 
   #There are 11 warnings that are caused by things that are caused by using 
sun internal APIs.
-  OK_JAVADOC_WARNINGS=11;
+  OK_JAVADOC_WARNINGS=13;
   ### if current warnings greater than OK_JAVADOC_WARNINGS
   if [[ $javadocWarnings -ne $OK_JAVADOC_WARNINGS ]] ; then
     JIRA_COMMENT="$JIRA_COMMENT
{code}
                
> Create a MiniKDC for use with security testing
> ----------------------------------------------
>
>                 Key: HADOOP-9848
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9848
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: security, test
>            Reporter: Wei Yan
>            Assignee: Wei Yan
>             Fix For: 2.3.0
>
>         Attachments: HADOOP-9848.patch, HADOOP-9848.patch, HADOOP-9848.patch, 
> HADOOP-9848.patch, HADOOP-9848.patch
>
>
> Create a MiniKDC using Apache Directory Server. MiniKDC builds an embedded 
> KDC (key distribution center), and allows to create principals and keytabs on 
> the fly. MiniKDC can be integrated for Hadoop security unit testing.

--
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