Detecting deadlock in a cluster environment using big data analytics
First Claim
Patent Images
1. A method for detecting deadlock in a distributed computing environment, by a processor device, comprising:
- detecting potential deadlocks between resources of nodes in a computing cluster by determining resource reverse pairs of the resources for each transaction from trace or log files generated from additional, separate transactions using data analytics;
wherein the potential deadlocks are identified offline, prior to any execution of each transaction, by matching a global or local resource between the nodes in sub-transactions of each transaction as recursively identified from a transaction resource chain having information of an order of the resources to be used during each transaction; and
wherein the reverse resource pairs comprise those of the resources determined to collide when being taken by one of the sub-transactions while simultaneously being attempted to be taken by another of the sub-transactions as identified in the transaction resource chain;
mitigating an occurrence of the potential deadlock by delaying the one of the sub-transactions until the respective resources used during the one of the sub-transactions are freed or restructuring the order of the resources to be used during the one of the sub-transactions;
defining namespaces for each of the transactions, the sub-transactions, and the resources used by the transactions and sub-transactions;
wherein the namespaces are recorded in the log or trace files; and
extracting information associated with a respective transaction and a resource order of the resources used for the respective transaction from the log or trace files.
1 Assignment
0 Petitions
Accused Products
Abstract
Detecting deadlock in a distributed computing environment. Potential deadlocks between resources of nodes in a computing cluster by determining resource reverse pairs of the resources for each transaction from trace or log files using data analytics. The potential deadlocks are identified offline by matching a global or local resource between the nodes in sub-transactions of each transaction as recursively identified from a transaction resource chain.
-
Citations
15 Claims
-
1. A method for detecting deadlock in a distributed computing environment, by a processor device, comprising:
-
detecting potential deadlocks between resources of nodes in a computing cluster by determining resource reverse pairs of the resources for each transaction from trace or log files generated from additional, separate transactions using data analytics;
wherein the potential deadlocks are identified offline, prior to any execution of each transaction, by matching a global or local resource between the nodes in sub-transactions of each transaction as recursively identified from a transaction resource chain having information of an order of the resources to be used during each transaction; and
wherein the reverse resource pairs comprise those of the resources determined to collide when being taken by one of the sub-transactions while simultaneously being attempted to be taken by another of the sub-transactions as identified in the transaction resource chain;mitigating an occurrence of the potential deadlock by delaying the one of the sub-transactions until the respective resources used during the one of the sub-transactions are freed or restructuring the order of the resources to be used during the one of the sub-transactions; defining namespaces for each of the transactions, the sub-transactions, and the resources used by the transactions and sub-transactions;
wherein the namespaces are recorded in the log or trace files; andextracting information associated with a respective transaction and a resource order of the resources used for the respective transaction from the log or trace files. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A system for detecting deadlock in a distributed computing environment, the system comprising:
-
a processor device operating within and between distributed computing components, wherein the processor device; detects potential deadlocks between resources of nodes in a computing cluster by determining resource reverse pairs of the resources for each transaction from trace or log files generated from additional, separate transactions using data analytics;
wherein the potential deadlocks are identified offline, prior to any execution of each transaction, by matching a global or local resource between the nodes in sub-transactions of each transaction as recursively identified from a transaction resource chain having information of an order of the resources to be used during each transaction; and
wherein the reverse resource pairs comprise those of the resources determined to collide when being taken by one of the sub-transactions while simultaneously being attempted to be taken by another of the sub-transactions as identified in the transaction resource chain;mitigates an occurrence of the potential deadlock by delaying the one of the sub-transactions until the respective resources used during the one of the sub-transactions are freed or restructuring the order of the resources to be used during the one of the sub-transactions; defines namespaces for each of the transactions, the sub-transactions, and the resources used by the transactions and sub-transactions;
wherein the namespaces are recorded in the log or trace files; andextracts information associated with a respective transaction and a resource order of the resources used for the respective transaction from the log or trace files. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A computer program product for detecting deadlock in a distributed computing environment, by a processor device, the computer program product comprising a physical, non-transitory computer-readable storage medium having computer-readable program code portions stored therein, the computer-readable program code portions comprising:
-
an executable portion that detects potential deadlocks between resources of nodes in a computing cluster by determining resource reverse pairs of the resources for each transaction from trace or log files generated from additional, separate transactions using data analytics;
wherein the potential deadlocks are identified offline, prior to any execution of each transaction, by matching a global or local resource between the nodes in sub-transactions of each transaction as recursively identified from a transaction resource chain having information of an order of the resources to be used during each transaction; and
wherein the reverse resource pairs comprise those of the resources determined to collide when being taken by one of the sub-transactions while simultaneously being attempted to be taken by another of the sub-transactions as identified in the transaction resource chain;an executable portion that mitigates an occurrence of the potential deadlock by delaying the one of the sub-transactions until the respective resources used during the one of the sub-transactions are freed or restructuring the order of the resources to be used during the one of the sub-transactions; an executable portion that defines namespaces for each of the transactions, the sub-transactions, and the resources used by the transactions and sub-transactions;
wherein the namespaces are recorded in the log or trace files; andan executable portion that extracts information associated with a respective transaction and a resource order of the resources used for the respective transaction from the log or trace files. - View Dependent Claims (12, 13, 14, 15)
-
Specification