Rohini Palaniswamy created PIG-5118:
---------------------------------------
Summary: Script fails with Invalid dag containing 0 vertices
Key: PIG-5118
URL: https://issues.apache.org/jira/browse/PIG-5118
Project: Pig
Issue Type: Bug
Components: tez
Reporter: Rohini Palaniswamy
Assignee: Rohini Palaniswamy
Fix For: 0.17.0, 0.16.1
The current code of splitting DAG does not handle cases where there is split
and a clean segmentation is not possible. It also does not handle cases where
there is multiple segments and they are later used together. Both cases it ends
up with "Invalid dag containing 0 vertices" error as it creates one empty DAG
and and a new DAG which contains the full original plan as it was not able to
segment.
Usually can ask user to get rid of unnecessary store and then load if in same
script as it is usually a result of bad programming and inefficient. But in
this case they were part of different large scripts and run as below.
{code:title=script.pig}
run -param output=output1 script1.pig --stores to output1
run -param input=output1 script2.pig -- load from output1
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)