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 2008/12/16 18:46:44 UTC

[jira] Created: (HAMA-138) left pad with zeroes to integer key

left pad with zeroes to integer key
-----------------------------------

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


I would use integer key and extract data from range scans. But, hbase row/column is alphabetically sorted.


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


Re: [jira] Updated: (HAMA-138) left pad with zeroes to integer key

Posted by "Edward J. Yoon" <ed...@apache.org>.
I tested, blockmapred speed was improved.

On Wed, Dec 17, 2008 at 3:20 PM, Edward J. Yoon (JIRA) <ji...@apache.org> wrote:
>
>     [ https://issues.apache.org/jira/browse/HAMA-138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Edward J. Yoon updated HAMA-138:
> --------------------------------
>
>    Resolution: Fixed
>        Status: Resolved  (was: Patch Available)
>
> fixed SBSC_USE_STRINGBUFFER_CONCATENATION findbugs.
> I just commited this.
>
>> left pad with zeroes to integer key
>> -----------------------------------
>>
>>                 Key: HAMA-138
>>                 URL: https://issues.apache.org/jira/browse/HAMA-138
>>             Project: Hama
>>          Issue Type: Improvement
>>          Components: implementation
>>    Affects Versions: 0.1.0
>>            Reporter: Edward J. Yoon
>>            Assignee: Edward J. Yoon
>>             Fix For: 0.1.0
>>
>>         Attachments: HAMA-138.patch
>>
>>
>> I would use integer key and extract data from range scans. But, hbase row/column is alphabetically sorted.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>



-- 
Best Regards, Edward J. Yoon @ NHN, corp.
edwardyoon@apache.org
http://blog.udanax.org

[jira] Updated: (HAMA-138) left pad with zeroes to integer key

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

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

    Attachment: HAMA-138.patch

intToBytes() seem generalized util. so i made a getRowIndex().

> left pad with zeroes to integer key
> -----------------------------------
>
>                 Key: HAMA-138
>                 URL: https://issues.apache.org/jira/browse/HAMA-138
>             Project: Hama
>          Issue Type: Improvement
>          Components: implementation
>    Affects Versions: 0.1.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.1.0
>
>         Attachments: HAMA-138.patch
>
>
> I would use integer key and extract data from range scans. But, hbase row/column is alphabetically sorted.

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


[jira] Commented: (HAMA-138) left pad with zeroes to integer key

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

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

I guess it only need a simple calculator and BytesUtil.bytesToInt() changes.

> left pad with zeroes to integer key
> -----------------------------------
>
>                 Key: HAMA-138
>                 URL: https://issues.apache.org/jira/browse/HAMA-138
>             Project: Hama
>          Issue Type: Improvement
>          Components: implementation
>    Affects Versions: 0.1.0
>            Reporter: Edward J. Yoon
>             Fix For: 0.1.0
>
>
> I would use integer key and extract data from range scans. But, hbase row/column is alphabetically sorted.

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


[jira] Commented: (HAMA-138) left pad with zeroes to integer key

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12657294#action_12657294 ] 

Hudson commented on HAMA-138:
-----------------------------

-1 overall.  Here are the results of testing the latest attachment 
http://issues.apache.org/jira/secure/attachment/12396267/HAMA-138.patch
against trunk revision 727245.

    @author +1.  The patch does not contain any @author tags.

    tests included +1.  The patch appears to include 3 new or modified tests.

    javadoc +1.  The javadoc tool did not generate any warning messages.

    javac +1.  The applied patch does not generate any new javac compiler warnings.

    release audit +1.  The applied patch does not generate any new release audit warnings.

    findbugs -1.  The patch appears to introduce 1 new Findbugs warnings.

    core tests +1.  The patch passed core unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hama-Patch/135/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hama-Patch/135/artifact/trunk/build/reports/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hama-Patch/135/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hama-Patch/135/console

This message is automatically generated.

> left pad with zeroes to integer key
> -----------------------------------
>
>                 Key: HAMA-138
>                 URL: https://issues.apache.org/jira/browse/HAMA-138
>             Project: Hama
>          Issue Type: Improvement
>          Components: implementation
>    Affects Versions: 0.1.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.1.0
>
>         Attachments: HAMA-138.patch
>
>
> I would use integer key and extract data from range scans. But, hbase row/column is alphabetically sorted.

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


[jira] Assigned: (HAMA-138) left pad with zeroes to integer key

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

Edward J. Yoon reassigned HAMA-138:
-----------------------------------

    Assignee: Edward J. Yoon

> left pad with zeroes to integer key
> -----------------------------------
>
>                 Key: HAMA-138
>                 URL: https://issues.apache.org/jira/browse/HAMA-138
>             Project: Hama
>          Issue Type: Improvement
>          Components: implementation
>    Affects Versions: 0.1.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.1.0
>
>
> I would use integer key and extract data from range scans. But, hbase row/column is alphabetically sorted.

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


[jira] Updated: (HAMA-138) left pad with zeroes to integer key

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

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

    Status: Patch Available  (was: Open)

Local test passed. 

scanner(0, 32) will returns [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31}
instead of [0, 1, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 2, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 3, 30, 31, 4, 5, 6, 7, 8, 9]

Submit to hudson.

> left pad with zeroes to integer key
> -----------------------------------
>
>                 Key: HAMA-138
>                 URL: https://issues.apache.org/jira/browse/HAMA-138
>             Project: Hama
>          Issue Type: Improvement
>          Components: implementation
>    Affects Versions: 0.1.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.1.0
>
>         Attachments: HAMA-138.patch
>
>
> I would use integer key and extract data from range scans. But, hbase row/column is alphabetically sorted.

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


[jira] Updated: (HAMA-138) left pad with zeroes to integer key

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

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

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

fixed SBSC_USE_STRINGBUFFER_CONCATENATION findbugs.
I just commited this.

> left pad with zeroes to integer key
> -----------------------------------
>
>                 Key: HAMA-138
>                 URL: https://issues.apache.org/jira/browse/HAMA-138
>             Project: Hama
>          Issue Type: Improvement
>          Components: implementation
>    Affects Versions: 0.1.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.1.0
>
>         Attachments: HAMA-138.patch
>
>
> I would use integer key and extract data from range scans. But, hbase row/column is alphabetically sorted.

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