You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Michael Ho (JIRA)" <ji...@apache.org> on 2017/08/31 19:56:00 UTC

[jira] [Created] (IMPALA-5873) Packaging build broken on legacy platforms broken due to sync_file_range not defined

Michael Ho created IMPALA-5873:
----------------------------------

             Summary: Packaging build broken on legacy platforms broken due to sync_file_range not defined
                 Key: IMPALA-5873
                 URL: https://issues.apache.org/jira/browse/IMPALA-5873
             Project: IMPALA
          Issue Type: Bug
          Components: Backend
    Affects Versions: Impala 2.10.0
            Reporter: Michael Ho
            Assignee: Michael Ho
            Priority: Blocker


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.

{noformat}
/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'
{noformat}





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)