[
https://issues.apache.org/jira/browse/HADOOP-6172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737452#action_12737452
]
Hong Tang commented on HADOOP-6172:
-----------------------------------
@sreekanth, I am not sure if they are the same problem. For HADOOP-4503, call
"ant jar" twice would resolve the problem. But for this one, a java file
(build/src/org/apache/hadoop/package-info.java) is simply not compiled and
deposited to build/classes directory.
> 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.