You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
geowave-zktx - Reserve transaction IDs for long running WFS-T transactions
9
+
10
+
SYNOPSIS
11
+
//:--------
12
+
13
+
*geowave -zkTx* <options>
14
+
15
+
DESCRIPTION
16
+
//:-----------
17
+
18
+
The geowave-zkTx(1) operator will create the specified number of transaction IDs for use with long running WFS-T transactions with auto-commit turned off.
19
+
These transaction IDs are used as visibility labels in Accumulo to hide ongoing changes until a commit point when the label is removed.
20
+
21
+
OPTIONS
22
+
//:-------
23
+
24
+
-h,--help::
25
+
Display help
26
+
27
+
-i, --instance-id <arg>::
28
+
The Accumulo instance ID
29
+
30
+
-m,--maximum <arg>::
31
+
Maximum number of simultaneous transactions
32
+
33
+
-n, --namespace <arg>::
34
+
The table namespace (optional; default is no namespace)
35
+
36
+
-p, --password <arg>::
37
+
The password for the user
38
+
39
+
-r,--recipient <arg>::
40
+
Recipient application user account for the set of transactions
41
+
42
+
-u, --user <arg>::
43
+
A valid Accumulo user ID
44
+
45
+
-z, --zookeepers <arg>::
46
+
A comma-separated list of zookeeper servers that an Accumulo instance is using
47
+
48
+
EXAMPLES
49
+
//:--------
50
+
51
+
geowave -zkTx \
52
+
-i hdp-accumulo-instance \
53
+
-m NUM_SIMULTANEOUS_TRANSACTIONS \
54
+
-n NAMESPACE \
55
+
-r NAMESPACE_USER \
56
+
-u root \
57
+
-p ROOT_PWD \
58
+
-z ZK_SERVER:2181
59
+
60
+
This command should output a logging message stating if it added transaction IDs ex: "Added 20 useable transaction IDs". If transactions
61
+
have already been allocated it may return a message like "Added 0 useable transactions IDs" which absent any error messages is OK. You
62
+
can verify the transactions have been created using a zookeeper client with a command like, "zookeeper-client -server c3-master:2181 ls /geowave/tx"
63
+
which should return a list of transaction IDs (guids)
Copy file name to clipboardExpand all lines: extensions/adapters/vector/src/main/java/mil/nga/giat/geowave/adapter/vector/transaction/TransactionAllocationCLIOperation.java
0 commit comments