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/09/01 20:20:00 UTC

[jira] [Resolved] (IMPALA-5873) Building Impala on legacy platforms is broken due to sync_file_range() not defined

     [ https://issues.apache.org/jira/browse/IMPALA-5873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Ho resolved IMPALA-5873.
--------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 2.11.0

> Building Impala on legacy platforms is 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
>             Fix For: Impala 2.11.0
>
>
> 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)