[ https://issues.apache.org/jira/browse/HDFS-10524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15336809#comment-15336809 ]
Bob Hansen commented on HDFS-10524: ----------------------------------- Thanks, [~anatoli.shein]. We're getting pretty close. The implementations in hdfs_shim.c of hdfsConnect, hdfsConnectAsUserNewInstance, and hdfsConnectNewInstance are returning invalid pointers. For the shim methods, we should be returning a shim hdfsFs_internal pointer, and your implementations of those are returning a libhdfs++ hdfsFS pointer. hdfsFreeBuilder should free the bld passed-in pointer when it is finished. hdfsDisconnect should try to disconnect the libhdfspp instance even if the libhdfs instance failed to disconnect. It should only return 0 if both returned 0. > libhdfs++: Implement chmod and chown > ------------------------------------ > > Key: HDFS-10524 > URL: https://issues.apache.org/jira/browse/HDFS-10524 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: hdfs-client > Reporter: Anatoli Shein > Assignee: Anatoli Shein > Attachments: HDFS-10524.HDFS-8707.000.patch, > HDFS-10524.HDFS-8707.001.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org