You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2012/10/10 21:37:03 UTC

[jira] [Created] (CASSANDRA-4788) streaming can put files in the wrong location

Brandon Williams created CASSANDRA-4788:
-------------------------------------------

             Summary: streaming can put files in the wrong location
                 Key: CASSANDRA-4788
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4788
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: 1.2.0 beta 1
            Reporter: Brandon Williams
             Fix For: 1.2.0 beta 2


Some, but not all streaming incorrectly puts files in the top level data directory.  Easiest way to repro that I've seen is bootstrap where it happens 100% of the time, but other operations like move and repair seem to do the right thing.

--
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-4788) streaming can put files in the wrong location

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

Brandon Williams commented on CASSANDRA-4788:
---------------------------------------------

Can you explain why this only seemed to affect bootstrap?
                
> streaming can put files in the wrong location
> ---------------------------------------------
>
>                 Key: CASSANDRA-4788
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4788
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.0 beta 1
>            Reporter: Brandon Williams
>            Assignee: Yuki Morishita
>             Fix For: 1.2.0 beta 2
>
>         Attachments: 4788.txt
>
>
> Some, but not all streaming incorrectly puts files in the top level data directory.  Easiest way to repro that I've seen is bootstrap where it happens 100% of the time, but other operations like move and repair seem to do the right thing.

--
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-4788) streaming can put files in the wrong location

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

Yuki Morishita updated CASSANDRA-4788:
--------------------------------------

    Attachment: 4788.txt

You are right. Streaming writes file directly under the data directory.
Patch attached.
                
> streaming can put files in the wrong location
> ---------------------------------------------
>
>                 Key: CASSANDRA-4788
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4788
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.0 beta 1
>            Reporter: Brandon Williams
>            Assignee: Yuki Morishita
>             Fix For: 1.2.0 beta 2
>
>         Attachments: 4788.txt
>
>
> Some, but not all streaming incorrectly puts files in the top level data directory.  Easiest way to repro that I've seen is bootstrap where it happens 100% of the time, but other operations like move and repair seem to do the right thing.

--
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-4788) streaming can put files in the wrong location

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

Brandon Williams reassigned CASSANDRA-4788:
-------------------------------------------

    Assignee: Yuki Morishita
    
> streaming can put files in the wrong location
> ---------------------------------------------
>
>                 Key: CASSANDRA-4788
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4788
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.0 beta 1
>            Reporter: Brandon Williams
>            Assignee: Yuki Morishita
>             Fix For: 1.2.0 beta 2
>
>
> Some, but not all streaming incorrectly puts files in the top level data directory.  Easiest way to repro that I've seen is bootstrap where it happens 100% of the time, but other operations like move and repair seem to do the right thing.

--
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-4788) streaming can put files in the wrong location

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

Brandon Williams updated CASSANDRA-4788:
----------------------------------------

    Affects Version/s:     (was: 1.2.0 beta 1)
                       1.1.0
    
> streaming can put files in the wrong location
> ---------------------------------------------
>
>                 Key: CASSANDRA-4788
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4788
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Brandon Williams
>            Assignee: Yuki Morishita
>             Fix For: 1.2.0 beta 2
>
>         Attachments: 4788.txt
>
>
> Some, but not all streaming incorrectly puts files in the top level data directory.  Easiest way to repro that I've seen is bootstrap where it happens 100% of the time, but other operations like move and repair seem to do the right thing.

--
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-4788) streaming can put files in the wrong location

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

Jonathan Ellis commented on CASSANDRA-4788:
-------------------------------------------

What would have caused this that is 1.2-specific?  Superficially this sounds like it is related to CASSANDRA-2749.
                
> streaming can put files in the wrong location
> ---------------------------------------------
>
>                 Key: CASSANDRA-4788
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4788
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.0 beta 1
>            Reporter: Brandon Williams
>            Assignee: Yuki Morishita
>             Fix For: 1.2.0 beta 2
>
>         Attachments: 4788.txt
>
>
> Some, but not all streaming incorrectly puts files in the top level data directory.  Easiest way to repro that I've seen is bootstrap where it happens 100% of the time, but other operations like move and repair seem to do the right thing.

--
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-4788) streaming can put files in the wrong location

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

Brandon Williams updated CASSANDRA-4788:
----------------------------------------

    Affects Version/s:     (was: 1.1.0)
                       1.2.0 beta 1
    
> streaming can put files in the wrong location
> ---------------------------------------------
>
>                 Key: CASSANDRA-4788
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4788
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.0 beta 1
>            Reporter: Brandon Williams
>            Assignee: Yuki Morishita
>             Fix For: 1.2.0 beta 2
>
>         Attachments: 4788.txt
>
>
> Some, but not all streaming incorrectly puts files in the top level data directory.  Easiest way to repro that I've seen is bootstrap where it happens 100% of the time, but other operations like move and repair seem to do the right thing.

--
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-4788) streaming can put files in the wrong location

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

Brandon Williams commented on CASSANDRA-4788:
---------------------------------------------

Thanks. +1
                
> streaming can put files in the wrong location
> ---------------------------------------------
>
>                 Key: CASSANDRA-4788
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4788
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.0 beta 1
>            Reporter: Brandon Williams
>            Assignee: Yuki Morishita
>             Fix For: 1.2.0 beta 2
>
>         Attachments: 4788.txt
>
>
> Some, but not all streaming incorrectly puts files in the top level data directory.  Easiest way to repro that I've seen is bootstrap where it happens 100% of the time, but other operations like move and repair seem to do the right thing.

--
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-4788) streaming can put files in the wrong location

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

Yuki Morishita commented on CASSANDRA-4788:
-------------------------------------------

Actually, it does regardless of streaming type. I observed it with sstableloader.
SSTables are put in right place when they get compacted, so maybe that's why you only see when bootstrapping.
                
> streaming can put files in the wrong location
> ---------------------------------------------
>
>                 Key: CASSANDRA-4788
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4788
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.0 beta 1
>            Reporter: Brandon Williams
>            Assignee: Yuki Morishita
>             Fix For: 1.2.0 beta 2
>
>         Attachments: 4788.txt
>
>
> Some, but not all streaming incorrectly puts files in the top level data directory.  Easiest way to repro that I've seen is bootstrap where it happens 100% of the time, but other operations like move and repair seem to do the right thing.

--
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-4788) streaming can put files in the wrong location

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

Yuki Morishita commented on CASSANDRA-4788:
-------------------------------------------

This came from CASSANDRA-4292, so it was only affected on 1.2.
                
> streaming can put files in the wrong location
> ---------------------------------------------
>
>                 Key: CASSANDRA-4788
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4788
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.0 beta 1
>            Reporter: Brandon Williams
>            Assignee: Yuki Morishita
>             Fix For: 1.2.0 beta 2
>
>         Attachments: 4788.txt
>
>
> Some, but not all streaming incorrectly puts files in the top level data directory.  Easiest way to repro that I've seen is bootstrap where it happens 100% of the time, but other operations like move and repair seem to do the right thing.

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