hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Clampffer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-10634) libhdfs++: Improve parsing of config file entries
Date Fri, 26 Oct 2018 13:11:00 GMT

     [ 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message