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

Konstantin Boudnik commented on HADOOP-6172:
--------------------------------------------

I'm not sure why the dependency would be changed - it seems that scripts are 
coming directly from SVN and nothing special is required to run
{noformat}
bin/hadoop version
{noformat}
but compilation. Thus certain script tests won't require anything special too. 
Am I mistaken?

Also, I think whatever tests might be automated with a relatively low effort 
should be automated. Manual tests aren't that efficient nor error proof. E.g. 
in the current common trunk bin/hadoop version produces a lot of 'unknown' 
version tags which might've been caught by a routinely executed test. 

Shall we start adding tests for scripts right now? Why not - this day isn't 
worst than any consequent one :-)

> 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