flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-6642) EnvInformation#getOpenFileHandlesLimit should return -1 for Windows
Date Thu, 25 May 2017 18:51:04 GMT

    [ https://issues.apache.org/jira/browse/FLINK-6642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16025214#comment-16025214
] 

ASF GitHub Bot commented on FLINK-6642:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/flink/pull/3956


> EnvInformation#getOpenFileHandlesLimit should return -1 for Windows
> -------------------------------------------------------------------
>
>                 Key: FLINK-6642
>                 URL: https://issues.apache.org/jira/browse/FLINK-6642
>             Project: Flink
>          Issue Type: Bug
>          Components: Local Runtime
>    Affects Versions: 1.4.0
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>             Fix For: 1.4.0
>
>
> The {{EnvironmentInformation#getOpenFileHandlesLimit}} is accessing the sun {{UnixOperatingSystemMXBean}}
via reflection, but has no branch for Windows.
> This causes the following exception to be logged whenever a TM is started:
> {code}
> 2017-05-19 16:49:58,780 WARN  org.apache.flink.runtime.util.EnvironmentInformation  
       - Unexpected error when accessing file handle limit
> java.lang.IllegalArgumentException: object is not an instance of declaring class
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at org.apache.flink.runtime.util.EnvironmentInformation.getOpenFileHandlesLimit(EnvironmentInformation.java:245)
>         at org.apache.flink.runtime.taskmanager.TaskManager$.main(TaskManager.scala:1528)
>         at org.apache.flink.runtime.taskmanager.TaskManager.main(TaskManager.scala)
> 2017-05-19 16:49:58,780 INFO  org.apache.flink.runtime.taskmanager.TaskManager      
       - Cannot determine the maximum number of open file descriptors
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message