Giter VIP home page Giter VIP logo

griddb / griddb Goto Github PK

View Code? Open in Web Editor NEW
2.3K 365.0 4.9K 23.73 MB

GridDB is a next-generation open source database that makes time series IoT and big data fast,and easy.

Home Page: https://griddb.org/

License: GNU Affero General Public License v3.0

Python 0.83% Shell 0.06% Java 13.15% C++ 83.84% C 1.98% Makefile 0.11% M4 0.01% Perl 0.01%
database griddb nosql iot fast time-series newsql sql bigdata timeseries

griddb's Introduction

GridDB

Visit Website GitHub All Releases GitHub release

Overview

GridDB is Database for IoT with both NoSQL interface and SQL Interface.

Please refer to GridDB Features Reference for functionality.

This repository includes server and Java client. And jdbc repository includes JDBC Driver.

Quick start (Using source code)

We have confirmed the operation with Linux(x64).

  • CentOS 7.9 (gcc 4.8.5)

Note:

  • Please install Python3 in advance.
  • Please install tcl like "yum install tcl.x86_64" in advance.

Build a server and client(Java)

$ ./bootstrap.sh
$ ./configure
$ make

Note: When you use maven build for Java client, please run the following command. Then gridstore-X.X.X.jar file is created on target/.

$ cd java_client
$ ./make_source_for_mvn.sh
$ mvn clean
$ mvn install

Start a server

$ export GS_HOME=$PWD
$ export GS_LOG=$PWD/log
$ export PATH=${PATH}:$GS_HOME/bin

$ bin/gs_passwd admin
  #input your_password
$ vi conf/gs_cluster.json
  #    "clusterName":"your_clustername" #<-- input your_clustername

$ bin/gs_startnode
$ bin/gs_joincluster -c your_clustername -u admin/your_password

Execute a sample program

$ export CLASSPATH=${CLASSPATH}:$GS_HOME/bin/gridstore.jar
$ mkdir gsSample
$ cp $GS_HOME/docs/sample/program/Sample1.java gsSample/.
$ javac gsSample/Sample1.java
$ java gsSample/Sample1 239.0.0.1 31999 your_clustername admin your_password
  --> Person:  name=name02 status=false count=2 lob=[65, 66, 67, 68, 69, 70, 71, 72, 73, 74]

Stop a server

$ bin/gs_stopcluster -u admin/your_password
$ bin/gs_stopnode -u admin/your_password

Quick start (Using RPM or DEB)

We have confirmed the operation with Linux(x64).

  • CentOS 7.9, Ubuntu 22.04

Note:

  • Please install Python3 in advance.
  • When you install this package, a gsadm OS user are created in the OS.
    Execute the operating command as the gsadm user.
  • You don't need to set environment vatiable GS_HOME and GS_LOG.
  • There is Java client library (gridstore.jar) on /usr/share/java and a sample on /usr/gridb-XXX/docs/sample/programs.
  • If old version has been installed, please uninstall and remove conf/ and data/ on /var/lib/gridstore.

Install

(CentOS)
$ sudo rpm -ivh griddb-X.X.X-linux.x86_64.rpm

(Ubuntu)
$ sudo dpkg -i griddb_X.X.X_amd64.deb

Note: X.X.X is the GridDB version.

Start a server

[gsadm]$ cp /usr/griddb-X.X.X/conf_multicast/* conf/.

Note: Default is only for local connection. So, please change the configure files.

[gsadm]$ gs_passwd admin
  #input your_password
[gsadm]$ vi conf/gs_cluster.json
  #    "clusterName":"your_clustername" #<-- input your_clustername
[gsadm]$ gs_startnode
[gsadm]$ gs_joincluster -c your_clustername -u admin/your_password

Execute a sample program

$ export CLASSPATH=${CLASSPATH}:/usr/share/java/gridstore.jar
$ mkdir gsSample
$ cp /usr/griddb-X.X.X/docs/sample/program/Sample1.java gsSample/.
$ javac gsSample/Sample1.java
$ java gsSample/Sample1 239.0.0.1 31999 your_clustername admin your_password
  --> Person:  name=name02 status=false count=2 lob=[65, 66, 67, 68, 69, 70, 71, 72, 73, 74]

Stop a server

[gsadm]$ gs_stopcluster -u admin/your_password
[gsadm]$ gs_stopnode -u admin/your_password

If necessary, please refer to Installation Troubleshooting.

Document

Refer to the file below for more detailed information.

Client and Connector

There are other clients and API for GridDB.

(NoSQL Interface)

(SQL Interface)

(NoSQL & SQL Interface)

(Others)

There are some connectors for other OSS.

Community

  • Issues
    Use the GitHub issue function if you have any requests, questions, or bug reports.
  • PullRequest
    Use the GitHub pull request function if you want to contribute code. You'll need to agree GridDB Contributor License Agreement(CLA_rev1.1.pdf). By using the GitHub pull request function, you shall be deemed to have agreed to GridDB Contributor License Agreement.

License

The server source license is GNU Affero General Public License (AGPL), while the Java client library license and the operational commands is Apache License, version 2.0. See 3rd_party/3rd_party.md for the source and license of the third party.

griddb's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

griddb's Issues

background

hello, i have added a backgound (HTML) for a login web page and i noticed that background still displayed even after user logon which causes a problem with a map in the application, so i want to remove it just after login. How can i do that ? is there a method to accomplish this with html/css or i need to use a javascript function ??? any help would be highly appreciated

New Logo/Icon Proposal

Good day sir. I am a graphic designer and i am interested in designing a logo for your good project. I will be doing it as a gift for free. I just need your permission first before I begin my design. Hoping for your positive feedback. Thanks

No Go Client

It really needs one. Dont have the time for that though. Also gccgo inflicts probably a bit much of a performance penalty, to be really useful wrapping the c library, but it might be a starting point.

Profil -> profil bearbeiten

It was easier to understand as it was ‚profil‘ only. As when I don‘t want to edit my profil still i find a lot of informstion there...

Difficult navigation from msg to profil

I receive a message into ‚nachrichten‘ on my profil.
As I click the username I‘m directed to the page to send a message but no way to go to ‚profil‘ of the user to check the circumstances why we wrote

Boka tid Cab Plan appen

Hej.
Boka tid i appen Cabplan/se bokning hade varit bra.

Patric Isberg
Verkstadschef

Hedin Performance Cars AB

Direkt: +46 70 40 8632

fejl i turorial

image
når man starter nyt spil har man er der sat v i noget at turorial

Failed to start gsserver

Affter installation tried starting the master node using bin/gs_startnode, no gsserver started.
Log shows followings:
2016-05-03T13:08:09.521+0530 worker 3006 WARNING EVENT_ENGINE [1042:CM_PLATFORM_ERROR] Retrying to resolve address (host=worker, port=10010, trial=1, elapsedMillis=2, reason=Platform error
Using CentOS 6.3 and gcc version 4.4.7

Лайки -> challenges

Идея, вроде как, челлендж, который можно делать кооперативно. Лайки/комменты - механизм формирования команды для превращения мечты в жЫзнь.

"make dist-zip" fails with an Error "No rule to make target `util/stdint.h', needed by `distdir'".

"make dist-zip" fails with an Error "No rule to make target util/stdint.h', needed by distdir'" as the following:

+ make dist-zip
if test -d "griddb-3.0"; then find "griddb-3.0" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "griddb-3.0" || { sleep 5 && rm -rf "griddb-3.0"; }; else :; fi
test -d "griddb-3.0" || mkdir "griddb-3.0"
 (cd 3rd_party/MessagePack && make  top_distdir=../../griddb-3.0 distdir=../../griddb-3.0/3rd_party/MessagePack \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[1]: Entering directory `~/.jenkins/workspace/griddb build/3rd_party/MessagePack'
make[1]: Leaving directory `~/.jenkins/workspace/griddb build/3rd_party/MessagePack'
 (cd utility && make  top_distdir=../griddb-3.0 distdir=../griddb-3.0/utility \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[1]: Entering directory `~/.jenkins/workspace/griddb build/utility'
make[1]: *** No rule to make target `util/stdint.h', needed by `distdir'.  Stop.
make[1]: Leaving directory `~/.jenkins/workspace/griddb build/utility'
make: *** [distdir] Error 1

I thought to make RPM file by the zip file made by "make dist-zip".

ДЗ_исправленное

@coursar, добрый день.
Исправил ДЗ в соответствии с Вашими поправками. Надеюсь, что получилось. Добавил Вас коллаборантом.

Can‘t add soecials

I know - my testing was bad but honestly i forgott allready that we have specials as well ;-(

warning: 'INCLUDES' is the old name for 'AMP_CPPFLAGS' on CentOS 7.2

On CentOS 7.2, I got the following warnings while running bootstrap.sh.

# ./bootstrap.sh
configure.ac:3 warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.ac:3: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
3rd_party/MessagePack/Makefile.am:15: warning: 'INCLUDES' is the old name for 'AMP_CPPFLAGS' (or '*_CPPFLAGS')
server/Makefile.am:162: warning: 'INCLUDES' is the old name for 'AMP_CPPFLAGS' (or '*_CPPFLAGS') 
utility/ Makefile.am:33: warning: 'INCLUDES' is the old name for 'AMP_CPPFLAGS' (or '*_CPPFLAGS')

Packetfence ifIndex unknown connection type: Wifi Web Auth

using Ruckus Virtual SmartZone with pacjetfence 8 during authentication receive message on log.

Dec 2 23:11:39 packetfence packetfence_httpd.portal: httpd.portal(15328) INFO: [mac:84:89:ad:8d:fc:d6] switch port is (177.190.199.252) ifIndex unknown connection type: Wifi Web Auth (pf::enforcement::_vlan_reevaluation)

Dec 3 15:35:49 packetfence pfqueue: pfqueue(11316) ERROR: [mac:84:89:ad:8d:fc:d6] Failed to contact Ruckus for deauthentication: 500 Can't connect to 177.190.199.252:9443 (certificate verify failed) (pf::Switch::Ruckus::SmartZone::deauthenticateMacWebservices) @ #

Реестры поиска

  1. Правильно отображать шапку результатов поиска при отрисовке.
  2. Правильно отображать наименование столбцов в списке выбора.
  3. При сохранении реестра запоминать выбранные столбцы

fejl i tid

jeg sluttede sidste spil på ca. 6 min og det næste starede på ca. 6 min i stede for 15 min

make failing on ubuntu 16.04

Building code fails on Ubuntu 16.04 64 bit with g++ 5.4.

The problem can be solved by replacing isnan() with std::isnan() as it is declared in multiple namespaces and c++0x standard doesn't put restrictions on it. Although that might cause problem for builds in Windows though.

I am able to build the code on Ubuntu 14.04 with g++ 4.7 though.

In file included from ./base_index.h:27:0,
from ./btree_map.h:25,
from ./boolean_expression.h:26,
from ./boolean_expression.cpp:22:
./object_manager.h: In member function ‘void ObjectManager::setDirty(PartitionId, OId)’:
./object_manager.h:271:15: warning: variable ‘metaChunk’ set but not used [-Wunused-but-set-variable]
MetaChunk* metaChunk = NULL;
^
In file included from ./schema.h:28:0,
from ./base_index.h:28,
from ./btree_map.h:25,
from ./boolean_expression.h:26,
from ./boolean_expression.cpp:22:
./value_operator.h: In function ‘int32_t compareByteFloat(TransactionContext&, const uint8_t_, uint32_t, const uint8_t_, uint32_t)’:
./value_operator.h:84:48: error: ‘isnan’ was not declared in this scope
if (isnan(_(reinterpret_cast(q)))) return -1;
^
./value_operator.h:84:48: note: suggested alternative:
In file included from /usr/include/c++/5/random:38:0,
from /usr/include/c++/5/bits/stl_algo.h:66,
from /usr/include/c++/5/algorithm:62,
from ./../utility/util/container.h:33,
from ./boolean_expression.h:25,
from ./boolean_expression.cpp:22:
/usr/include/c++/5/cmath:641:5: note: ‘std::isnan’
isnan(Tp x)
^
In file included from ./schema.h:28:0,
from ./base_index.h:28,
from ./btree_map.h:25,
from ./boolean_expression.h:26,
from ./boolean_expression.cpp:22:
./value_operator.h: In function ‘int32_t compareByteDouble(TransactionContext&, const uint8_t
, uint32_t, const uint8_t
, uint32_t)’:
./value_operator.h:95:49: error: ‘isnan’ was not declared in this scope
if (isnan(
(reinterpret_cast(q)))) return -1;
^
./value_operator.h:95:49: note: suggested alternative:
In file included from /usr/include/c++/5/random:38:0,
from /usr/include/c++/5/bits/stl_algo.h:66,
from /usr/include/c++/5/algorithm:62,
from ./../utility/util/container.h:33,
from ./boolean_expression.h:25,
from ./boolean_expression.cpp:22:
/usr/include/c++/5/cmath:641:5: note: ‘std::isnan’
isnan(_Tp __x)
^
In file included from ./schema.h:28:0,
from ./base_index.h:28,
from ./btree_map.h:25,
from ./boolean_expression.h:26,
from ./boolean_expression.cpp:22:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.