[
https://issues.apache.org/jira/browse/HADOOP-10818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14069402#comment-14069402
]
Colin Patrick McCabe commented on HADOOP-10818:
-----------------------------------------------
bq. No need to check error code if not used
thanks
bq. No need to free user_name?
I got rid of {{user_name}}, since I can just the URI's {{user_info}}. So I
don't need to free {{user_name}}.
> native client: refactor URI code to be clearer
> ----------------------------------------------
>
> Key: HADOOP-10818
> URL: https://issues.apache.org/jira/browse/HADOOP-10818
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: native
> Affects Versions: HADOOP-10388
> Reporter: Colin Patrick McCabe
> Assignee: Colin Patrick McCabe
> Attachments: HADOOP-10818-pnative.001.patch,
> HADOOP-10818-pnative.002.patch
>
>
> Refactor the {{common/uri.c}} code to be a bit clearer. We should just be
> able to refer to user_info, auth, port, path, etc. fields in the structure,
> rather than calling accessors. {{hdfsBuilder}} should just have a connection
> URI rather than separate fields for all these things.
--
This message was sent by Atlassian JIRA
(v6.2#6252)