Get HMS URI

PHOTO EMBED

Thu Apr 01 2021 01:58:42 GMT+0000 (UTC)

Saved by @ankity09 #aws #emr #hms

ssh -i ~/Documents/nkityd.pem hadoop@ec2-54-236-239-19.compute-1.amazonaws.com cat /etc/hive/conf/hive-site.xml | grep "thrift://" | sed 's/\<value>//g' | sed 's/\<\/value>//g' | awk '{print "HMS URI: " $1 }'
content_copyCOPY