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

dhruba borthakur resolved HDFS-769.
-----------------------------------

    Resolution: Duplicate

duplicate of HDFS-756

> test-c++-libhdfs constantly fails
> ---------------------------------
>
>                 Key: HDFS-769
>                 URL: https://issues.apache.org/jira/browse/HDFS-769
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Boudnik
>
> Execution of {{test-c++-libhdfs}} always fails.
> Running 
> {noformat}
>   % ant test-c++-libhdfs -Dcompile.c++=yes -Dlibhdfs=yes
> {noformat}
> fails with the following diagnostic:
> {noformat}
> test-c++-libhdfs:
>     [mkdir] Created dir: /homes/xxx/work/Hdfs.trunk/build/test/libhdfs
> ...
>      [exec] /homes/xxx/work/Hdfs.trunk/src/c++/libhdfs/tests/test-libhdfs.sh
>      [exec] 
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>      [exec] LIB_JVM_DIR = /usr/java/latest/jre/lib/i386/server
>      [exec] 
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>      [exec] /homes/xxx/work/Hdfs.trunk/src/c++/libhdfs/tests/test-libhdfs.sh: 
> line 118: /homes/xxx/work/Hdfs.trunk/bin/hadoop: No such file or directory
>      [exec] 
> CLASSPATH=/homes/xxx/work/Hdfs.trunk/src/c++/libhdfs/tests/conf:/homes/xxx/work/Hdfs.trunk/conf:/homes/xxx/work/Hdfs.trunk/src/c++/libhdfs/tests/conf:/homes/cot
>      [exec] Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/apache/hadoop/conf/Configuration
>      [exec] Can't construct instance of class 
> org.apache.hadoop.conf.Configuration
>      [exec] Oops! Failed to connect to hdfs!
>      [exec] exiting with 255
>      [exec] /homes/xxx/work/Hdfs.trunk/src/c++/libhdfs/tests/test-libhdfs.sh: 
> line 126: /homes/xxx/work/Hdfs.trunk/bin/hadoop-daemon.sh: No such file or 
> directory
>      [exec] make: *** [test] Error 255
> {noformat}

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