linux – Should I use the manufacturer instructions for installing Griddb on Ubuntu or use Quick intall from deb?

I am following the instructions of https://github.com/griddb/.
But I am experiencing difficulties with it:

~/griddb$ sudo make
Making all in 3rd_party/MessagePack
make(1): Entering directory '/home/abc/griddb/3rd_party/MessagePack'
gcc -DPACKAGE_NAME="GridDB" -DPACKAGE_TARNAME="griddb" -DPACKAGE_VERSION="4.6.0" -DPACKAGE_STRING="GridDB 4.6.0" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="griddb" -DVERSION="4.6.0" -I.  -I./include   -O3 -fno-tree-vectorize -DNDEBUG -MT libmsgpack_a-objectc.o -MD -MP -MF .deps/libmsgpack_a-objectc.Tpo -c -o libmsgpack_a-objectc.o `test -f './src/objectc.c' || echo './'`./src/objectc.c
mv -f .deps/libmsgpack_a-objectc.Tpo .deps/libmsgpack_a-objectc.Po
gcc -DPACKAGE_NAME="GridDB" -DPACKAGE_TARNAME="griddb" -DPACKAGE_VERSION="4.6.0" -DPACKAGE_STRING="GridDB 4.6.0" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="griddb" -DVERSION="4.6.0" -I.  -I./include   -O3 -fno-tree-vectorize -DNDEBUG -MT libmsgpack_a-unpack.o -MD -MP -MF .deps/libmsgpack_a-unpack.Tpo -c -o libmsgpack_a-unpack.o `test -f './src/unpack.c' || echo './'`./src/unpack.c
mv -f .deps/libmsgpack_a-unpack.Tpo .deps/libmsgpack_a-unpack.Po
gcc -DPACKAGE_NAME="GridDB" -DPACKAGE_TARNAME="griddb" -DPACKAGE_VERSION="4.6.0" -DPACKAGE_STRING="GridDB 4.6.0" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="griddb" -DVERSION="4.6.0" -I.  -I./include   -O3 -fno-tree-vectorize -DNDEBUG -MT libmsgpack_a-version.o -MD -MP -MF .deps/libmsgpack_a-version.Tpo -c -o libmsgpack_a-version.o `test -f './src/version.c' || echo './'`./src/version.c
mv -f .deps/libmsgpack_a-version.Tpo .deps/libmsgpack_a-version.Po
gcc -DPACKAGE_NAME="GridDB" -DPACKAGE_TARNAME="griddb" -DPACKAGE_VERSION="4.6.0" -DPACKAGE_STRING="GridDB 4.6.0" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="griddb" -DVERSION="4.6.0" -I.  -I./include   -O3 -fno-tree-vectorize -DNDEBUG -MT libmsgpack_a-vrefbuffer.o -MD -MP -MF .deps/libmsgpack_a-vrefbuffer.Tpo -c -o libmsgpack_a-vrefbuffer.o `test -f './src/vrefbuffer.c' || echo './'`./src/vrefbuffer.c
mv -f .deps/libmsgpack_a-vrefbuffer.Tpo .deps/libmsgpack_a-vrefbuffer.Po
gcc -DPACKAGE_NAME="GridDB" -DPACKAGE_TARNAME="griddb" -DPACKAGE_VERSION="4.6.0" -DPACKAGE_STRING="GridDB 4.6.0" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="griddb" -DVERSION="4.6.0" -I.  -I./include   -O3 -fno-tree-vectorize -DNDEBUG -MT libmsgpack_a-zone.o -MD -MP -MF .deps/libmsgpack_a-zone.Tpo -c -o libmsgpack_a-zone.o `test -f './src/zone.c' || echo './'`./src/zone.c
mv -f .deps/libmsgpack_a-zone.Tpo .deps/libmsgpack_a-zone.Po
rm -f libmsgpack.a
ar cru libmsgpack.a libmsgpack_a-objectc.o libmsgpack_a-unpack.o libmsgpack_a-version.o libmsgpack_a-vrefbuffer.o libmsgpack_a-zone.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libmsgpack.a
make(1): Leaving directory '/home/abc/griddb/3rd_party/MessagePack'
Making all in utility
make(1): Entering directory '/home/abc/griddb/utility'
g++ -DPACKAGE_NAME="GridDB" -DPACKAGE_TARNAME="griddb" -DPACKAGE_VERSION="4.6.0" -DPACKAGE_STRING="GridDB 4.6.0" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="griddb" -DVERSION="4.6.0" -I.  -I../utility   -Wall -finput-charset=UTF-8 -Wpointer-arith -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -Wno-unused-parameter -std=gnu++0x -O3 -fno-tree-vectorize -DNDEBUG -MT libutil_a-allocator.o -MD -MP -MF .deps/libutil_a-allocator.Tpo -c -o libutil_a-allocator.o `test -f './util/allocator.cpp' || echo './'`./util/allocator.cpp
mv -f .deps/libutil_a-allocator.Tpo .deps/libutil_a-allocator.Po
g++ -DPACKAGE_NAME="GridDB" -DPACKAGE_TARNAME="griddb" -DPACKAGE_VERSION="4.6.0" -DPACKAGE_STRING="GridDB 4.6.0" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="griddb" -DVERSION="4.6.0" -I.  -I../utility   -Wall -finput-charset=UTF-8 -Wpointer-arith -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -Wno-unused-parameter -std=gnu++0x -O3 -fno-tree-vectorize -DNDEBUG -MT libutil_a-code.o -MD -MP -MF .deps/libutil_a-code.Tpo -c -o libutil_a-code.o `test -f './util/code.cpp' || echo './'`./util/code.cpp
In file included from ./util/code.cpp:43:0:
./util/code.h: In function ‘int32_t util::varIntDecode64(const uint8_t*, uint64_t&)’:
./util/code.h:3476:14: warning: result of ‘(127 << 28)’ requires 36 bits to represent, but ‘int’ only has 32 bits (-Wshift-overflow=)
   a &= (0x7f << 28) | (0x7f << 14) | (0x7f);
         ~~~~~^~~~~
./util/code.h:3489:14: warning: result of ‘(127 << 28)’ requires 36 bits to represent, but ‘int’ only has 32 bits (-Wshift-overflow=)
   b &= (0x7f << 28) | (0x7f << 14) | (0x7f);
         ~~~~~^~~~~
./util/code.h: In static member function ‘static void util::ObjectCoder::Impl::decodeInternal(C&, S&, T&, const Attribute&, const Traits&, const util::ObjectCoder::Impl::TypeTag<(util::ObjectCoder::Type)5>&)’:
./util/code.h:4765:43: error: expected primary-expression before ‘>’ token
   value.push_back(coder.create<ElementType>());
                                           ^
./util/code.h:4765:45: error: expected primary-expression before ‘)’ token
   value.push_back(coder.create<ElementType>());
                                             ^
./util/code.h: In static member function ‘static void util::ObjectCoder::Impl::decodeInternal(C&, S&, T&, const Attribute&, const Traits&, const util::ObjectCoder::Impl::TypeTag<(util::ObjectCoder::Type)8>&)’:
./util/code.h:4818:24: error: expected primary-expression before ‘>’ token
  value = coder.create<T>();
                        ^
./util/code.h:4818:26: error: expected primary-expression before ‘)’ token
  value = coder.create<T>();
                          ^
Makefile:394: recipe for target 'libutil_a-code.o' failed
make(1): *** (libutil_a-code.o) Error 1
make(1): Leaving directory '/home/abc/griddb/utility'
Makefile:383: recipe for target 'all-recursive' failed
make: *** (all-recursive) Error 1

GridDB not working on AWS cloud

I have installed GridDB in Ubuntu 18.04 running on an AWS cloud instance following instructions given on their website

Also in my bin directory I have all the commands:

# cd bin/
# ls
gs_adduser  gs_joincluster   gs_passwd     gs_stat         gs_stopnode  util.py
gs_deluser  gs_leavecluster  gs_startnode  gs_stopcluster  log.py

But when I am starting my cluster using gs_startnode it shows an error:

# gs_startnode -u admin/admin -w
Traceback (most recent call last):
  File "/root/griddb/bin/gs_startnode", line 122, in <module> proc = subprocess.Popen(command, stdout=f, stderr=f)
  File "/usr/lib/python2.7/subprocess.py", line 394, in __init__errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child raise child_exception
OSError: (Errno 2) No such file or directory

Can anyone please tell me how to solve this?

griddb – Indexing in Big Data

It looks like you can index your data according to thier SQL documentation for CREATE INDEX. Sample code from their docs:

CREATE INDEX (IF NOT EXISTS) index_name ON table_name ( column_name_to_be_indexed );

GridDB’s specifications and rules on index creation:

For a table, an index with the same name as an existing index in the table cannot be created.

If a transaction under execution exists in a table subject to processing, the system will wait for these to be completed before creating the data.

An index cannot be created on a column of BLOB type and ARRAY type.

Up to 16 columns can be indexed.

Time series table does not allow a primary key in a composite index.

My recommendation would be to index on the fields you plan to most commonly use in predicates (JOIN, WHERE, and HAVING clauses) in your queries, as a starting point.

Error in GRIDDB on RHEL 8?

I am trying to install griddb on RHEL 8 Virtual machine but it is showing the following error:

rpm -ivh griddb_nosql-4.2.0-1.linux.x86_64.rpm

error: Failed dependencies:
/usr/bin/python is needed by griddb_nosql-4.2.0-1.linux.x86_64
libcrypto.so.10()(64bit) is needed by griddb_nosql-4.2.0-1.linux.x86_64
libcrypto.so.10(libcrypto.so.10)(64bit) is needed by griddb_nosql-4.2.0-1.linux.x86_64
libssl.so.10()(64bit) is needed by griddb_nosql-4.2.0-1.linux.x86_64
libssl.so.10(libssl.so.10)(64bit) is needed by griddb_nosql-4.2.0-1.linux.x86_64

enter image description here

The thing is, I have python installed and correctly configured so I do not understand why it would not run.