hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "robert Cook (JIRA)" <j...@apache.org>
Subject [jira] Created: (HDFS-901) Fedora jdk install creates circular symlinks, causes test-c++-libhdfs not to build
Date Thu, 14 Jan 2010 18:37:54 GMT
Fedora jdk install creates circular symlinks, causes test-c++-libhdfs not to build
----------------------------------------------------------------------------------

                 Key: HDFS-901
                 URL: https://issues.apache.org/jira/browse/HDFS-901
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: build
    Affects Versions: 0.20.1
         Environment: Fedora 2.6.26.8.fc8; hadoop 0.20.1; java 1.6.0_17
            Reporter: robert Cook
            Priority: Minor


installed hadoop; needed javac; installed jdk
export JAVA_HOME=/usr/java/jdk1.6.0_17
ant clean
ant
ant -Dcompile.c++=true -Dlibhdfs=true test-c++-libhdfs
-------------------------------------------------------------------------------
[exec] libtool: link: gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU=\"i386\" -m32 -I/usr/java/jdk1.6.0_17/include
-I/usr/java/jdk1.6.0_17/include/linux -Wall -Wstrict-prototypes -m32 /usr/java/jdk1.6.0_17/jre1.6.0_17/lib/i386/server
-Wl,-x -o hdfs_test hdfs_test.o  -L/usr/java/jdk1.6.0_17/jre/lib/i386/server /home/cook/Desktop/hadoop-0.20.1/build/c++/Linux-i386-32/lib/libhdfs.so
-ljvm -ldl -lpthread -Wl,-rpath -Wl,/home/cook/Desktop/hadoop-0.20.1/build/c++/Linux-i386-32/lib
-Wl,-rpath -Wl,/home/cook/Desktop/hadoop-0.20.1/build/c++/Linux-i386-32/lib
     [exec] /usr/java/jdk1.6.0_17/jre1.6.0_17/lib/i386/server: file not recognized: Is a directory
     [exec] collect2: ld returned 1 exit status
     [exec] make: *** [hdfs_test] Error 1

BUILD FAILED
note: insertion of /usr/java/jdk1.6.0_17/jre1.6.0_17/lib/i386/server is spurious
-------------------------------------------------------------------------------
tracked bug down as follows:
for some reason, install of jdk creates a symlink from within jdk directory to existing jre
impl jre1.6.0_17 and a symlink from within jre directory to jdk.
I suspected the recursion likely messed up a "find" somewhere; deleted symlink in jdk then
ant clean
ant
ant -Dcompile.c++=true -Dlibhdfs=true test-c++-libhdfs
BUILD and TEST ran successfully then
just to be sure I put the symlink back; reran above; same failure

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message