how does deadlock occur?
Answers were Sorted based on User's Feedback
It is the condition, where the graph will stop processing
due to mutual dependency of data.
For Ex:
Let’s consider a concatenate component, having three
inputs. Let’s say first i/p receives 20 million records,
second i/p receives 1000 records, third i/p receives 500
records.
Now even though the concatenate receives i/p’s at second
and third i/p port, the concatenate won’t work until it
receives all the i/p’s at it’s first i/p port. So the
graph’ll stop processing until the first i/p port receives
all its data. This condition is called DEADLOCK.
This is now minimised (not prevented) by “Automated flow
buffering”. This will in turn provide more workspace in
network resource allocation. So that the processing’ll be
faster.
The Automated flow buffering is available from 1.8 version.
Is This Answer Correct ? | 17 Yes | 1 No |
Answer / gita
Deadlock occurs when a program cannot progress, causing a
graph to hang. The likelihood of deadlock occurring depends
on the patterns of data flows. A graph carries a potential
for deadlock when flows diverge and converge within a single
phase. If the flows converge at a component that reads its
input flows in a particular order, that component may wait
for records to arrive on one flow even as the unread data
accumulates on others, because components have a limited
buffering capacity. Before GDE version 1.8, deadlock was a
common problem. It is now a rare occurrence due to the
automatic flow buffering feature added in version 1.8.
Is This Answer Correct ? | 8 Yes | 1 No |
Answer / prakash
when two or more components using the same resource, then u
will get dead lock
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / quesanswer
Hi kanaga
M asking for abinitio grpahs
when does deadlock occur
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / babu
If two or more components are waiting for the same resource apart from using some other resource then deadlock occurs
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kanaga
IF TWO ARE MORE THREADS WAITING TO RELEASE A RESOURCE,WHEN
DEADLOCK IS OCCUR.
Is This Answer Correct ? | 4 Yes | 8 No |
what is the output when -1 is put in select_expr of FBE?
What is Is_defined(), Is_null(), Is_Blank()?
How you can create cross joined output using join component ?
)what is wrapper script?where it is going to execute and why we go for wrapper?
what is skew and skew measurement?
What is the max core of a component?
What is dependent parameter ?
We have file having country_name customer_name.For exp London Ram Bangalore Rohit London Shyam Bangalore Abhinav In output we need 2 files one file for london and second file for Bangalore.How to acheve this?
Have you used the rollup component? Describe how?
How will you use EME for view or publish metadata reports using EME?
Explain how abinitio eme is segregated?
One file contains header,body,trailer records and header in a single row as well as trailer too.How to segregate these header,trailer and body records and once it gets segregated,i want to make the body data in reverse i.e if i have 10 body records,the 10th record should be the first record,9th record should be the second line,etc..