Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11985 Improve Solaris support in Hadoop
  3. HADOOP-11987

JNI build should use default cmake FindJNI.cmake

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.7.0
    • Fix Version/s: None
    • Component/s: native
    • Labels:
      None
    • Environment:

      All

      Description

      From http://mail-archives.apache.org/mod_mbox/hadoop-common-dev/201505.mbox/%3C55568DAC.1040303%40oracle.com%3E
      ----------
      Why does hadoop-common-project/hadoop-common/src/CMakeLists.txt use JNIFlags.cmake in the same directory to set things up for JNI
      compilation rather than FindJNI.cmake, which comes as a standard cmake
      module? The checks in JNIFlags.cmake make several assumptions that I
      believe are only correct on Linux whereas I'd expect FindJNI.cmake to be
      more platform-independent.
      ----------
      Just checked the repo of cmake and it turns out that FindJNI.cmake is
      available even before cmake 2.4. I think it makes sense to file a bug
      to replace it to the standard cmake module. Can you please file a jira
      for this?
      ----------

      This also applies to hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/src/JNIFlags.cmake

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              alanburlison Alan Burlison
              Reporter:
              alanburlison Alan Burlison

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment