hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Hansen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9737) libhdfs++: Create examples of consuming libhdfs++
Date Wed, 03 Feb 2016 20:54:39 GMT

    [ https://issues.apache.org/jira/browse/HDFS-9737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15131105#comment-15131105

Bob Hansen commented on HDFS-9737:

All of the output files can be brought together by calling "make InstallToOutputDirectory"
(or your favorite "make install ..." invocation).

The examples will be built as part of the regular project make, or can be copied, built, and
played with by our consumers.

If libhdfspp has been installed on the local machine, we can now run:
{{cmake <path_to_src>/examples/cat/c && make}}

If libhdfspp has been installed to a specific directory, we can now run:
{{cmake -DLIBHDFSPP_DIR=<path to libhdfspp install> <path_to_src>examples/cat/c
&& make}}

> libhdfs++: Create examples of consuming libhdfs++
> -------------------------------------------------
>                 Key: HDFS-9737
>                 URL: https://issues.apache.org/jira/browse/HDFS-9737
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>            Reporter: Bob Hansen
>         Attachments: HDFS-9737.HDFS-8707.000.patch, HDFS-9737.HDFS-8707.001.patch
> We should have some small, useful examples of using libhdfs++.  I took the cat utility
from HDFS-9272 and repackaged it as a stand-alone example that can be compiled and run independently
of the rest of the libhdfs++ project.
> It needs a little bit of work in using the current Options objects, but it shows how
to compile and link to libhdfs++.

This message was sent by Atlassian JIRA

View raw message