Flink on Mesos - have to manually add host name to /etc/hosts

2018-07-11 Thread NEKRASSOV, ALEXEI
When I attempted to start Flink 1.4.2 on Mesos - I've ran into issue described here: https://stackoverflow.com/questions/45391980/error-installing-flink-in-dcos This workaround solved the problem: https://stackoverflow.com/a/48184752 Is there something that can be changed in the Flink project, t

RE: 'mvn verify' fails at flink-hadoop-fs

2018-07-10 Thread NEKRASSOV, ALEXEI
y Schepler [mailto:ches...@apache.org] Sent: Tuesday, July 10, 2018 3:10 PM To: dev@flink.apache.org; NEKRASSOV, ALEXEI Subject: Re: 'mvn verify' fails at flink-hadoop-fs That flat-out disables all tests in the module, even those that could run on Windows. We commonly add an OS check to r

RE: 'mvn verify' fails at flink-hadoop-fs

2018-07-10 Thread NEKRASSOV, ALEXEI
AM To: dev@flink.apache.org; NEKRASSOV, ALEXEI Subject: Re: 'mvn verify' fails at flink-hadoop-fs There's currently no workaround except going in and manually disabling them. On 10.07.2018 16:32, Chesnay Schepler wrote: > Generally, any test that uses HDFS will fail on Windows.

'mvn verify' fails at flink-hadoop-fs

2018-07-10 Thread NEKRASSOV, ALEXEI
I'm running 'mvn clean verify' on Windows with no Hadoop libraries installed, and the build fails (see below). What's the solution? Is there a switch to skip Hadoop-related tests? Or I need to install Hadoop libraries? Thanks, Alex Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:

RE: 'mvn verify' fails on rat plugin

2018-07-10 Thread NEKRASSOV, ALEXEI
aIR_k3b3fV8-z82q1gcI1bA2HHna4&s=gnWwo2FrEO0aXWkIffbOFdob5aE3Vnst-7Fr-JAC26M&e=) so I guess you don't need to file one. Thanks, Jungtaek Lim (HeartSaVioR) 2018년 7월 10일 (화) 오전 8:57, NEKRASSOV, ALEXEI 님이 작성: > Does such a change require JIRA? > > https://urldefense.proofpoint.com/v2/url?u=h

RE: 'mvn verify' fails on rat plugin

2018-07-09 Thread NEKRASSOV, ALEXEI
. :) -Original Message- From: Chesnay Schepler [mailto:ches...@apache.org] Sent: Monday, July 09, 2018 4:24 PM To: dev@flink.apache.org; NEKRASSOV, ALEXEI Subject: Re: 'mvn verify' fails on rat plugin These files are automatically detected as binary files on unix and thus automatic

'mvn verify' fails on rat plugin

2018-07-09 Thread NEKRASSOV, ALEXEI
https://flink.apache.org/contribute-code.html recommends running 'mvn clean verify', but when I do (on master), the build fails: ... [INFO] Parsing exclusions from C:\usr\git\flink\.gitignore ... [INFO] Rat check: Summary over all files. Unapproved: 2, unknown: 2, generated: 0, approved: 8064 li

RE: [jira] [Created] (FLINK-9784) Inconsistent use of 'static' in AsyncIOExample.java

2018-07-09 Thread NEKRASSOV, ALEXEI
In JIRA I don't see an option to assign this issue to myself. Can someone please assign? Thanks, Alex -Original Message- From: Alexei Nekrassov (JIRA) [mailto:j...@apache.org] Sent: Monday, July 09, 2018 10:07 AM To: dev@flink.apache.org Subject: [jira] [Created] (FLINK-9784) Inconsist

RE: AsyncIOExample.SampleAsyncFunction

2018-07-06 Thread NEKRASSOV, ALEXEI
...@apache.org] Sent: Friday, July 06, 2018 9:48 AM To: dev@flink.apache.org; NEKRASSOV, ALEXEI Subject: Re: AsyncIOExample.SampleAsyncFunction Correct, either counter must be made static, or both the executorService and random non-static (which makes the counter unnecessary). For an example I

AsyncIOExample.SampleAsyncFunction

2018-07-06 Thread NEKRASSOV, ALEXEI
Hi, I'm confused by lines 119-122 in https://github.com/lamber-ken/flink/blob/master/flink-examples/flink-examples-streaming/src/main/java/org/apache/flink/streaming/examples/async/AsyncIOExample.java Why is counter non-static, but executorService and random - static? It's not clear to me wheth

RE: Job jumbo jar can't be extracted on Windows

2018-07-04 Thread NEKRASSOV, ALEXEI
system > > * property file.separator. On UNIX systems the > value of this > > * field is '/'; on Microsoft Windows systems it is > '\\'. > > Looks like the code you quoted should get the correct separator. > > On Tue, Jul 3, 2018 a

Job jumbo jar can't be extracted on Windows

2018-07-03 Thread NEKRASSOV, ALEXEI
When I try to "flink run" a job jar that includes dependent jar's - it fails on Windows with the following Exception: org.apache.flink.client.program.ProgramInvocationException: Unknown I/O error while extracting contained jar files. at org.apache.flink.client.program.PackagedProgram.ex