Question

In: Computer Science

But if you were given the responsibility of installing a Hadoop 100+ node cluster, what would...

But if you were given the responsibility of installing a Hadoop 100+ node cluster, what would you do. By the way there are lots of solutions in the marketplace both commercial and proprietary. You may want to look around. Let's say that you successfully installed a 100+ Hadoop node cluster.

During the operation of the cluster, things are bound to fail. What failures do you think may happen in the cluster and what solutions/tools do you think you may want to employ to monitor and discover the failures?

Solutions

Expert Solution

There can be three types of failure in Hadoop Cluster:

NameNode Failure:
NameNode was a SPOF(Single point of failure) in HDFS cluster. Each cluster consists of a single NameNode, and if that machine goes down the cluster would be unavailable.
NameNode can be down in two cases:
1.) In case of crash or failure.
2.) In case of maintenance.

How to Overcome?
Have a Secondary NameNode in the cluster, that can be used in the stage the primary NameNode failure occurs.

DataNode Failure:
Each DataNode sends a Heartbeat message to the NameNode periodically. A network partition can cause a subset of DataNodes to lose connectivity with the NameNode. The NameNode detects this condition by the absence of a Heartbeat message.

How to overcome?
There are generally more than one dataNode in the cluster. Having a dataNode failure does not critically impact the Hadoop cluster. However there can be replication overhead in case of Node failure. Having buffer dataNode can help alliviate the problem.

SecondaryNode Failure:
Hadoop Cluster will run when it crashes. You can run Hadoop claster even without it and it is not used for high availability.

For all fail case, try "sudo jps". you will get process id and process name. Then do "sudo kill -9 {process-id}". Then try to read/write data in hdfs or pig/hive shell.


Related Solutions

There are four types of responsibility centers. Given a choice, which responsibility center would you choose...
There are four types of responsibility centers. Given a choice, which responsibility center would you choose to manage and why? What is an operational performance measure? Provide an example.
If you were assigned the responsibility for selling your firms products on eBay, how would you...
If you were assigned the responsibility for selling your firms products on eBay, how would you achieve the highest price? Give five specific ideas. Within your explanation please identify the type of product(s) you plan to sell. You should be very specific; remember you could include selling a multitude of different products (product family). You should consider including the type of pricing strategy you will implement in order to sell the greatest number of products.
What if you were given total authority to reform the American court systems; what would you...
What if you were given total authority to reform the American court systems; what would you reform and why?
If you were given unlimited funds to build a nursing home, what would it be like?...
If you were given unlimited funds to build a nursing home, what would it be like? Describe the physical environment, staffing, food service, rehabilitation, social and educational activities, admission procedures, residents' rights, services for families, how residents would participate in decision making, and interaction with the community. Remember that most residents have moderate to severe disabilities.
What is responsibility accounting and what is its importance to an organisation? Discuss in 100 to...
What is responsibility accounting and what is its importance to an organisation? Discuss in 100 to 120 words.
You are given a reference to the head node of a linked list that stores integers....
You are given a reference to the head node of a linked list that stores integers. Please print the minimum element in this linked list. The class ListNode.java contains the description of a single node in the linked list. It has a num field to store the integer number and a reference next that points to the next element in the list. The file MyList.class is a pre-defined java code, that creates a linked list. The file ListSmallest.java creates an...
You are given a reference to the root node of a binary search tree, that implements...
You are given a reference to the root node of a binary search tree, that implements a dictionary data structure. Please print all the elements in depths 500 through 510, all in sorted order. A node in a binary search tree is at depth x, if it takes x hops to get from the root. So the root is at depth 0, the children of the root are at depth 1, and so on. The class TreeNode defines a single...
You are given a reference to the head node of a linked list that stores integers....
You are given a reference to the head node of a linked list that stores integers. Please print the minimum element in this linked list. The class ListNode.java contains the description of a single node in the linked list. It has a num field to store the integer number and a reference next that points to the next element in the list. The file MyList.class is a pre-defined java code, that creates a linked list. The file ListSmallest.java creates an...
You are given a reference to the head node of a linked list that stores integers....
You are given a reference to the head node of a linked list that stores integers. Please print the minimum element in this linked list. The class ListNode.java contains the description of a single node in the linked list. It has a num field to store the integer number and a reference next that points to the next element in the list. The file MyList.class is a pre-defined java code, that creates a linked list. The file ListSmallest.java creates an...
You are given a reference to the head node of a linked list that stores integers....
You are given a reference to the head node of a linked list that stores integers. Please print the minimum element in this linked list. The class ListNode.java contains the description of a single node in the linked list. It has a num field to store the integer number and a reference next that points to the next element in the list. The file MyList.class is a pre-defined java code, that creates a linked list. The file ListSmallest.java creates an...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT