[ 
https://issues.apache.org/jira/browse/CASSANDRA-7607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14182853#comment-14182853
 ] 

Rajanarayanan Thottuvaikkatumana commented on CASSANDRA-7607:
-------------------------------------------------------------

I have spent some time on making the TRIGGER work on a setup based on the 
latest trunk code but no luck. I can see two conflicting setup instructions in 
the CQL documentation 
(http://www.datastax.com/documentation/cql/3.1/cql/cql_reference/trigger_r.html)
 where it says the java code has to be placed under the lib/triggers directory. 
I have followed the instructions in the examples/triggers/README.txt to do the 
build of the jar file and stuff like that. But in that it is saying you to keep 
the jar files under conf/triggers/. I have done both the versions separately 
and none of them did work. Which one is correct? Then I unpacked the jar files 
and kept it as the class file preserving the directory structure needed as per 
the package structure. Still no luck. In all the cases it says 
{code}
<ErrorMessage code=2300 [Query invalid because of configuration issue] 
message="Trigger class 'org.apache.cassandra.triggers.InvertedIndex' doesn't 
exist">
{code}

Any thoughts? 

Do you think making a patch for the items completed and uploading make sense 
while we are working on this? Thanks


> Test coverage for authorization in DDL & DML statements
> -------------------------------------------------------
>
>                 Key: CASSANDRA-7607
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7607
>             Project: Cassandra
>          Issue Type: Test
>          Components: Tests
>            Reporter: Robert Stupp
>            Assignee: Rajanarayanan Thottuvaikkatumana
>              Labels: lhf, unit-test
>             Fix For: 2.0.12
>
>
> Similar to CASSANDRA-7604
> Check that the statements perform proper authorization (allow / reject):
> * {{CREATE KEYSPACE}}
> * {{ALTER KEYSPACE}}
> * {{DROP KEYSPACE}}
> * {{CREATE TABLE}}
> * {{ALTER TABLE}}
> * {{DROP TABLE}}
> * {{CREATE TYPE}}
> * {{ALTER TYPE}}
> * {{DROP TYPE}}
> * {{CREATE INDEX}}
> * {{DROP INDEX}}
> * {{CREATE TRIGGER}}
> * {{DROP TRIGGER}}
> * {{CREATE USER}}
> * {{ALTER USER}}
> * {{DROP USER}}
> * {{TRUNCATE}}
> * {{GRANT}}
> * {{REVOKE}}
> * {{SELECT}}
> * {{UPDATE}}
> * {{DELETE}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to