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 "Runping Qi (JIRA)" <ji...@apache.org> on 2006/11/03 00:25:16 UTC

[jira] Created: (HADOOP-674) Hadoop records should provide comvenient APIs for serialization/deserialization

Hadoop records should provide comvenient APIs for serialization/deserialization
-------------------------------------------------------------------------------

                 Key: HADOOP-674
                 URL: http://issues.apache.org/jira/browse/HADOOP-674
             Project: Hadoop
          Issue Type: Improvement
            Reporter: Runping Qi



I found the following APIs are very convenient to use and should be  part of the generated class from Jute IDL :

public BytesWritable serialize(String format);

public void deserialize(BytesWitable data, String format);

public static MyRecordJT deserialize(BytesWitable data, String format);



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

        

[jira] Commented: (HADOOP-674) Hadoop records should provide comvenient APIs for serialization/deserialization

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

Milind Bhandarkar commented on HADOOP-674:
------------------------------------------

One can easily use ByteArrayOutputStream to serialize and deserialize out of current generated code. Addition of above API's will unnecessarily increase complexity of generated code. Is there any strong reason to believe that the above API will be a common case for usage ? In light of HADOOP-941, this API will increase Hadoop Record I/O's dependence on Hadoop.

> Hadoop records should provide comvenient APIs for serialization/deserialization
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-674
>                 URL: https://issues.apache.org/jira/browse/HADOOP-674
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: record
>            Reporter: Runping Qi
>         Assigned To: Milind Bhandarkar
>
> I found the following APIs are very convenient to use and should be  part of the generated class from Jute IDL :
> public BytesWritable serialize(String format);
> public void deserialize(BytesWitable data, String format);
> public static MyRecordJT deserialize(BytesWitable data, String format);

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


[jira] Commented: (HADOOP-674) Hadoop records should provide comvenient APIs for serialization/deserialization

Posted by "Runping Qi (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-674?page=comments#action_12453768 ] 
            
Runping Qi commented on HADOOP-674:
-----------------------------------

Yes, argument format is the serialization format.


> Hadoop records should provide comvenient APIs for serialization/deserialization
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-674
>                 URL: http://issues.apache.org/jira/browse/HADOOP-674
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: record
>            Reporter: Runping Qi
>
> I found the following APIs are very convenient to use and should be  part of the generated class from Jute IDL :
> public BytesWritable serialize(String format);
> public void deserialize(BytesWitable data, String format);
> public static MyRecordJT deserialize(BytesWitable data, String format);

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

        

[jira] Work started: (HADOOP-674) Hadoop records should provide comvenient APIs for serialization/deserialization

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

Work on HADOOP-674 started by Milind Bhandarkar.

> Hadoop records should provide comvenient APIs for serialization/deserialization
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-674
>                 URL: https://issues.apache.org/jira/browse/HADOOP-674
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: record
>            Reporter: Runping Qi
>         Assigned To: Milind Bhandarkar
>
> I found the following APIs are very convenient to use and should be  part of the generated class from Jute IDL :
> public BytesWritable serialize(String format);
> public void deserialize(BytesWitable data, String format);
> public static MyRecordJT deserialize(BytesWitable data, String format);

-- 
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-674) Hadoop records should provide comvenient APIs for serialization/deserialization

Posted by "Sameer Paranjpye (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-674?page=all ]

Sameer Paranjpye updated HADOOP-674:
------------------------------------

    Component/s: io
    Description: 
I found the following APIs are very convenient to use and should be  part of the generated class from Jute IDL :

public BytesWritable serialize(String format);

public void deserialize(BytesWitable data, String format);

public static MyRecordJT deserialize(BytesWitable data, String format);



  was:

I found the following APIs are very convenient to use and should be  part of the generated class from Jute IDL :

public BytesWritable serialize(String format);

public void deserialize(BytesWitable data, String format);

public static MyRecordJT deserialize(BytesWitable data, String format);




> Hadoop records should provide comvenient APIs for serialization/deserialization
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-674
>                 URL: http://issues.apache.org/jira/browse/HADOOP-674
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: io
>            Reporter: Runping Qi
>
> I found the following APIs are very convenient to use and should be  part of the generated class from Jute IDL :
> public BytesWritable serialize(String format);
> public void deserialize(BytesWitable data, String format);
> public static MyRecordJT deserialize(BytesWitable data, String format);

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

        

[jira] Commented: (HADOOP-674) Hadoop records should provide comvenient APIs for serialization/deserialization

Posted by "Milind Bhandarkar (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-674?page=comments#action_12454097 ] 
            
Milind Bhandarkar commented on HADOOP-674:
------------------------------------------

Yes, the first two methods should definitely be part of the Record interface.

> Hadoop records should provide comvenient APIs for serialization/deserialization
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-674
>                 URL: http://issues.apache.org/jira/browse/HADOOP-674
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: record
>            Reporter: Runping Qi
>
> I found the following APIs are very convenient to use and should be  part of the generated class from Jute IDL :
> public BytesWritable serialize(String format);
> public void deserialize(BytesWitable data, String format);
> public static MyRecordJT deserialize(BytesWitable data, String format);

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

        

[jira] Commented: (HADOOP-674) Hadoop records should provide comvenient APIs for serialization/deserialization

Posted by "Milind Bhandarkar (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-674?page=comments#action_12453765 ] 
            
Milind Bhandarkar commented on HADOOP-674:
------------------------------------------

What does the argument format indicate ? serialization format like "xml", "csv", "binary" ?

> Hadoop records should provide comvenient APIs for serialization/deserialization
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-674
>                 URL: http://issues.apache.org/jira/browse/HADOOP-674
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: record
>            Reporter: Runping Qi
>
> I found the following APIs are very convenient to use and should be  part of the generated class from Jute IDL :
> public BytesWritable serialize(String format);
> public void deserialize(BytesWitable data, String format);
> public static MyRecordJT deserialize(BytesWitable data, String format);

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

        

[jira] Work stopped: (HADOOP-674) Hadoop records should provide comvenient APIs for serialization/deserialization

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

Work on HADOOP-674 stopped by Milind Bhandarkar.

> Hadoop records should provide comvenient APIs for serialization/deserialization
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-674
>                 URL: https://issues.apache.org/jira/browse/HADOOP-674
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: record
>            Reporter: Runping Qi
>         Assigned To: Milind Bhandarkar
>
> I found the following APIs are very convenient to use and should be  part of the generated class from Jute IDL :
> public BytesWritable serialize(String format);
> public void deserialize(BytesWitable data, String format);
> public static MyRecordJT deserialize(BytesWitable data, String format);

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


[jira] Updated: (HADOOP-674) Hadoop records should provide comvenient APIs for serialization/deserialization

Posted by "Sameer Paranjpye (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-674?page=all ]

Sameer Paranjpye updated HADOOP-674:
------------------------------------

    Component/s: record
                     (was: io)

> Hadoop records should provide comvenient APIs for serialization/deserialization
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-674
>                 URL: http://issues.apache.org/jira/browse/HADOOP-674
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: record
>            Reporter: Runping Qi
>
> I found the following APIs are very convenient to use and should be  part of the generated class from Jute IDL :
> public BytesWritable serialize(String format);
> public void deserialize(BytesWitable data, String format);
> public static MyRecordJT deserialize(BytesWitable data, String format);

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

        

[jira] Assigned: (HADOOP-674) Hadoop records should provide comvenient APIs for serialization/deserialization

Posted by "Milind Bhandarkar (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-674?page=all ]

Milind Bhandarkar reassigned HADOOP-674:
----------------------------------------

    Assignee: Milind Bhandarkar

> Hadoop records should provide comvenient APIs for serialization/deserialization
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-674
>                 URL: http://issues.apache.org/jira/browse/HADOOP-674
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: record
>            Reporter: Runping Qi
>         Assigned To: Milind Bhandarkar
>
> I found the following APIs are very convenient to use and should be  part of the generated class from Jute IDL :
> public BytesWritable serialize(String format);
> public void deserialize(BytesWitable data, String format);
> public static MyRecordJT deserialize(BytesWitable data, String format);

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

        

[jira] Resolved: (HADOOP-674) Hadoop records should provide comvenient APIs for serialization/deserialization

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

Milind Bhandarkar resolved HADOOP-674.
--------------------------------------

    Resolution: Won't Fix
      Assignee:     (was: Milind Bhandarkar)

ByteArrayInputStream can be used to serialize to and deserialize from a byte[].

> Hadoop records should provide comvenient APIs for serialization/deserialization
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-674
>                 URL: https://issues.apache.org/jira/browse/HADOOP-674
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: record
>            Reporter: Runping Qi
>
> I found the following APIs are very convenient to use and should be  part of the generated class from Jute IDL :
> public BytesWritable serialize(String format);
> public void deserialize(BytesWitable data, String format);
> public static MyRecordJT deserialize(BytesWitable data, String format);

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


[jira] Commented: (HADOOP-674) Hadoop records should provide comvenient APIs for serialization/deserialization

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-674?page=comments#action_12454068 ] 
            
Doug Cutting commented on HADOOP-674:
-------------------------------------

Should this be an interface that's implemented by the generated code?

> Hadoop records should provide comvenient APIs for serialization/deserialization
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-674
>                 URL: http://issues.apache.org/jira/browse/HADOOP-674
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: record
>            Reporter: Runping Qi
>
> I found the following APIs are very convenient to use and should be  part of the generated class from Jute IDL :
> public BytesWritable serialize(String format);
> public void deserialize(BytesWitable data, String format);
> public static MyRecordJT deserialize(BytesWitable data, String format);

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