1. Shantanu Kumar
  2. hadoop-starter-kit

Commits

Shantanu Kumar  committed aa34482

check for JDK before setup

  • Participants
  • Parent commits 21d1153
  • Branches default

Comments (0)

Files changed (1)

File hsetup

View file
   exit
 fi
 
+# Check JDK folder
+if [ -d "app/default/jdk" ]; then
+  echo "JDK dir 'app/default/jdk' found"
+else
+  echo "JDK dir 'app/default/jdk' is NOT set"
+  exit
+fi
+
 function msg() {
   echo ""
   echo $1