Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-11710

hadoop-hdfs-native-client build fails in trunk in Windows after HDFS-11529

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 3.0.0-alpha4
    • 3.0.0-alpha4
    • native
    • None
    • Reviewed

    Description

      HDFS-11529 used 'hdfsThreadDestructor()' in jni_helper.c.
      But this function is implemented in only "posix/thread_local_storage.c" NOT in
      "windows/thread_local_storage.c"

      Fails with following errors

           [exec]   hdfs.dir\RelWithDebInfo\thread_local_storage.obj  /machine:x64 /debug 
           [exec]      Creating library D:/hadoop/work/hadoop-hdfs-project/hadoop-hdfs-native-client/target/native/bin/RelWithDebInfo/hdfs.lib and object D:/hadoop/work/hadoop-hdfs-project/hadoop-hdfs-native-client/target/native/bin/RelWithDebInfo/hdfs.exp
           [exec] jni_helper.obj : error LNK2019: unresolved external symbol hdfsThreadDestructor referenced in function getJNIEnv [D:\hadoop\work\hadoop-hdfs-project\hadoop-hdfs-native-client\target\native\main\native\libhdfs\hdfs.vcxproj]
           [exec] D:\hadoop\work\hadoop-hdfs-project\hadoop-hdfs-native-client\target\native\bin\RelWithDebInfo\hdfs.dll : fatal error LNK1120: 1 unresolved externals [D:\hadoop\work\hadoop-hdfs-project\hadoop-hdfs-native-client\target\native\main\native\libhdfs\hdfs.vcxproj]
      

      Attachments

        1. HDFS-11710.000.patch
          0.9 kB
          Sailesh Mukil

        Issue Links

          Activity

            People

              sailesh Sailesh Mukil
              vinayakumarb Vinayakumar B
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: