Pierre de Freminville created HAWQ-1173:
-------------------------------------------

             Summary: hdfsConnect in libhdfs3 is not consistent with 
hdfsConnect in native libhdfs (JNI) when port is 0
                 Key: HAWQ-1173
                 URL: https://issues.apache.org/jira/browse/HAWQ-1173
             Project: Apache HAWQ
          Issue Type: Improvement
          Components: libhdfs
            Reporter: Pierre de Freminville
            Assignee: Lei Chang


Hello,

I noticed that the following is not possible with libhdfs3
{code}hdfsFS fs = hdfsConnect("default", 0);{code}
because of asserts such as:
{code}PARAMETER_ASSERT(port > 0, NULL, EINVAL);{code}

I could be nice to allow that to be consistent with what is done in the native 
libhdfs (JNI).
The file of interest in the native library is:
* hadoop-hdfs-native-client/src/main/native/libhdfs/hdfs.c




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to