[ 
https://issues.apache.org/jira/browse/HDFS-783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782289#action_12782289
 ] 

Konstantin Boudnik commented on HDFS-783:
-----------------------------------------

Further investigation shows that {{test-libhdfs}} indirectly calls 
{{hadoop-config.sh}} which resets $CLASSPATH settings. Thus, it seems to be 
quite impossible or fix this issue with the current approach to the testing of 
{{libhdfs}}

The test has to be disabled until it is done without direct calls to Hadoop's 
startup scripts.

> libhdfs tests brakes code coverage runs with Clover
> ---------------------------------------------------
>
>                 Key: HDFS-783
>                 URL: https://issues.apache.org/jira/browse/HDFS-783
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>             Fix For: 0.22.0
>
>         Attachments: HDFS-783.patch, HDFS-783.patch
>
>
> libhdfs test is executed by a script which sets a certain environment for 
> every run. While standalone execution works well, code coverage runs are 
> broken by this test because it tries to executed an instrumented Hadoop code 
> without having clover.jar in its classpath.

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