show databases doesn't return all databases with Kerberos/Sentry enabled

2015-05-13 Thread Liping Zhang
Dear all, I installed CDH, kerberos, sentry to enable security for hive beeline. I did following commands: # kinit -k -t hive.keytab hive/ ip-172-31-9-84.us-west-2.compute.inter...@hadoop.com # beeline -u jdbc:hive2://ip-172-31-9-84.us-west-2.compute.internal:1/default;principal=hive/

Hive/Hbase Integration issue

2015-05-13 Thread Ibrar Ahmed
Hi, I am creating a table using hive and getting this error. [127.0.0.1:1] hive CREATE TABLE hbase_table_1(key int, value string) STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' WITH SERDEPROPERTIES (hbase.columns.mapping =

Re: show databases doesn't return all databases with Kerberos/Sentry enabled

2015-05-13 Thread Thejas Nair
Hi Liping, As Szehon said, the sentry mailing list is likely to be able to help you with this. Please note that the secur...@hive.apache.org is meant to be used to report security vulnerabilities, it is not the right place for questions on features . Thanks, Thejas On Wed, May 13, 2015 at

Re: Hive/Hbase Integration issue

2015-05-13 Thread Ibrar Ahmed
Seems you are right, Sometime I got this error while running hbase shell command. ibrar@ibrar-virtual-machine:/usr/local/hbase/bin$ ./hbase shell SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in

Re: Hive/Hbase Integration issue

2015-05-13 Thread kulkarni.swar...@gmail.com
Ibrar, This seems to be an issue with the cluster rather than the integration itself. Can you make sure that HBase is happy and healthy and all RS are up and running? On Wed, May 13, 2015 at 1:58 PM, Ibrar Ahmed ibrar.ah...@gmail.com wrote: Hi, I am creating a table using hive and getting

Re: show databases doesn't return all databases with Kerberos/Sentry enabled

2015-05-13 Thread Prasad Mujumdar
- security@, bcc: user@hive +dev@sentry On Wed, May 13, 2015 at 12:05 PM, Szehon Ho sze...@cloudera.com wrote: Hi Liping Do you want to check the Sentry mailing list as well? They might know more about this scenario. Thanks Szehon On Wed, May 13, 2015 at 10:18 AM, Liping Zhang

Re: show databases doesn't return all databases with Kerberos/Sentry enabled

2015-05-13 Thread Szehon Ho
Hi Liping Do you want to check the Sentry mailing list as well? They might know more about this scenario. Thanks Szehon On Wed, May 13, 2015 at 10:18 AM, Liping Zhang zlpmiche...@gmail.com wrote: Dear all, I installed CDH, kerberos, sentry to enable security for hive beeline. I did

Re: Hive/Hbase Integration issue

2015-05-13 Thread Ibrar Ahmed
Here is my hbase-site.xml configuration property namehbase.rootdir/name valuefile:///usr/local/hbase/value /property property namehbase.zookeeper.property.dataDir/name value/usr/local/hbase/zookeeperdata/value /property /configuration And hive-site.xml configuration

Re: show databases doesn't return all databases with Kerberos/Sentry enabled

2015-05-13 Thread Liping Zhang
Thanks Szehon, Prasad, and TheJas. I added sentry mailing list. Dear Sentry, This is very strange issue. I also tried rolling back the configuration, but it still could not return right databases list with show databases. Do you have any idea? Thanks very much for your help in advance! On

Re: show databases doesn't return all databases with Kerberos/Sentry enabled

2015-05-13 Thread Liping Zhang
Hi Junjie, I thought hive user should be the admin_role of beeline, so there is no need to grant command for hive user, since in my another cluster, hive user has the admin role with all permission in beeline once after I enabled sentry. Please feel free to correct me if I miss something.

Re: Error : Cannot create a path from empty string

2015-05-13 Thread unmesha sreeveni
On Thu, May 7, 2015 at 9:57 PM, Viral Bajaria viral.baja...@gmail.com wrote: Since the output is from an intermediate step it was already cleaned up and I wasn't able to check. ​So that means , path will be empty right. So the stack trace says right. ​java.lang.IllegalArgumentException: Can