hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Clampffer (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-10634) libhdfs++: Improve parsing of config file entries
Date Fri, 15 Jul 2016 14:54:21 GMT
James Clampffer created HDFS-10634:
--------------------------------------

             Summary: 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
            Reporter: James Clampffer
            Assignee: James Clampffer


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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org


Mime
View raw message