[ 
https://issues.apache.org/jira/browse/HDFS-10634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Clampffer updated HDFS-10634:
-----------------------------------
    Parent Issue: HDFS-14032  (was: HDFS-8707)

> libhdfs++: Improve parsing of config file entries
> -------------------------------------------------
>
>                 Key: HDFS-10634
>                 URL: https://issues.apache.org/jira/browse/HDFS-10634
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>            Reporter: James Clampffer
>            Assignee: James Clampffer
>            Priority: Major
>
> Config files just specify an authority rather than a real URI for namenodes, 
> but we've been using the URI class to parse them.  This is kind of hacky 
> because a scheme needs to be prepended (and then ignored) for the library to 
> work.
> The URI parsing library generates errors in valgrind when it doesn't get a 
> scheme which could be concerning (conditional jump on undefined).  At the 
> moment it's unclear if this is a real issue or it's just using vectorized 
> string operations that read whole words but the string ends in the middle of 
> a machine word.
> This is also a good place to refactor the split function in uri.h to be 
> general purpose, right now it has a special rule to disregard leading '/' 
> chars.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to