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

liyunzhang_intel commented on PIG-5052:
---------------------------------------

[~szita]:  Sorry for reply a bit late.
{quote}
This can be seen by just repeating the same pig query, (e.g. load, foreach, 
dump, dump) - the second job will hang in SparkStatsUtil#waitForJobAddStats.
Reason is that JobGraphBuilder#getJobIDs will return all jobs accociated with 
the same groupID, in the case above 0 and 1. Then it will wait for job 0 to 
finish but that's no longer in sparkContext, it was the previous job..
{quote}

 not very understand.   use following repeating query(load) script and run 
successfully.
{code}
A = load './SkewedJoinInput1.txt' as (id,name,n);
B = load './SkewedJoinInput1.txt' as (id,name);
store A into './duplicate.out.A';
store B into './duplicate.out.B';
explain A;
{code}

Can you give a script to show the failure you mentioned above?

> Initialize MRConfiguration.JOB_ID in spark mode correctly
> ---------------------------------------------------------
>
>                 Key: PIG-5052
>                 URL: https://issues.apache.org/jira/browse/PIG-5052
>             Project: Pig
>          Issue Type: Sub-task
>          Components: spark
>            Reporter: liyunzhang_intel
>            Assignee: Adam Szita
>             Fix For: spark-branch
>
>         Attachments: PIG-5052.2.patch, PIG-5052.patch
>
>
> currently, we initialize MRConfiguration.JOB_ID in SparkUtil#newJobConf.  
> we just set the value as a random string.
> {code}
>         jobConf.set(MRConfiguration.JOB_ID, UUID.randomUUID().toString());
> {code}
> We need to find a spark api to initiliaze it correctly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to