@k v vittal hebbar
I assume that lines as you actually wrote are like the below (in two lines with semicolon at the end):
ADD JAR /tmp/udfs/esri-geometry-api.jar;
ADD JAR /tmp/udfs/spatial-sdk.jar;
If that is true, then check whether your ambari view user is mapped to an OS user that has privileges on /tmp/udfs/ located files. Example:
You also have a better option to add these libraries to HDFS as such you can access them from any node with a Hive client.
add jar hdfs://whateverhost:8020/tmp/esri/esri-geometry-api.jar;
Try the hdfs approach.
If this addresses your response please vote and accept it as the best answer.