You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jeremiah Johnson (JIRA)" <ji...@apache.org> on 2012/08/08 01:23:09 UTC

[jira] [Created] (CASSANDRA-4499) CassandraStorage allow_deletes doesn't work in Hadoop cluster

Jeremiah Johnson created CASSANDRA-4499:
-------------------------------------------

             Summary: CassandraStorage allow_deletes doesn't work in Hadoop cluster
                 Key: CASSANDRA-4499
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4499
             Project: Cassandra
          Issue Type: Bug
          Components: Contrib
    Affects Versions: 1.1.3
            Reporter: Jeremiah Johnson


When using CassandraStorage in a Pig script that runs in a Hadoop cluster, the environment variable configuration option for allow_deletes doesn't work.  I'd like to see allow_deletes added as a URL parameter.

For example, I'd like to do
STORE storable_events INTO 'cassandra://drlcrs/event?allow_deletes=true' USING org.apache.cassandra.hadoop.pig.CassandraStorage();

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-4499) CassandraStorage allow_deletes doesn't work in Hadoop cluster

Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams updated CASSANDRA-4499:
----------------------------------------

    Reviewer: brandon.williams
    
> CassandraStorage allow_deletes doesn't work in Hadoop cluster
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-4499
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4499
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Contrib
>    Affects Versions: 1.1.3
>            Reporter: Jeremiah Johnson
>              Labels: hadoop, pig
>         Attachments: trunk-4499.txt
>
>
> When using CassandraStorage in a Pig script that runs in a Hadoop cluster, the environment variable configuration option for allow_deletes doesn't work.  I'd like to see allow_deletes added as a URL parameter.
> For example, I'd like to do
> STORE storable_events INTO 'cassandra://drlcrs/event?allow_deletes=true' USING org.apache.cassandra.hadoop.pig.CassandraStorage();

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-4499) CassandraStorage allow_deletes doesn't work in Hadoop cluster

Posted by "Jeremiah Johnson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremiah Johnson updated CASSANDRA-4499:
----------------------------------------

    Attachment: trunk-4499.txt

No unit tests available yet - I'm not sure how to test the URL or failure cases by looking at the existing tests.  I'll have to dig a little more.
                
> CassandraStorage allow_deletes doesn't work in Hadoop cluster
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-4499
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4499
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Contrib
>    Affects Versions: 1.1.3
>            Reporter: Jeremiah Johnson
>              Labels: hadoop, pig
>         Attachments: trunk-4499.txt
>
>
> When using CassandraStorage in a Pig script that runs in a Hadoop cluster, the environment variable configuration option for allow_deletes doesn't work.  I'd like to see allow_deletes added as a URL parameter.
> For example, I'd like to do
> STORE storable_events INTO 'cassandra://drlcrs/event?allow_deletes=true' USING org.apache.cassandra.hadoop.pig.CassandraStorage();

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-4499) CassandraStorage allow_deletes doesn't work in Hadoop cluster

Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460420#comment-13460420 ] 

Pavel Yaskevich commented on CASSANDRA-4499:
--------------------------------------------

+1
                
> CassandraStorage allow_deletes doesn't work in Hadoop cluster
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-4499
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4499
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Contrib
>    Affects Versions: 1.1.3
>            Reporter: Jeremiah Johnson
>            Assignee: Brandon Williams
>              Labels: hadoop, pig
>         Attachments: 4499-v2.txt, trunk-4499.txt
>
>
> When using CassandraStorage in a Pig script that runs in a Hadoop cluster, the environment variable configuration option for allow_deletes doesn't work.  I'd like to see allow_deletes added as a URL parameter.
> For example, I'd like to do
> STORE storable_events INTO 'cassandra://drlcrs/event?allow_deletes=true' USING org.apache.cassandra.hadoop.pig.CassandraStorage();

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (CASSANDRA-4499) CassandraStorage allow_deletes doesn't work in Hadoop cluster

Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams reassigned CASSANDRA-4499:
-------------------------------------------

    Assignee: Brandon Williams
    
> CassandraStorage allow_deletes doesn't work in Hadoop cluster
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-4499
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4499
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Contrib
>    Affects Versions: 1.1.3
>            Reporter: Jeremiah Johnson
>            Assignee: Brandon Williams
>              Labels: hadoop, pig
>         Attachments: trunk-4499.txt
>
>
> When using CassandraStorage in a Pig script that runs in a Hadoop cluster, the environment variable configuration option for allow_deletes doesn't work.  I'd like to see allow_deletes added as a URL parameter.
> For example, I'd like to do
> STORE storable_events INTO 'cassandra://drlcrs/event?allow_deletes=true' USING org.apache.cassandra.hadoop.pig.CassandraStorage();

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-4499) CassandraStorage allow_deletes doesn't work in Hadoop cluster

Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13430746#comment-13430746 ] 

Brandon Williams commented on CASSANDRA-4499:
---------------------------------------------

bq. No unit tests available yet - I'm not sure how to test the URL or failure cases by looking at the existing tests. I'll have to dig a little more.

We should be able to just insert empty tuples in the tests in examples/pig.

While we're at it, maybe we should move the wide row flag to the url too.
                
> CassandraStorage allow_deletes doesn't work in Hadoop cluster
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-4499
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4499
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Contrib
>    Affects Versions: 1.1.3
>            Reporter: Jeremiah Johnson
>              Labels: hadoop, pig
>         Attachments: trunk-4499.txt
>
>
> When using CassandraStorage in a Pig script that runs in a Hadoop cluster, the environment variable configuration option for allow_deletes doesn't work.  I'd like to see allow_deletes added as a URL parameter.
> For example, I'd like to do
> STORE storable_events INTO 'cassandra://drlcrs/event?allow_deletes=true' USING org.apache.cassandra.hadoop.pig.CassandraStorage();

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-4499) CassandraStorage allow_deletes doesn't work in Hadoop cluster

Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams updated CASSANDRA-4499:
----------------------------------------

    Attachment: 4499-v2.txt

v2 also allows setting widerow and secondary index mode with url params.
                
> CassandraStorage allow_deletes doesn't work in Hadoop cluster
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-4499
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4499
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Contrib
>    Affects Versions: 1.1.3
>            Reporter: Jeremiah Johnson
>            Assignee: Brandon Williams
>              Labels: hadoop, pig
>         Attachments: 4499-v2.txt, trunk-4499.txt
>
>
> When using CassandraStorage in a Pig script that runs in a Hadoop cluster, the environment variable configuration option for allow_deletes doesn't work.  I'd like to see allow_deletes added as a URL parameter.
> For example, I'd like to do
> STORE storable_events INTO 'cassandra://drlcrs/event?allow_deletes=true' USING org.apache.cassandra.hadoop.pig.CassandraStorage();

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CASSANDRA-4499) CassandraStorage allow_deletes doesn't work in Hadoop cluster

Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams updated CASSANDRA-4499:
----------------------------------------

    Reviewer: xedin  (was: brandon.williams)
    
> CassandraStorage allow_deletes doesn't work in Hadoop cluster
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-4499
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4499
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Contrib
>    Affects Versions: 1.1.3
>            Reporter: Jeremiah Johnson
>            Assignee: Brandon Williams
>              Labels: hadoop, pig
>         Attachments: 4499-v2.txt, trunk-4499.txt
>
>
> When using CassandraStorage in a Pig script that runs in a Hadoop cluster, the environment variable configuration option for allow_deletes doesn't work.  I'd like to see allow_deletes added as a URL parameter.
> For example, I'd like to do
> STORE storable_events INTO 'cassandra://drlcrs/event?allow_deletes=true' USING org.apache.cassandra.hadoop.pig.CassandraStorage();

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira