You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Sami Siren (JIRA)" <ji...@apache.org> on 2007/01/21 09:42:29 UTC

[jira] Created: (HADOOP-914) Replace use of UTF8 in ObjectWritable

Replace use of UTF8 in ObjectWritable
-------------------------------------

                 Key: HADOOP-914
                 URL: https://issues.apache.org/jira/browse/HADOOP-914
             Project: Hadoop
          Issue Type: Improvement
            Reporter: Sami Siren


- Replace use of UTF8 with Text
- Make format a little less verbose, before ObjectWritable containing Text "text" would be stored like:
  <UTF8:org.apache.hadoop.io.Text><UTF8:org.apache.hadoop.io.Text><Text:text>
  now it is stored as
  <Text:org.apache.hadoop.io.Text><Text:text>
-As changes are incompatible they are introduced in a new class 'WrappingWritable', ObjectWritable is deprecated
-Add junit test

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

        

[jira] Updated: (HADOOP-914) Replace use of UTF8 in ObjectWritable

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

Sami Siren updated HADOOP-914:
------------------------------

    Affects Version/s: 0.10.1
               Status: Patch Available  (was: Open)

> Replace use of UTF8 in ObjectWritable
> -------------------------------------
>
>                 Key: HADOOP-914
>                 URL: https://issues.apache.org/jira/browse/HADOOP-914
>             Project: Hadoop
>          Issue Type: Improvement
>    Affects Versions: 0.10.1
>            Reporter: Sami Siren
>         Attachments: HADOOP-914.patch
>
>
> - Replace use of UTF8 with Text
> - Make format a little less verbose, before ObjectWritable containing Text "text" would be stored like:
>   <UTF8:org.apache.hadoop.io.Text><UTF8:org.apache.hadoop.io.Text><Text:text>
>   now it is stored as
>   <Text:org.apache.hadoop.io.Text><Text:text>
> -As changes are incompatible they are introduced in a new class 'WrappingWritable', ObjectWritable is deprecated
> -Add junit test

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

        

[jira] Commented: (HADOOP-914) Replace use of UTF8 in ObjectWritable

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466657 ] 

Hadoop QA commented on HADOOP-914:
----------------------------------

-1, because 2 attempts failed to build and test the latest attachment (http://issues.apache.org/jira/secure/attachment/12349328/HADOOP-914.patch</a>) against trunk revision r497927. Please note that this message is automatically generated and may represent a problem with the automation system and not the patch. </div>) against trunk revision 1. Please note that this message is automatically generated and may represent a problem with the automation system and not the patch.

> Replace use of UTF8 in ObjectWritable
> -------------------------------------
>
>                 Key: HADOOP-914
>                 URL: https://issues.apache.org/jira/browse/HADOOP-914
>             Project: Hadoop
>          Issue Type: Improvement
>    Affects Versions: 0.10.1
>            Reporter: Sami Siren
>         Attachments: HADOOP-914.patch
>
>
> - Replace use of UTF8 with Text
> - Make format a little less verbose, before ObjectWritable containing Text "text" would be stored like:
>   <UTF8:org.apache.hadoop.io.Text><UTF8:org.apache.hadoop.io.Text><Text:text>
>   now it is stored as
>   <Text:org.apache.hadoop.io.Text><Text:text>
> -As changes are incompatible they are introduced in a new class 'WrappingWritable', ObjectWritable is deprecated
> -Add junit test

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


[jira] Commented: (HADOOP-914) Replace use of UTF8 in ObjectWritable

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466335 ] 

Hadoop QA commented on HADOOP-914:
----------------------------------

-1, because the javadoc command appears to have generated warning messages when testing the latest attachment (http://issues.apache.org/jira/secure/attachment/12349328/HADOOP-914.patch) against trunk revision r497927. Please note that this message is automatically generated and may represent a problem with the automation system and not the patch.

> Replace use of UTF8 in ObjectWritable
> -------------------------------------
>
>                 Key: HADOOP-914
>                 URL: https://issues.apache.org/jira/browse/HADOOP-914
>             Project: Hadoop
>          Issue Type: Improvement
>    Affects Versions: 0.10.1
>            Reporter: Sami Siren
>         Attachments: HADOOP-914.patch
>
>
> - Replace use of UTF8 with Text
> - Make format a little less verbose, before ObjectWritable containing Text "text" would be stored like:
>   <UTF8:org.apache.hadoop.io.Text><UTF8:org.apache.hadoop.io.Text><Text:text>
>   now it is stored as
>   <Text:org.apache.hadoop.io.Text><Text:text>
> -As changes are incompatible they are introduced in a new class 'WrappingWritable', ObjectWritable is deprecated
> -Add junit test

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

        

[jira] Updated: (HADOOP-914) Replace use of UTF8 in ObjectWritable

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

Sami Siren updated HADOOP-914:
------------------------------

    Attachment: HADOOP-914.patch

> Replace use of UTF8 in ObjectWritable
> -------------------------------------
>
>                 Key: HADOOP-914
>                 URL: https://issues.apache.org/jira/browse/HADOOP-914
>             Project: Hadoop
>          Issue Type: Improvement
>    Affects Versions: 0.10.1
>            Reporter: Sami Siren
>         Attachments: HADOOP-914.patch
>
>
> - Replace use of UTF8 with Text
> - Make format a little less verbose, before ObjectWritable containing Text "text" would be stored like:
>   <UTF8:org.apache.hadoop.io.Text><UTF8:org.apache.hadoop.io.Text><Text:text>
>   now it is stored as
>   <Text:org.apache.hadoop.io.Text><Text:text>
> -As changes are incompatible they are introduced in a new class 'WrappingWritable', ObjectWritable is deprecated
> -Add junit test

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

        

[jira] Resolved: (HADOOP-914) Replace use of UTF8 in ObjectWritable

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

Doug Cutting resolved HADOOP-914.
---------------------------------

    Resolution: Won't Fix

> Replace use of UTF8 in ObjectWritable
> -------------------------------------
>
>                 Key: HADOOP-914
>                 URL: https://issues.apache.org/jira/browse/HADOOP-914
>             Project: Hadoop
>          Issue Type: Improvement
>    Affects Versions: 0.10.1
>            Reporter: Sami Siren
>         Attachments: HADOOP-914.patch
>
>
> - Replace use of UTF8 with Text
> - Make format a little less verbose, before ObjectWritable containing Text "text" would be stored like:
>   <UTF8:org.apache.hadoop.io.Text><UTF8:org.apache.hadoop.io.Text><Text:text>
>   now it is stored as
>   <Text:org.apache.hadoop.io.Text><Text:text>
> -As changes are incompatible they are introduced in a new class 'WrappingWritable', ObjectWritable is deprecated
> -Add junit test

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


[jira] Commented: (HADOOP-914) Replace use of UTF8 in ObjectWritable

Posted by "Andrzej Bialecki (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466324 ] 

Andrzej Bialecki  commented on HADOOP-914:
------------------------------------------

The patch looks quite nice, and it would be definitely useful to have this functionality in some situations. However, somehow I don't think we need as many as three similar implementations of this type of containers ... We have ObjectWritable, GenericWritable and WrappingWritable - it's mightily confusing which one should be used in user applications ...

I'm not sure if we shouldn't first try to find a minimum common set of functionality to be implemented in a single base wrapper class, and then extend it for different uses - I think that if we commit this patch there will be a mess ...

> Replace use of UTF8 in ObjectWritable
> -------------------------------------
>
>                 Key: HADOOP-914
>                 URL: https://issues.apache.org/jira/browse/HADOOP-914
>             Project: Hadoop
>          Issue Type: Improvement
>    Affects Versions: 0.10.1
>            Reporter: Sami Siren
>         Attachments: HADOOP-914.patch
>
>
> - Replace use of UTF8 with Text
> - Make format a little less verbose, before ObjectWritable containing Text "text" would be stored like:
>   <UTF8:org.apache.hadoop.io.Text><UTF8:org.apache.hadoop.io.Text><Text:text>
>   now it is stored as
>   <Text:org.apache.hadoop.io.Text><Text:text>
> -As changes are incompatible they are introduced in a new class 'WrappingWritable', ObjectWritable is deprecated
> -Add junit test

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

        

[jira] Commented: (HADOOP-914) Replace use of UTF8 in ObjectWritable

Posted by "Sami Siren (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466325 ] 

Sami Siren commented on HADOOP-914:
-----------------------------------

WrappingWritable deprecates ObjectWritable so I cannot see why it would generate more confusion.

I actually didn't realize there was GenericWritable :). Anyway the motivation for me was nutchs usage of ObjectWritable. But for that case it propably would make more sence to use GenericWritable of better yet write yet one more specialization (into nutch) that can handle it's special case even more effectively than GenericWritable.

> Replace use of UTF8 in ObjectWritable
> -------------------------------------
>
>                 Key: HADOOP-914
>                 URL: https://issues.apache.org/jira/browse/HADOOP-914
>             Project: Hadoop
>          Issue Type: Improvement
>    Affects Versions: 0.10.1
>            Reporter: Sami Siren
>         Attachments: HADOOP-914.patch
>
>
> - Replace use of UTF8 with Text
> - Make format a little less verbose, before ObjectWritable containing Text "text" would be stored like:
>   <UTF8:org.apache.hadoop.io.Text><UTF8:org.apache.hadoop.io.Text><Text:text>
>   now it is stored as
>   <Text:org.apache.hadoop.io.Text><Text:text>
> -As changes are incompatible they are introduced in a new class 'WrappingWritable', ObjectWritable is deprecated
> -Add junit test

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

        

[jira] Updated: (HADOOP-914) Replace use of UTF8 in ObjectWritable

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

Doug Cutting updated HADOOP-914:
--------------------------------

    Status: Open  (was: Patch Available)

Should I resolve this as "Won't Fix", since you plan to use GenericWritable?

> Replace use of UTF8 in ObjectWritable
> -------------------------------------
>
>                 Key: HADOOP-914
>                 URL: https://issues.apache.org/jira/browse/HADOOP-914
>             Project: Hadoop
>          Issue Type: Improvement
>    Affects Versions: 0.10.1
>            Reporter: Sami Siren
>         Attachments: HADOOP-914.patch
>
>
> - Replace use of UTF8 with Text
> - Make format a little less verbose, before ObjectWritable containing Text "text" would be stored like:
>   <UTF8:org.apache.hadoop.io.Text><UTF8:org.apache.hadoop.io.Text><Text:text>
>   now it is stored as
>   <Text:org.apache.hadoop.io.Text><Text:text>
> -As changes are incompatible they are introduced in a new class 'WrappingWritable', ObjectWritable is deprecated
> -Add junit test

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


[jira] Commented: (HADOOP-914) Replace use of UTF8 in ObjectWritable

Posted by "Sami Siren (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466807 ] 

Sami Siren commented on HADOOP-914:
-----------------------------------

yes, go ahead, we'll use GenericWritable

> Replace use of UTF8 in ObjectWritable
> -------------------------------------
>
>                 Key: HADOOP-914
>                 URL: https://issues.apache.org/jira/browse/HADOOP-914
>             Project: Hadoop
>          Issue Type: Improvement
>    Affects Versions: 0.10.1
>            Reporter: Sami Siren
>         Attachments: HADOOP-914.patch
>
>
> - Replace use of UTF8 with Text
> - Make format a little less verbose, before ObjectWritable containing Text "text" would be stored like:
>   <UTF8:org.apache.hadoop.io.Text><UTF8:org.apache.hadoop.io.Text><Text:text>
>   now it is stored as
>   <Text:org.apache.hadoop.io.Text><Text:text>
> -As changes are incompatible they are introduced in a new class 'WrappingWritable', ObjectWritable is deprecated
> -Add junit test

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