[
https://issues.apache.org/jira/browse/HADOOP-6172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737692#action_12737692
]
Hong Tang commented on HADOOP-6172:
-----------------------------------
@Cos, in this particular case, I want to conduct two tests:
- $hadoop-src-dir/bin/hadoop version
- $hadoop-src-dir/build/hadoop-xxx/bin/hadoop version
The second test requires hadoop being copied to build/bin, which would not
happen until "ant tar" is called. So the second test would depend on "tar"
target.
> bin/hadoop version not working
> ------------------------------
>
> Key: HADOOP-6172
> URL: https://issues.apache.org/jira/browse/HADOOP-6172
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 0.21.0
> Reporter: Hong Tang
> Assignee: Hong Tang
> Priority: Minor
> Fix For: 0.21.0
>
> Attachments: hadoop-6172-20090731.patch
>
>
> Two problems found:
> - ${build.src} not included in ant target "compile-core-classes", thus
> o.a.h.package-info.java is not compiled, which contains the version
> annotation.
> - bin/hadoop-config.sh attempts to include jar files matching pattern
> hadoop-*-core.jar rather than hadoop-core-*.jar.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.