Thanks Stephan, will send PR for it

On Friday, March 6, 2015, Stephan Ewen <se...@apache.org> wrote:

> 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.sapu...@gmail.com
> <javascript:;>>
> 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 <se...@apache.org
> <javascript:;>> wrote:
> > > The failing test  is the
> > >
> >
> JobManagerStartupTest.testJobManagerStartupFails(JobManagerStartupTest.java:93)
> > > Am 04.03.2015 21:47 schrieb "Henry Saputra (JIRA)" <j...@apache.org
> <javascript:;>>:
> > >
> > >> 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)
> > >>
> >
>

Reply via email to