[ 
https://issues.apache.org/jira/browse/HADOOP-5333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680312#action_12680312
 ] 

Chris Douglas commented on HADOOP-5333:
---------------------------------------

bq. But since libhdfs is a library and there are no "main" methods, can you 
suggest which "initialization" method might create the JVM?

I can't. I don't know enough about libhdfs, nor do I know any clever ways to 
trap init generally.

bq. I can create a different lock solely for this initialization

That seems reasonable. If there were other globals to be initialized, adding 
the missing hdfs_init (or whatever) might make sense, but a separate lock is 
probably sufficient.

> The libhdfs append API is not coded correctly
> ---------------------------------------------
>
>                 Key: HADOOP-5333
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5333
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: libhdfs
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>             Fix For: 0.19.2, 0.20.0, 0.21.0
>
>         Attachments: libhdfsAppend.patch, libhdfsAppend.patch
>
>
> The hdfsOpenFile() API does not handle the APPEND bit correctly.

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

Reply via email to