Blog Archives
1 2 3 4

15+ Apache Spark best practices, memory mgmt & performance tuning interview FAQs – Part-2

This extends 15+ Apache Spark best practices, memory mgmt & performance tuning interview FAQs – Part-1, where best practices 1-6 were covered with examples & diagrams. #7 Use Spark UI: Running Spark jobs without inspecting the Spark UI is a definite NO. … Read more ›...



5 Ways to debug thread-safety issues in Java

Interviewers often judge your experience with debugging skills. For example, debugging jar hell issues, debugging SSL issues, debugging hibernate issues, debugging transaction management issues, etc. All these are covered in detail under the key areas “Key Area – Debug xxxx

How will you debug thread-safety issues in Java?

Read more ›



7 Java debugging interview questions & answers

Q1. How would you go about debugging thread-safety or concurrency issues? A1. #1: Manually reviewing the code for any obvious thread-safety issues. Good knowledge of multi-threading is required. #2: List all possible causes and add extensive log statements and write test cases to prove or disprove your theories. … Read...



Chrome Postman to test and debug RESTful Web Services

Step 1 You need to get the Postman extension for the Google chrome browser.

Step 2 Search and add POSTMAN.

Step 3 Once installed, open it from the Apps link.

chrome-appschrome-apps

Step 4 Set the TEST URL,

Read more ›



Debugging “NoSuchMethodError” in Java

The JAR hell issues also lead to exceptions like NoSuchMethodError or IllegalArgumentException. I have already discussed debugging JAR Hell issues. #1 Check the war file for any duplicate versions of the same jar The Maven’s transivie dependency might bring multiple versions of joda libraries like “ … Read more ›...



Debugging connection refused issues in Java with 9 tips

Possible reasons for “refused connections” 1) Client & Server are not connected by the LAN. For example, they can be in the different zones. 2) The Server might not be running. 3) The server might be listening on a different port or the server might have not started properly as...



Debugging JAR hell issues in Java

The following 3 questions are frequently asked by Java developers as an industrial strength Java project will have 100+ jar files. How often have you come across a Java application that requires different versions of the same library? How often do you see exceptions like NoSuchMethodError or IllegalArgumentException.

Read more ›



1 2 3 4

Java Interview FAQs

800+ Java Interview Q&As

Top