You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Edward J. Yoon (JIRA)" <ji...@apache.org> on 2009/01/02 09:47:44 UTC

[jira] Created: (HAMA-141) Bug of scanner range in block multiplication

Bug of scanner range in block multiplication
--------------------------------------------

                 Key: HAMA-141
                 URL: https://issues.apache.org/jira/browse/HAMA-141
             Project: Hama
          Issue Type: Bug
          Components: implementation
    Affects Versions: 0.1.0
            Reporter: Edward J. Yoon
            Assignee: Edward J. Yoon
            Priority: Critical
             Fix For: 0.1.0


endKey should be :

      BlockID endBlock = new BlockID(key.getColumn() + 1, 0);

and, end of range should be:

      scan = table.getScanner(new byte[][] { Bytes
          .toBytes(Constants.BLOCK) }, startBlock.getBytes());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HAMA-141) Bug of scanner range in block multiplication

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HAMA-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward J. Yoon updated HAMA-141:
--------------------------------

    Attachment: HAMA-141.patch

Here's the patch. Local test passed.

> Bug of scanner range in block multiplication
> --------------------------------------------
>
>                 Key: HAMA-141
>                 URL: https://issues.apache.org/jira/browse/HAMA-141
>             Project: Hama
>          Issue Type: Bug
>          Components: implementation
>    Affects Versions: 0.1.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>            Priority: Critical
>             Fix For: 0.1.0
>
>         Attachments: HAMA-141.patch
>
>
> endKey should be :
>       BlockID endBlock = new BlockID(key.getColumn() + 1, 0);
> and, end of range should be:
>       scan = table.getScanner(new byte[][] { Bytes
>           .toBytes(Constants.BLOCK) }, startBlock.getBytes());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HAMA-141) Bug of scanner range in block multiplication

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HAMA-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward J. Yoon updated HAMA-141:
--------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this.

> Bug of scanner range in block multiplication
> --------------------------------------------
>
>                 Key: HAMA-141
>                 URL: https://issues.apache.org/jira/browse/HAMA-141
>             Project: Hama
>          Issue Type: Bug
>          Components: implementation
>    Affects Versions: 0.1.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>            Priority: Critical
>             Fix For: 0.1.0
>
>         Attachments: HAMA-141.patch
>
>
> endKey should be :
>       BlockID endBlock = new BlockID(key.getColumn() + 1, 0);
> and, end of range should be:
>       scan = table.getScanner(new byte[][] { Bytes
>           .toBytes(Constants.BLOCK) }, startBlock.getBytes());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HAMA-141) Bug of scanner range in block multiplication

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12660277#action_12660277 ] 

Edward J. Yoon commented on HAMA-141:
-------------------------------------

this bug appears when the number of blocks over 100.

> Bug of scanner range in block multiplication
> --------------------------------------------
>
>                 Key: HAMA-141
>                 URL: https://issues.apache.org/jira/browse/HAMA-141
>             Project: Hama
>          Issue Type: Bug
>          Components: implementation
>    Affects Versions: 0.1.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>            Priority: Critical
>             Fix For: 0.1.0
>
>
> endKey should be :
>       BlockID endBlock = new BlockID(key.getColumn() + 1, 0);
> and, end of range should be:
>       scan = table.getScanner(new byte[][] { Bytes
>           .toBytes(Constants.BLOCK) }, startBlock.getBytes());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HAMA-141) Bug of scanner range in block multiplication

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HAMA-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward J. Yoon updated HAMA-141:
--------------------------------

    Status: Patch Available  (was: Open)

Submit patch

> Bug of scanner range in block multiplication
> --------------------------------------------
>
>                 Key: HAMA-141
>                 URL: https://issues.apache.org/jira/browse/HAMA-141
>             Project: Hama
>          Issue Type: Bug
>          Components: implementation
>    Affects Versions: 0.1.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>            Priority: Critical
>             Fix For: 0.1.0
>
>         Attachments: HAMA-141.patch
>
>
> endKey should be :
>       BlockID endBlock = new BlockID(key.getColumn() + 1, 0);
> and, end of range should be:
>       scan = table.getScanner(new byte[][] { Bytes
>           .toBytes(Constants.BLOCK) }, startBlock.getBytes());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.