Index Command Line Interface
For example, <path to installtion directory>/bin/index
and must be executed from the directory because it uses relative paths by default.
$ ./index -v -c ../etc --table hive.schema.table --column column1,column2 --type bloom,minmax,bitmap --partition p=part1 create
By default the default JVM MaxHeapSize will be used (java -XX:+PrintFlagsFinal -version | grep MaxHeapSize
). For improved performance, it is recommended to increase the MaxHeapSize. This can be done by setting -Xmx value:
If creating the index for a large table is too slow on one machine, you can create index for different partitions in parallel on different machines. This requires setting the –disableLocking flag and specifying the partition(s). For example:
On machine 2: