File tree Expand file tree Collapse file tree 24 files changed +99
-60
lines changed
com.ibm.streamsx.hbase.sample Expand file tree Collapse file tree 24 files changed +99
-60
lines changed Original file line number Diff line number Diff line change 9
9
# Fill in STREAMS_HBASE_TOOLKIT location here.
10
10
STREAMS_HBASE_TOOLKIT ?= ../../com.ibm.streamsx.hbase
11
11
12
- SPLC_FLAGS = -a
12
+ SPLC_FLAGS ? = -a --data-directory data
13
13
SPLC = $(STREAMS_INSTALL ) /bin/sc
14
14
15
15
SPL_CMD_ARGS ?= -t $(STREAMS_HBASE_TOOLKIT )
16
16
SPL_MAIN_COMPOSITE = com.ibm.streamsx.hbase.sample::ConfigTest
17
17
18
18
all : standalone
19
19
20
- standalone :
20
+ data :
21
+ mkdir data
22
+
23
+ standalone : data
21
24
$(SPLC ) $(SPLC_FLAGS ) -T -M $(SPL_MAIN_COMPOSITE ) $(SPL_CMD_ARGS )
22
25
23
- distributed :
26
+ distributed : data
24
27
$(SPLC ) $(SPLC_FLAGS ) -M $(SPL_MAIN_COMPOSITE ) $(SPL_CMD_ARGS )
25
28
26
29
clean :
Original file line number Diff line number Diff line change 9
9
# Fill in HBASE_TOOLKIT location here.
10
10
STREAMS_HBASE_TOOLKIT ?= ../../com.ibm.streamsx.hbase
11
11
12
- SPLC_FLAGS = -a
12
+ SPLC_FLAGS ? = -a --data-directory data
13
13
SPLC = $(STREAMS_INSTALL ) /bin/sc
14
14
15
15
SPL_CMD_ARGS ?= -t $(STREAMS_HBASE_TOOLKIT )
@@ -19,16 +19,19 @@ SPL_MAIN_COMPOSITE_VERSIONDEL = com.ibm.streamsx.hbase.sample::DeleteAll
19
19
20
20
all : standalone_delete standalone_check standalone_version
21
21
22
- standalone_delete :
22
+ data :
23
+ mkdir data
24
+
25
+ standalone_delete : data
23
26
$(SPLC ) $(SPLC_FLAGS ) -T -M $(SPL_MAIN_COMPOSITE_DELETE ) $(SPL_CMD_ARGS ) --output-dir output_plain
24
27
25
- standalone_check :
28
+ standalone_check : data
26
29
$(SPLC ) $(SPLC_FLAGS ) -T -M $(SPL_MAIN_COMPOSITE_CHECK ) $(SPL_CMD_ARGS ) --output-dir output_check
27
30
28
- standalone_version :
31
+ standalone_version : data
29
32
$(SPLC ) $(SPLC_FLAGS ) -T -M $(SPL_MAIN_COMPOSITE_VERSIONDEL ) $(SPL_CMD_ARGS ) --output-dir output_version
30
33
31
- distributed :
34
+ distributed : data
32
35
$(SPLC ) $(SPLC_FLAGS ) -M $(SPL_MAIN_COMPOSITE_DELETE ) $(SPL_CMD_ARGS )
33
36
$(SPLC ) $(SPLC_FLAGS ) -M $(SPL_MAIN_COMPOSITE_CHECK ) $(SPL_CMD_ARGS )
34
37
$(SPLC ) $(SPLC_FLAGS ) -M $(SPL_MAIN_COMPOSITE_VERSIONDEL ) $(SPL_CMD_ARGS )
Original file line number Diff line number Diff line change 6
6
<info : identity >
7
7
<info : name >DeleteSample</info : name >
8
8
<info : description >Demostrates the use of com.ibm.streamsx.hbase::HBASEDelete, including how to do checkAndDelete </info : description >
9
- <info : version >1.0.0 </info : version >
9
+ <info : version >1.0.1 </info : version >
10
10
<info : requiredProductVersion >3.2.0</info : requiredProductVersion >
11
11
</info : identity >
12
12
<info : dependencies >
15
15
<common : version >1.0.0</common : version >
16
16
</info : toolkit >
17
17
</info : dependencies >
18
- </info : toolkitInfoModel >
18
+ </info : toolkitInfoModel >
Original file line number Diff line number Diff line change 9
9
# Fill in STREAMS_HBASE_TOOLKIT location here.
10
10
STREAMS_HBASE_TOOLKIT ?= ../../com.ibm.streamsx.hbase
11
11
12
- SPLC_FLAGS = -a
12
+ SPLC_FLAGS ? = -a --data-directory data
13
13
SPLC = $(STREAMS_INSTALL ) /bin/sc
14
14
15
15
SPL_CMD_ARGS ?= -t $(STREAMS_HBASE_TOOLKIT )
16
16
SPL_MAIN_COMPOSITE = com.ibm.streamsx.hbase.sample::GetRecord
17
17
18
18
all : standalone
19
19
20
- standalone :
20
+ data :
21
+ mkdir data
22
+
23
+ standalone : data
21
24
$(SPLC ) $(SPLC_FLAGS ) -T -M $(SPL_MAIN_COMPOSITE ) $(SPL_CMD_ARGS )
22
25
23
- distributed :
26
+ distributed : data
24
27
$(SPLC ) $(SPLC_FLAGS ) -M $(SPL_MAIN_COMPOSITE ) $(SPL_CMD_ARGS )
25
28
26
29
clean :
Original file line number Diff line number Diff line change 8
8
<info : identity >
9
9
<info : name >GetRecord</info : name >
10
10
<info : description >Demonstrate how to populate a tuple using HBASEGet</info : description >
11
- <info : version >1.0.0 </info : version >
11
+ <info : version >1.0.1 </info : version >
12
12
<info : requiredProductVersion >3.2.1.0</info : requiredProductVersion >
13
13
</info : identity >
14
14
<info : dependencies >
Original file line number Diff line number Diff line change 9
9
# Fill in STREAMS_HBASE_TOOLKIT location here.
10
10
STREAMS_HBASE_TOOLKIT ?= ../../com.ibm.streamsx.hbase
11
11
12
- SPLC_FLAGS = -a
12
+ SPLC_FLAGS ? = -a --data-directory data
13
13
SPLC = $(STREAMS_INSTALL ) /bin/sc
14
14
15
15
SPL_CMD_ARGS ?= -t $(STREAMS_HBASE_TOOLKIT )
16
16
SPL_MAIN_COMPOSITE = com.ibm.streamsx.hbase.sample::GetSample
17
17
18
18
all : standalone
19
19
20
- standalone :
20
+ data :
21
+ mkdir data
22
+
23
+ standalone : data
21
24
$(SPLC ) $(SPLC_FLAGS ) -T -M $(SPL_MAIN_COMPOSITE ) $(SPL_CMD_ARGS )
22
25
23
- distributed :
26
+ distributed : data
24
27
$(SPLC ) $(SPLC_FLAGS ) -M $(SPL_MAIN_COMPOSITE ) $(SPL_CMD_ARGS )
25
28
26
29
clean :
Original file line number Diff line number Diff line change 7
7
<info : identity >
8
8
<info : name >GetSample</info : name >
9
9
<info : description >Demonstrates the use com.ibm.streamsx.hbase.HBASEGet</info : description >
10
- <info : version >1.0.0 </info : version >
10
+ <info : version >1.0.1 </info : version >
11
11
<info : requiredProductVersion >3.0.0</info : requiredProductVersion >
12
12
</info : identity >
13
13
<info : dependencies >
16
16
<common : version >1.0.0</common : version >
17
17
</info : toolkit >
18
18
</info : dependencies >
19
- </info : toolkitInfoModel >
19
+ </info : toolkitInfoModel >
Original file line number Diff line number Diff line change 9
9
# Fill in HBASE_TOOLKIT location here.
10
10
STREAMS_HBASE_TOOLKIT ?= ../../com.ibm.streamsx.hbase
11
11
12
- SPLC_FLAGS = -a
12
+ SPLC_FLAGS ? = -a --data-directory data
13
13
SPLC = $(STREAMS_INSTALL ) /bin/sc
14
14
15
15
SPL_CMD_ARGS ?= -t $(STREAMS_HBASE_TOOLKIT )
16
16
SPL_MAIN_COMPOSITE = com.ibm.streamsx.hbase.sample::CountProperNouns
17
17
18
18
all : standalone
19
19
20
- standalone :
20
+ data :
21
+ mkdir data
22
+
23
+ standalone : data
21
24
$(SPLC ) $(SPLC_FLAGS ) -T -M $(SPL_MAIN_COMPOSITE ) $(SPL_CMD_ARGS )
22
25
23
- distributed :
26
+ distributed : data
24
27
$(SPLC ) $(SPLC_FLAGS ) -M $(SPL_MAIN_COMPOSITE ) $(SPL_CMD_ARGS )
25
28
26
29
clean :
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ All Rights Reserved
7
7
<info : identity >
8
8
<info : name >IncrementSample</info : name >
9
9
<info : description >Demonstrates the use of com.ibm.streamsx.HBASEIncrement by using it to count word mentions in the Iliad</info : description >
10
- <info : version >1.0.0 </info : version >
10
+ <info : version >1.0.1 </info : version >
11
11
<info : requiredProductVersion >3.0.0</info : requiredProductVersion >
12
12
</info : identity >
13
13
<info : dependencies >
Original file line number Diff line number Diff line change 9
9
# Fill in HBASE_TOOLKIT location here.
10
10
STREAMS_HBASE_TOOLKIT ?= ../../com.ibm.streamsx.hbase
11
11
SOURCES = com.ibm.streamsx.hbase.sample/MultiTypeGet.spl com.ibm.streamsx.hbase.sample/MultiTypeRecord.spl com.ibm.streamsx.hbase.sample/PutBookRecord.spl com.ibm.streamsx.hbase.sample/ScanTableWithBlob.spl com.ibm.streamsx.hbase.sample/WriteTuples.spl
12
- SPLC_FLAGS = -a
12
+ SPLC_FLAGS ?= --data-directory data -a
13
13
SPLC = $(STREAMS_INSTALL ) /bin/sc
14
14
15
15
SPL_CMD_ARGS ?= -t $(STREAMS_HBASE_TOOLKIT )
16
16
SPL_MAIN_COMPOSITE = com.ibm.streamsx.hbase.sample::MultiTypeRecord
17
17
18
18
all : standalone
19
19
20
- output/bin/standalone : $(SOURCES )
20
+ data :
21
+ mkdir data
22
+
23
+ output/bin/standalone : $(SOURCES ) data
21
24
$(SPLC ) $(SPLC_FLAGS ) -T -M $(SPL_MAIN_COMPOSITE ) $(SPL_CMD_ARGS )
22
25
23
- output/com.ibm.streamsx.hbase.sample.MultiTypeRecord.adl : $(SOURCES )
26
+ output/com.ibm.streamsx.hbase.sample.MultiTypeRecord.adl : $(SOURCES ) data
24
27
$(SPLC ) $(SPLC_FLAGS ) -M $(SPL_MAIN_COMPOSITE ) $(SPL_CMD_ARGS )
25
28
26
29
standalone : output/bin/standalone
You can’t perform that action at this time.
0 commit comments