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

Tsz Wo (Nicholas), SZE updated HADOOP-6172:
-------------------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

Tested manually as shown below:
{noformat}
bash-3.2$ ./bin/hadoop version
Hadoop Unknown
Subversion Unknown -r Unknown
Compiled by Unknown on Unknown
>From source with checksum Unknown

# apply patch and recompile
bash-3.2$ patch -p0 -i ../hadoop-6172-20090731.patch 
...

bash-3.2$ ./bin/hadoop version
Hadoop 0.21.0-dev
Subversion https://svn.apache.org/repos/asf/hadoop/common/trunk -r 798247
Compiled by tsz on Fri Jul 31 14:40:51 PDT 2009
>From source with checksum 4cec386d7ec492be92e14fc12a5a50a4
{noformat}

I have committed this.  Thanks, Hong!

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

Reply via email to