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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: Impala 2.10.0
    • Fix Version/s: Impala 2.11.0
    • Component/s: Backend
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: