Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4.4
-
None
Description
PROBLEM:
from /tmp/hiveserver2Smoke.sh
smokeout=`/usr/lib/hive/bin/beeline -u $1 -n fakeuser -p fakepwd -d org.apache.hive.jdbc.HiveDriver -e '!run $2'
2>&1| awk '
'|grep Error`
if [ "x$smokeout" == "x" ]; then
echo "Smoke test of hiveserver2 passed"
exit 0
else
echo "Smoke test of hiveserver2 wasnt passed"
echo $smokeout
exit 1
fi
Few errors in this script:
1. for LDAP authentication, it requires a real user and password
2. LDAP authentication may hang, not generating 'Error' string. The script will not detect the failure.
Attachments
Attachments
Issue Links
- links to