cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samarth Gahire (Reopened) (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (CASSANDRA-3754) Add TTL support to BulkOutputFormat
Date Tue, 21 Feb 2012 06:01:37 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-3754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Samarth Gahire reopened CASSANDRA-3754:
---------------------------------------


During cleanup, you have removed 
{code}long temp = column.ttl;
      expirationTimestampMS = (currentTime) + (temp * 1000);
{code}
from the patch I have submitted.
Assigning column.ttl (which is integer) to long in absolutely necessary.
While calculating the "expirationTimestampMS" multiplying this integer ttl with 1000 may results
into the value which is out of range of "int".
You can try with ttl = 11824305 seconds. Multiplying this with 1000 results into negative
value and expirationTimestampMS of past is calculated.
Reopening Issue.
                
> Add TTL support to BulkOutputFormat
> -----------------------------------
>
>                 Key: CASSANDRA-3754
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3754
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Hadoop
>    Affects Versions: 1.1.0
>            Reporter: Brandon Williams
>            Assignee: Samarth Gahire
>            Priority: Minor
>              Labels: bulkloader, hadoop, ttl
>             Fix For: 1.1.0
>
>         Attachments: 0001-TTL-Support-Added-updated.txt
>
>


--
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

        

Mime
View raw message