flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Ewen <se...@apache.org>
Subject Re: [jira] [Created] (FLINK-1651) Running mvn test got stuck
Date Fri, 06 Mar 2015 16:19:11 GMT
Ah, yeah, that is a vulnerability in the test. Same thing as in the other
test. It gets created because you have root access and the test assumes it
cannot be created.

Safe thing to do is like in your other fix: create a directory where the
user has no write permissions and set this to the BLOB store base dir.
Then re-add the write permissions and remove the directory.

On Fri, Mar 6, 2015 at 4:56 PM, Henry Saputra <henry.saputra@gmail.com>
wrote:

> Well, I need my morning coffee, just remember mvn will pull the right
> version of akka appropriately.
>
> The problem is that the BlobManager is started properly since my
> machine somehow have "/does-not-exist-no-sir/" directory which is used
> as target directory for the BlobSever which should fail.
> The jstack also shows the BlobServer is running.
>
> Thanks all, need to know how the directory got created.
>
> - Henry
>
> On Fri, Mar 6, 2015 at 1:11 AM, Stephan Ewen <sewen@apache.org> wrote:
> > The failing test  is the
> >
> JobManagerStartupTest.testJobManagerStartupFails(JobManagerStartupTest.java:93)
> > Am 04.03.2015 21:47 schrieb "Henry Saputra (JIRA)" <jira@apache.org>:
> >
> >> Henry Saputra created FLINK-1651:
> >> ------------------------------------
> >>
> >>              Summary: Running mvn test got stuck
> >>                  Key: FLINK-1651
> >>                  URL: https://issues.apache.org/jira/browse/FLINK-1651
> >>              Project: Flink
> >>           Issue Type: Bug
> >>           Components: test
> >>             Reporter: Henry Saputra
> >>
> >>
> >> I keep getting my test stuck at this state:
> >>
> >> ...
> >>
> >> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006
> sec
> >> - in org.apache.flink.runtime.types.TypeTest
> >> Running
> org.apache.flink.runtime.util.AtomicDisposableReferenceCounterTest
> >> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.561
> sec
> >> - in org.apache.flink.runtime.util.AtomicDisposableReferenceCounterTest
> >> Running org.apache.flink.runtime.util.DataInputOutputSerializerTest
> >> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.848
> sec
> >> - in org.apache.flink.runtime.operators.DataSourceTaskTest
> >> Running org.apache.flink.runtime.util.DelegatingConfigurationTest
> >> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003
> sec
> >> - in org.apache.flink.runtime.util.DelegatingConfigurationTest
> >> Running org.apache.flink.runtime.util.EnvironmentInformationTest
> >> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.563
> sec
> >> - in org.apache.flink.runtime.io.network.serialization.LargeRecordsTest
> >> Running org.apache.flink.runtime.util.event.TaskEventHandlerTest
> >> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007
> sec
> >> - in org.apache.flink.runtime.util.event.TaskEventHandlerTest
> >> Running org.apache.flink.runtime.util.LRUCacheMapTest
> >> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012
> sec
> >> - in org.apache.flink.runtime.util.LRUCacheMapTest
> >> Running org.apache.flink.runtime.util.MathUtilTest
> >> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002
> sec
> >> - in org.apache.flink.runtime.util.MathUtilTest
> >> Running org.apache.flink.runtime.util.NonReusingKeyGroupedIteratorTest
> >> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.064
> sec
> >> - in org.apache.flink.runtime.util.NonReusingKeyGroupedIteratorTest
> >> Running org.apache.flink.runtime.util.ReusingKeyGroupedIteratorTest
> >> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003
> sec
> >> - in org.apache.flink.runtime.util.ReusingKeyGroupedIteratorTest
> >> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.238
> sec
> >> - in org.apache.flink.runtime.taskmanager.TaskManagerTest
> >> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.616
> sec
> >> - in org.apache.flink.runtime.profiling.impl.InstanceProfilerTest
> >> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.303
> sec
> >> - in org.apache.flink.runtime.util.DataInputOutputSerializerTest
> >> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.488
> sec
> >> - in org.apache.flink.runtime.util.EnvironmentInformationTest
> >> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.81
> sec -
> >> in org.apache.flink.runtime.taskmanager.TaskManagerProcessReapingTest
> >> Tests run: 46, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.653
> >> sec - in org.apache.flink.runtime.operators.MatchTaskTest
> >> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.071
> sec
> >> - in org.apache.flink.runtime.operators.sort.LargeRecordHandlerTest
> >> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.534
> sec
> >> - in org.apache.flink.runtime.operators.DataSinkTaskTest
> >> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.98
> sec
> >> - in org.apache.flink.runtime.operators.sort.NormalizedKeySorterTest
> >> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 49.017
> sec
> >> - in org.apache.flink.runtime.io.disk.ChannelViewsTest
> >>
> >>
> >> After this seemed like nothing happen. And the program just hang.
> >>
> >> I am using MacOSX with Java version 1.7.0_71
> >>
> >>
> >>
> >>
> >>
> >> --
> >> This message was sent by Atlassian JIRA
> >> (v6.3.4#6332)
> >>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message