Skip to content

Commit

Permalink
Merge pull request #6 from uccross/fix-example
Browse files Browse the repository at this point in the history
Fix example
  • Loading branch information
JayjeetAtGithub committed Jan 31, 2023
2 parents a7419fb + e091f1a commit e73926b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ where mon1, mon2, osd1, etc. are the internal hostnames of the nodes. Similarly
3. Build and install Arrow along with the SkyhookDM object class plugins.

```bash
./deploy_skyhook.sh osd1,osd2,osd3
./deploy_skyhook_upstream.sh osd1,osd2,osd3
```
This will build the plugins as shared libraries and deploy them to the OSD nodes. On CloudLab, you can do,

```bash
./deploy_skyhook.sh node4,node5,node6,node7
./deploy_skyhook_upstream.sh node4,node5,node6,node7
```

4. Download an example Parquet file with NYC Taxi data.
Expand All @@ -48,7 +48,7 @@ This will write 10 of ~128MB Parquet files to `/mnt/cephfs/dataset` using a Ceph

6. Build and run the example client code.
```bash
g++ ../example.cc -larrow_skyhook_client -larrow_dataset -larrow -o example
g++ -std=c++17 ../example.cc -larrow_skyhook -larrow_dataset -larrow -o example
export LD_LIBRARY_PATH=/usr/local/lib
./example file:///mnt/cephfs/dataset
```
Expand Down
1 change: 1 addition & 0 deletions scripts/example.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "arrow/dataset/dataset.h"
#include "arrow/dataset/file_base.h"
#include "arrow/filesystem/api.h"
#include "arrow/api.h"
#include "arrow/io/api.h"
#include "arrow/util/checked_cast.h"
#include "arrow/util/iterator.h"
Expand Down

0 comments on commit e73926b

Please sign in to comment.