[jira] [Commented] (HDFS-924) Support reading and writing sequencefile in libhdfs

2014-12-10 Thread ABDELHALIM DADOUCHE (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14241329#comment-14241329
 ] 

ABDELHALIM DADOUCHE commented on HDFS-924:
--

Hi Ruyue Ma,

Is there any chance this become part of the libhdfs or that the libhdfs is 
modified to allow extension to be added on top of it.

I explain my use case here: 
 - my company product want to use the libhdfs to read/write hadoop files but we 
are not allowed to ship the libhdfs library.
 - with raw text file, this is perfect but processing sequence file is 
problematic as it require to modify the hdfs.c code and add new API

I didn't find a way to reuse the libhdfs and just add a new library that 
include my new API mainly because hdfsFile_internal struct is not in the header 
but in the hdfs.c, and this struct contains the file handle
So unless I redefine the struct in my own header (which may cause cause upward 
compatibility problem) to extend the libhdfs, I have no way to add new API and 
use the generated libhdfs static library.

Is there any chance the libhdfs could be made extensible in the future?

BTW, great work for the Windows port!!!

@bdel

> Support reading and writing sequencefile in libhdfs 
> 
>
> Key: HDFS-924
> URL: https://issues.apache.org/jira/browse/HDFS-924
> Project: Hadoop HDFS
>  Issue Type: New Feature
>Reporter: Ruyue Ma
>Assignee: Ruyue Ma
>Priority: Minor
>
> Some use case may need read and write sequencefile through libhdfs. 
> We should provide the reading and writing api for sequencefile in libhdfs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] Commented: (HDFS-924) Support reading and writing sequencefile in libhdfs

2010-01-26 Thread Ruyue Ma (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804979#action_12804979
 ] 

Ruyue Ma commented on HDFS-924:
---

we have implemented it by using jni. 

> Support reading and writing sequencefile in libhdfs 
> 
>
> Key: HDFS-924
> URL: https://issues.apache.org/jira/browse/HDFS-924
> Project: Hadoop HDFS
>  Issue Type: New Feature
>Reporter: Ruyue Ma
>Assignee: Ruyue Ma
>Priority: Minor
>
> Some use case may need read and write sequencefile through libhdfs. 
> We should provide the reading and writing api for sequencefile in libhdfs.

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