In this topic we will learn how to calculate difference between two dates in java in terms of Second/ Minutes / Hours / Days. By Using java class. In next section we will use Java api(JODA) to perform the same activity.
Searched for ""
What is the use of serialVersionUID
Here I will discuss the importance of the variable serialVersionUID which are used in Serializable classes.
Transient vs Static variable java
Here I will show you what is the difference between Static and Transient. In any way, these two things are completely different with the different scope but people use to ask me this question lot of time. Here in this article, I will try to explain it. Fore previous articles you can click here(Part I)… Continue reading
Java Serialization concept & Example Part II
In first part we have discussed what is serialization and how to achieve it in Java. In this article, we will discuss some advanced topics covering Serialization.
Java serialization concept and Example
Here I will learn and teach you what is Serialization in Java and how to write code for the same.
Format aborted in /app/hadoop/tmp/dfs/name
While startng the Hadoop i was just trying to format the filesystem. For that i have executed below command. bin/hadoop namenode -format But i am getting below error while doing this. Could you please let me know what could be the reason behind this. Warning: $HADOOP_HOME is deprecated. 13/08/10 13:52:56 INFO namenode.NameNode: STARTUP_MSG: /************************************************************ STARTUP_MSG:… Continue reading
Hadoop Interview Question
What is the difference between start-all.sh and start-dfs.sh in Hadoop There are different scripts in bin dir in Hadoop which is used to launch Hadoop DFS and Hadoop Map/Reduce Daemons. start-dfs.sh – Starts the Hadoop DFS daemons (Namenode and Datanodes) stop-dfs.sh – Stops the Hadoop DFS daemons (Namenode and Datanodes) start-all.sh – Starts all Hadoop daemons (Namenode, datanodes,… Continue reading
Spring Transaction Management Tutorial
What is Transaction Management The sequence of activities that will be performed to complete database operation and its management is known as Transaction Management. All these actions in combination will be treated as ONE action only. So that DB doesn’t fall in inconsistent mode ever. For more details, you can search for ACID property of… Continue reading
Terms of Use
The following terms of use will govern the use of this website and all its sub-sites and micro-sites.
Spring @autowired annotation
Use of @Autowired