Re: user_permission ERROR: Unknown table

2013-09-17 Thread BG
Well we are trying to find out why our application works when we use
'Selectors' table.
When we use 'Selectors2' it works just fine. So we wanted to see if it was a
permission
error. That is why we tried out user_permissions, but when they gave errors
we wondered
if that might enforce that maybe it is a permissions problem.

bg



--
View this message in context: 
http://apache-hbase.679495.n3.nabble.com/user-permission-ERROR-Unknown-table-tp4050797p4050838.html
Sent from the HBase User mailing list archive at Nabble.com.


Re: user_permission ERROR: Unknown table

2013-09-17 Thread Jean-Daniel Cryans
Ah I see, well unless you setup Secure HBase there won't be any perms
enforcement.

So in which way is your application failing to use Selector? Do you have
an error message or stack trace handy?

J-D


On Tue, Sep 17, 2013 at 5:43 AM, BG bge...@mitre.org wrote:

 Well we are trying to find out why our application works when we use
 'Selectors' table.
 When we use 'Selectors2' it works just fine. So we wanted to see if it was
 a
 permission
 error. That is why we tried out user_permissions, but when they gave errors
 we wondered
 if that might enforce that maybe it is a permissions problem.

 bg



 --
 View this message in context:
 http://apache-hbase.679495.n3.nabble.com/user-permission-ERROR-Unknown-table-tp4050797p4050838.html
 Sent from the HBase User mailing list archive at Nabble.com.



Re: user_permission ERROR: Unknown table

2013-09-17 Thread BG
Ah. I assumed user_permissions would work, but i guess more set up is
necessary.

We have just found the problem. And of course the problem was equivalent to
leaving a semicolon off
your java. At some point either the 's' was dropped off or the co-processor
was renamed.

But for the table that works it points to 'Thecoprocessors.jar' and for the
table
that does not work it points to 'Thecoprocessor.jar' (without the 's')

Thanks for everyone' help.

Bg



--
View this message in context: 
http://apache-hbase.679495.n3.nabble.com/user-permission-ERROR-Unknown-table-tp4050797p4050845.html
Sent from the HBase User mailing list archive at Nabble.com.


Re: user_permission ERROR: Unknown table

2013-09-16 Thread Ted Yu
Take a look at http://hbase.apache.org/book.html#d0e5188

Cheers


On Mon, Sep 16, 2013 at 1:02 PM, BG bge...@mitre.org wrote:

 No I have not.. Do I need to?



 --
 View this message in context:
 http://apache-hbase.679495.n3.nabble.com/user-permission-ERROR-Unknown-table-tp4050797p4050802.html
 Sent from the HBase User mailing list archive at Nabble.com.



Re: user_permission ERROR: Unknown table

2013-09-16 Thread BG
Thanks.. Do I need to do this. 
We do NOT have kerberos running.

bg



--
View this message in context: 
http://apache-hbase.679495.n3.nabble.com/user-permission-ERROR-Unknown-table-tp4050797p4050804.html
Sent from the HBase User mailing list archive at Nabble.com.


Re: user_permission ERROR: Unknown table

2013-09-16 Thread BG
No I have not.. Do I need to?



--
View this message in context: 
http://apache-hbase.679495.n3.nabble.com/user-permission-ERROR-Unknown-table-tp4050797p4050802.html
Sent from the HBase User mailing list archive at Nabble.com.


user_permission ERROR: Unknown table

2013-09-16 Thread BG
Table Selectors does exist and contains data. 
I am unable to find out why this is happening.

Any ideas? Is this a bug? Do I need to set permissions before I can get
permission output?


1.9.3p429 :003  user_permission Selectors
User  Table,Family,Qualifier:Permission

ERROR: Unknown table Selectors!

Here is some help for this command:
Show all permissions for the particular user.
Syntax : user_permission 

For example:

hbase user_permission
hbase user_permission 'table1'





--
View this message in context: 
http://apache-hbase.679495.n3.nabble.com/user-permission-ERROR-Unknown-table-tp4050797.html
Sent from the HBase User mailing list archive at Nabble.com.


Re: user_permission ERROR: Unknown table

2013-09-16 Thread Ted Yu
What version of HBase are you using ?

Can you try adding '-d' to HBase shell command and tell us the output ?

Thanks


On Mon, Sep 16, 2013 at 12:37 PM, BG bge...@mitre.org wrote:

 Table Selectors does exist and contains data.
 I am unable to find out why this is happening.

 Any ideas? Is this a bug? Do I need to set permissions before I can get
 permission output?


 1.9.3p429 :003  user_permission Selectors
 User  Table,Family,Qualifier:Permission

 ERROR: Unknown table Selectors!

 Here is some help for this command:
 Show all permissions for the particular user.
 Syntax : user_permission

 For example:

 hbase user_permission
 hbase user_permission 'table1'





 --
 View this message in context:
 http://apache-hbase.679495.n3.nabble.com/user-permission-ERROR-Unknown-table-tp4050797.html
 Sent from the HBase User mailing list archive at Nabble.com.



Re: user_permission ERROR: Unknown table

2013-09-16 Thread BG
[root@brakedown tmp]# hbase shell -d
Setting DEBUG log level...
13/09/16 15:52:37 WARN conf.Configuration: hadoop.native.lib is deprecated.
Instead, use io.native.lib.available
HBase Shell; enter 'helpRETURN' for list of supported commands.
Type exitRETURN to leave the HBase Shell
Version 0.94.2-cdh4.2.0, rUnknown, Fri Feb 15 11:44:16 PST 2013


1.9.3-p429 :003user_permission 'Selectors'


User Table,Family,Qualifier:Permission
13/09/16 15:53:35 INFO zookeeper.ZooKeeper: Client
environment:zookeeper.version=3.4.5-cdh4.2.0--1, built on 02/15/2013 18:36
GMT
13/09/16 15:53:35 INFO zookeeper.ZooKeeper: Client
environment:host.name=brakedown
13/09/16 15:53:35 INFO zookeeper.ZooKeeper: Client
environment:java.version=1.6.0_31
13/09/16 15:53:35 INFO zookeeper.ZooKeeper: Client
environment:java.vendor=Sun Microsystems Inc.
13/09/16 15:53:35 INFO zookeeper.ZooKeeper: Client
environment:java.home=/usr/java/jdk1.6.0_31/jre
13/09/16 15:53:35 INFO zookeeper.ZooKeeper: Client

Re: user_permission ERROR: Unknown table

2013-09-16 Thread Jean-Daniel Cryans
What are you trying to do bg? If you want to setup user permissions you
also need to have a secure HBase (the link that Ted posted) which
involves Kerberos.

J-D


On Mon, Sep 16, 2013 at 1:33 PM, Ted Yu yuzhih...@gmail.com wrote:

 See http://hbase.apache.org/book.html#d0e5135


 On Mon, Sep 16, 2013 at 1:06 PM, BG bge...@mitre.org wrote:

  Thanks.. Do I need to do this.
  We do NOT have kerberos running.
 
  bg
 
 
 
  --
  View this message in context:
 
 http://apache-hbase.679495.n3.nabble.com/user-permission-ERROR-Unknown-table-tp4050797p4050804.html
  Sent from the HBase User mailing list archive at Nabble.com.
 



Re: user_permission ERROR: Unknown table

2013-09-16 Thread Ted Yu
See http://hbase.apache.org/book.html#d0e5135


On Mon, Sep 16, 2013 at 1:06 PM, BG bge...@mitre.org wrote:

 Thanks.. Do I need to do this.
 We do NOT have kerberos running.

 bg



 --
 View this message in context:
 http://apache-hbase.679495.n3.nabble.com/user-permission-ERROR-Unknown-table-tp4050797p4050804.html
 Sent from the HBase User mailing list archive at Nabble.com.