Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-5873

Building Impala on legacy platforms is broken due to sync_file_range() not defined

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • Impala 2.10.0
    • Impala 2.11.0
    • Backend
    • None

    Description

      On some legacy platforms, the system call sync_file_range() is not defined. Some Kudu code calls it unconditionally on Linux platforms. Let's check for its existence and use the workaround already defined for non-Linux platforms.

      /data/jenkins/workspace/generic-package-centos64-5-5-impala/topdir/BUILD/impala-2.10.0-cdh5.14.0-SNAPSHOT/be/src/kudu/util/env_posix.cc:635: error: undefined reference to 'sync_file_range'
      

      Attachments

        Activity

          People

            kwho Michael Ho
            kwho Michael Ho
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: