[
https://issues.apache.org/jira/browse/HADOOP-6031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ravi Phulari updated HADOOP-6031:
---------------------------------
Status: Patch Available (was: Open)
Submitting patch .
Manually verified that no @author tags are included in java source files.
{code}
hostname:Hadoop rphulari$ grep -Ir --exclude="*\.svn*" "@author" .
./CHANGES.txt: 69. HADOOP-1147. Remove @author tags from Java source files.
./src/test/bin/test-patch.sh:### Check for @author tags in the patch
./src/test/bin/test-patch.sh: echo " Checking there are no @author tags in
the patch."
./src/test/bin/test-patch.sh: authorTags=`$GREP -c -i '@author'
$PATCH_DIR/patch`
./src/test/bin/test-patch.sh: echo "There appear to be $authorTags @author
tags in the patch."
./src/test/bin/test-patch.sh: -1 @author. The patch appears to contain
$authorTags @author tags which the Hadoop community has agreed to not allow in
code contributions."
./src/test/bin/test-patch.sh: +1 @author. The patch does not contain any
@author tags."
hostname:Hadoop rphulari$ grep -Ir --exclude="*\.svn*" --include="*.java"
"@author" .
hostname:Hadoop rphulari$
{code}
ant test-patch results
{code}
[exec]
[exec]
[exec] -1 overall.
[exec]
[exec] -1 @author. The patch appears to contain 8 @author tags which
the Hadoop community has agreed to not allow in code contributions.
[exec]
[exec] +1 tests included. The patch appears to include 9 new or
modified tests.
[exec]
[exec] +1 javadoc. The javadoc tool did not generate any warning
messages.
[exec]
[exec] +1 javac. The applied patch does not increase the total number
of javac compiler warnings.
[exec]
[exec] +1 findbugs. The patch does not introduce any new Findbugs
warnings.
[exec]
[exec] +1 Eclipse classpath. The patch retains Eclipse classpath
integrity.
[exec]
[exec] +1 release audit. The applied patch does not increase the
total number of release auditwarnings.
[exec]
[exec]
[exec]
{code}
> Remove @author tags from Java source files
> ------------------------------------------
>
> Key: HADOOP-6031
> URL: https://issues.apache.org/jira/browse/HADOOP-6031
> Project: Hadoop Core
> Issue Type: Bug
> Reporter: Ravi Phulari
> Assignee: Ravi Phulari
> Priority: Minor
> Attachments: HADOOP-6031.patch
>
>
> Excluding first 2 results there are total 28 @author tags in java source
> files .
> {code}
> hostname:Hadoop rphulari$ grep -r "@author" .
> ./.svn/text-base/CHANGES.txt.svn-base: 69. HADOOP-1147. Remove @author tags
> from Java source files.
> ./CHANGES.txt: 69. HADOOP-1147. Remove @author tags from Java source files.
> ./src/core/org/apache/hadoop/fs/kfs/.svn/text-base/IFSImpl.java.svn-base: *
> @author: Sriram Rao (Kosmix Corp.)
> ./src/core/org/apache/hadoop/fs/kfs/.svn/text-base/KFSImpl.java.svn-base: *
> @author: Sriram Rao (Kosmix Corp.)
> ./src/core/org/apache/hadoop/fs/kfs/.svn/text-base/KFSInputStream.java.svn-base:
> * @author: Sriram Rao (Kosmix Corp.)
> ./src/core/org/apache/hadoop/fs/kfs/.svn/text-base/KFSOutputStream.java.svn-base:
> * @author: Sriram Rao (Kosmix Corp.)
> ./src/core/org/apache/hadoop/fs/kfs/.svn/text-base/KosmosFileSystem.java.svn-base:
> * @author: Sriram Rao (Kosmix Corp.)
> ./src/core/org/apache/hadoop/fs/kfs/IFSImpl.java: * @author: Sriram Rao
> (Kosmix Corp.)
> ./src/core/org/apache/hadoop/fs/kfs/KFSImpl.java: * @author: Sriram Rao
> (Kosmix Corp.)
> ./src/core/org/apache/hadoop/fs/kfs/KFSInputStream.java: * @author: Sriram
> Rao (Kosmix Corp.)
> ./src/core/org/apache/hadoop/fs/kfs/KFSOutputStream.java: * @author: Sriram
> Rao (Kosmix Corp.)
> ./src/core/org/apache/hadoop/fs/kfs/KosmosFileSystem.java: * @author: Sriram
> Rao (Kosmix Corp.)
> ./src/test/bin/.svn/text-base/test-patch.sh.svn-base:### Check for @author
> tags in the patch
> ./src/test/bin/.svn/text-base/test-patch.sh.svn-base: echo " Checking
> there are no @author tags in the patch."
> ./src/test/bin/.svn/text-base/test-patch.sh.svn-base: authorTags=`$GREP -c
> -i '@author' $PATCH_DIR/patch`
> ./src/test/bin/.svn/text-base/test-patch.sh.svn-base: echo "There appear to
> be $authorTags @author tags in the patch."
> ./src/test/bin/.svn/text-base/test-patch.sh.svn-base: -1 @author. The
> patch appears to contain $authorTags @author tags which the Hadoop community
> has agreed to not allow in code contributions."
> ./src/test/bin/.svn/text-base/test-patch.sh.svn-base: +1 @author. The
> patch does not contain any @author tags."
> ./src/test/bin/test-patch.sh:### Check for @author tags in the patch
> ./src/test/bin/test-patch.sh: echo " Checking there are no @author tags
> in the patch."
> ./src/test/bin/test-patch.sh: authorTags=`$GREP -c -i '@author'
> $PATCH_DIR/patch`
> ./src/test/bin/test-patch.sh: echo "There appear to be $authorTags @author
> tags in the patch."
> ./src/test/bin/test-patch.sh: -1 @author. The patch appears to contain
> $authorTags @author tags which the Hadoop community has agreed to not allow
> in code contributions."
> ./src/test/bin/test-patch.sh: +1 @author. The patch does not contain any
> @author tags."
> ./src/test/core/org/apache/hadoop/fs/kfs/.svn/text-base/KFSEmulationImpl.java.svn-base:
> * @author: Sriram Rao (Kosmix Corp.)
> ./src/test/core/org/apache/hadoop/fs/kfs/.svn/text-base/TestKosmosFileSystem.java.svn-base:
> * @author: Sriram Rao (Kosmix Corp.)
> ./src/test/core/org/apache/hadoop/fs/kfs/KFSEmulationImpl.java: * @author:
> Sriram Rao (Kosmix Corp.)
> ./src/test/core/org/apache/hadoop/fs/kfs/TestKosmosFileSystem.java: *
> @author: Sriram Rao (Kosmix Corp.)
> ./src/test/hdfs/org/apache/hadoop/hdfs/.svn/text-base/TestModTime.java.svn-base:
> * @author Dhruba Borthakur
> ./src/test/hdfs/org/apache/hadoop/hdfs/TestModTime.java: * @author Dhruba
> Borthakur
> hostname:Hadoop rphulari$ grep -r "@author" . | wc -l
> 30
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.