Skip to content

Instantly share code, notes, and snippets.

@wongster80
Created August 22, 2015 08:57
Show Gist options
  • Save wongster80/762dfa178f2e2dead54c to your computer and use it in GitHub Desktop.
Save wongster80/762dfa178f2e2dead54c to your computer and use it in GitHub Desktop.
bash-4.1$ sudo -H -u hdfs /bin/sh -c "kinit -p hdfs -k -t ~/.keytab ; beeline -u 'jdbc:hive2://hd-sbx-support2.np.wc1.yellowpages.com:10000/default;principal=hive/_HOST@CORP.YP.COM' -n hdfs -f /home/t/sentry/conf/sentry_acls.sql"
scan complete in 6ms
Connecting to jdbc:hive2://hd-sbx-support2.np.wc1.yellowpages.com:10000/default;principal=hive/_HOST@CORP.YP.COM
Error: Could not open client transport with JDBC Uri: jdbc:hive2://hd-sbx-support2.np.wc1.yellowpages.com:10000/default;principal=hive/_HOST@CORP.YP.COM: Peer indicated failure: GSS initiate failed (state=08S01,code=0)
0: jdbc:hive2://hd-sbx-support2.np.wc1.yellow (closed)> CREATE ROLE select_for_all ;
No current connection
Error: Could not open client transport with JDBC Uri: jdbc:hive2://hd-sbx-support2.np.wc1.yellowpages.com:10000/default;principal=hive/_HOST@CORP.YP.COM: Peer indicated failure: GSS initiate failed (state=08S01,code=0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment