This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • Sentry Hive e2e Tests on Real Cluster
Skip to end of metadata
Go to start of metadata

How to run e2e tests

export HIVE_CONF_DIR=/etc/hive/conf
export HIVE_LIB=/usr/lib/hive
export HADOOP_CONF_DIR=/etc/hadoop/conf
export 'MAVEN_OPTS=-Xmx1536m -Xms512m -XX:MaxPermSize=512m'
export HS2_HOST=`hostname`
export NN_HOST=`hostname`
export HS2_PORT=10000
export KEY_TAB_FILE_DIR=/data/keytabs/hive.keytab
cd ${APACHE_SENTRY_ROOT_DIR}/sentry/sentry-tests/sentry-tests-hive

mvn test -e --no-snapshot-updates -DtestFailureIgnore=false \
-P cluster-hadoop-provider-db \
-f pom.xml \
-Dsentry.e2etest.admin.user=hive \ \${HS2_HOST} \
-Dhive.server2.thrift.port=${HS2_PORT} \
-Dhive.server2.authentication.kerberos.keytab=${KEY_TAB_FILE_DIR} \
-Dhive.server2.authentication.kerberos.principal=${PRINCIPAL} \

How to run upstream Hive v2 tests ( SENTRY-514 - Getting issue details... STATUS )

  • No labels