If the error is that there are no partitions, then the either the nc hasn't
started yet or it has failed (cat /tmp/t2/*/*.log). Perhaps the /temp
directory isn't writable or perhaps the memory requested is larger than is
available.

There's a command line wait time that will cause the driver to wait longer
before submitting work to the cc. If it's just a timing thing, that's where
I'd start. And see what is in those log files for the nc.

I wish we had a way to listen to those logs from the driver. And to know if
the nc's actually started correctly.
On Oct 26, 2013 8:08 PM, "Jianfeng Jia" <notifications@github.com> wrote:

> In genomix/genomix-driver/src/main/resources/scripts/getip.sh:
>
> >          fi
> > +        IS_VALID_IP=`echo $IPADDR | grep -E "([0-9]{1,3}\.{0,1}){4}"`
> > +        [ "$IS_VALID_IP" ] || IPADDR=`hostname -i`
>
> Actually I found that this build still failed. That 'eth0 not found' was
> failed in every build. Something the program still run and pass, sometime
> it didn't.
> The real reason of the failing I think it should not be so related to
> getip.sh.
>
> I've copied the Yingyi to see if he has some hint. Do you have some idea ?
> The exception track is below:
>
> Exception in thread "main" edu.uci.ics.hyracks.api.exceptions.HyracksException: edu.uci.ics.hyracks.api.exceptions.HyracksException: Job failed on account of:
> Unsatisfiable number of partitions for PARTITION_COUNT(ODID:0): 0
>     at edu.uci.ics.pregelix.core.driver.Driver.runJobs(Driver.java:160)
>     at edu.uci.ics.pregelix.core.driver.Driver.runJobs(Driver.java:76)
>     at edu.uci.ics.genomix.driver.GenomixDriver.flushPendingJobs(GenomixDriver.java:234)
>     at edu.uci.ics.genomix.driver.GenomixDriver.runGenomix(GenomixDriver.java:289)
>     at edu.uci.ics.genomix.driver.GenomixDriver.main(GenomixDriver.java:339)
> Caused by: edu.uci.ics.hyracks.api.exceptions.HyracksException: Job failed on account of:
> Unsatisfiable number of partitions for PARTITION_COUNT(ODID:0): 0
>     at edu.uci.ics.hyracks.control.cc.job.JobRun.waitForCompletion(JobRun.java:193)
>     at edu.uci.ics.hyracks.control.cc.work.WaitForJobCompletionWork$2.run(WaitForJobCompletionWork.java:58)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     at java.lang.Thread.run(Thread.java:722)
> Caused by: edu.uci.ics.hyracks.api.exceptions.HyracksException: Unsatisfiable number of partitions for PARTITION_COUNT(ODID:0): 0
>     at edu.uci.ics.hyracks.control.cc.scheduler.ActivityClusterPlanner.computePartitionCounts(ActivityClusterPlanner.java:406)
>     at edu.uci.ics.hyracks.control.cc.scheduler.ActivityClusterPlanner.planActivityCluster(ActivityClusterPlanner.java:65)
>     at edu.uci.ics.hyracks.control.cc.scheduler.JobScheduler.findRunnableTaskClusterRoots(JobScheduler.java:131)
>     at edu.uci.ics.hyracks.control.cc.scheduler.JobScheduler.findRunnableTaskClusterRoots(JobScheduler.java:100)
>     at edu.uci.ics.hyracks.control.cc.scheduler.JobScheduler.startRunnableActivityClusters(JobScheduler.java:156)
>     at edu.uci.ics.hyracks.control.cc.scheduler.JobScheduler.startJob(JobScheduler.java:94)
>     at edu.uci.ics.hyracks.control.cc.work.JobStartWork.doRun(JobStartWork.java:64)
>     at edu.uci.ics.hyracks.control.common.work.SynchronizableWork.run(SynchronizableWork.java:32)
>     at edu.uci.ics.hyracks.control.common.work.WorkQueue$WorkerThread.run(WorkQueue.java:116)
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/uci-cbcl/genomix/pull/42/files#r7235634>
> .
>