To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyses reviews to verify trustworthiness.
The current versions of Java is v1.8.0 and hive v2.3.3. Whereas this book was written in 2012 when java was at v1.6.0 and hive at v0.9.0. This book is very much out-dated that many of the concepts and instructions do not apply. I would strongly recommend to remove this version of the book and wait until a newer version is available that is applicable to the current period.