You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "James Clampffer (JIRA)" <ji...@apache.org> on 2016/05/16 17:59:12 UTC

[jira] [Created] (HDFS-10411) libhdfs++: Incorrect parse of URIs from hdfs-site.xml

James Clampffer created HDFS-10411:
--------------------------------------

             Summary: libhdfs++:  Incorrect parse of URIs from hdfs-site.xml
                 Key: HDFS-10411
                 URL: https://issues.apache.org/jira/browse/HDFS-10411
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: James Clampffer


It looks like the URI class confuses the host and scheme if the original URI didn't have a scheme.

Example from hdfs-site.xml.  Config generated using the cloudera MC.
{code}
    <name>dfs.namenode.servicerpc-address.nameservice1.namenode86</name>
    <value>this-is-node-01.duder.com:8022</value>
{code}

host = empty string
port = unset optional
scheme = this-is-node-01.duder.com





--
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