Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2313

build does not fail when libhdfs build fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.15.1
    • 0.16.0
    • None
    • None

    Description

      compile-libhdfs:
      [mkdir] Created dir: /home/hadoopqa/workspace/Hadoop-LinuxTest-0.15/branch/build/libhdfs
      [exec] gcc -g -Wall -O2 -fPIC -m32 -I/home/hadoopqa/tools/java/jdk1.5.0_11-64bit/include -I/home/hadoopqa/tools/java/jdk1.5.0_11-64bit/include/linux -c hdfs.c -o /home/hadoopqa/workspace/Hadoop-LinuxTest-0.15/branch/build/libhdfs/hdfs.o
      [exec] gcc -g -Wall -O2 -fPIC -m32 -I/home/hadoopqa/tools/java/jdk1.5.0_11-64bit/include -I/home/hadoopqa/tools/java/jdk1.5.0_11-64bit/include/linux -c hdfsJniHelper.c -o /home/hadoopqa/workspace/Hadoop-LinuxTest-0.15/branch/build/libhdfs/hdfsJniHelper.o
      [exec] gcc -L/home/hadoopqa/tools/java/jdk1.5.0_11-64bit/jre/lib/amd64/server -ljvm -shared -m32 -Wl,-x -o /home/hadoopqa/workspace/Hadoop-LinuxTest-0.15/branch/build/libhdfs/libhdfs.so.1 -Wl,-soname,libhdfs.so /home/hadoopqa/workspace/Hadoop-LinuxTest-0.15/branch/build/libhdfs/hdfs.o /home/hadoopqa/workspace/Hadoop-LinuxTest-0.15/branch/build/libhdfs/hdfsJniHelper.o \
      [exec] && ln -sf /home/hadoopqa/workspace/Hadoop-LinuxTest-0.15/branch/build/libhdfs/libhdfs.so.1 /home/hadoopqa/workspace/Hadoop-LinuxTest-0.15/branch/build/libhdfs/libhdfs.so
      [exec] /usr/bin/ld: skipping incompatible /home/hadoopqa/tools/java/jdk1.5.0_11-64bit/jre/lib/amd64/server/libjvm.so when searching for -ljvm
      [exec] /usr/bin/ld: cannot find -ljvm
      [exec] collect2: ld returned 1 exit status
      [exec] make: *** [/home/hadoopqa/workspace/Hadoop-LinuxTest-0.15/branch/build/libhdfs/libhdfs.so.1] Error 1
      [exec] Result: 2
      ...
      BUILD SUCCESSFUL

      Attachments

        1. HADOOP-2313.patch
          0.6 kB
          Nigel Daley

        Activity

          People

            nidaley Nigel Daley
            nidaley Nigel Daley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: