Gets the information of the given Read-Only HDFS virtual file driver

Procedure:

H5P_GET_FAPL_HDFS (fapl_id, fa)

Signature:

<pre><code class="language-c">herr_t H5Pget_fapl_hdfs(hid_t fapl_id, H5FD_hdfs_fapl_t *fa)
  </code></pre>

<pre><code class="language-fortran">
    </code></pre>

Parameters:
hid_t fapl_idIN: File access property list identifier
H5FD_hdfs_fapl_t *faOUT: H5FD_hdfs_fapl_t structure destination

Description:

H5P_GET_FAPL_HDFS copies information from the file access property list specified by fapl_id to the H5FD_hdfs_fapl_t structure pointed to by fa.

Returns:

Non-negative value if successful. Otherwise returns negative value.

Example:

 /* assuming fapl_id is a valid ID */
    H5FD_hdfs_fapl_t fa;
    assert( 0 >= H5Pget_fapl_hdfs(fapl_id, *fa) );
    assert( 8020 == fa.namenode_port );

 

History:
Release    Change
1.10.6C function introduced in this release.