Merge lp:~lucio.torre/txstatsd/add-redis-to-distinct-plugin into lp:~txstatsd-dev/txstatsd/distinct-plugin
- add-redis-to-distinct-plugin
- Merge into distinct-plugin
Status: | Merged |
---|---|
Merged at revision: | 3 |
Proposed branch: | lp:~lucio.torre/txstatsd/add-redis-to-distinct-plugin |
Merge into: | lp:~txstatsd-dev/txstatsd/distinct-plugin |
Diff against target: |
641 lines (+497/-14) 7 files modified
Makefile (+26/-0) bin/redis.conf (+312/-0) bin/start-redis.sh (+5/-0) bin/stop-redis.sh (+3/-0) distinctdb/distinctmetric.py (+62/-6) distinctdb/tests/test_distinct.py (+80/-4) twisted/plugins/distinctdbplugin.py (+9/-4) |
To merge this branch: | bzr merge lp:~lucio.torre/txstatsd/add-redis-to-distinct-plugin |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Lucio Torre (community) | Approve | ||
Sidnei da Silva | Approve | ||
Review via email: mp+85962@code.launchpad.net |
Commit message
add redis support for distinct plugin
Description of the change
add redis support for distinct plugin
Ubuntu One Server Tarmac Bot (ubuntuone-server-tarmac) wrote : | # |
The attempt to merge lp:~lucio.torre/txstatsd/add-redis-to-distinct-plugin into lp:~txstatsd-dev/txstatsd/distinct-plugin failed. Below is the output from the failed tests.
./bin/start-
## Starting postgres in /home/tarmac/
The files belonging to this database system will be owned by user "tarmac".
This user must also own the server process.
The database cluster will be initialized with locale C.
The default text search configuration will be set to "english".
fixing permissions on existing directory /home/tarmac/
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 28MB
creating configuration files ... ok
creating template1 database in /home/tarmac/
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating conversions ... ok
creating dictionaries ... ok
setting privileges on built-in objects ... ok
creating information schema ... ok
vacuuming database template1 ... ok
copying template1 to template0 ... ok
copying template1 to postgres ... ok
Success. You can now start the database server using:
/usr/
or
/usr/
waiting for server to start.... done
server started
CREATE ROLE
To set your environment so psql will connect to this DB instance type:
export PGHOST=
## Done. ##
psql -h `pwd`/tmp/db1 -d distinct < bin/schema.sql
CREATE TABLE
CREATE TABLE
CREATE INDEX
./bin/start-
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the -A option the
next time you run initdb.
ERROR: role "client" already exists
NOTICE: CREATE TABLE will create implicit sequence "paths_id_seq" for serial column "paths.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "paths_pkey" for table "paths"
NOTICE: CREATE TABLE / UNIQUE will create implicit index "paths_path_key" for table "paths"
./bin/start-
make: *** [start-redis] Error 127
Ubuntu One Server Tarmac Bot (ubuntuone-server-tarmac) wrote : | # |
The attempt to merge lp:~lucio.torre/txstatsd/add-redis-to-distinct-plugin into lp:~txstatsd-dev/txstatsd/distinct-plugin failed. Below is the output from the failed tests.
./bin/start-
## Starting postgres in /home/tarmac/
The files belonging to this database system will be owned by user "tarmac".
This user must also own the server process.
The database cluster will be initialized with locale C.
The default text search configuration will be set to "english".
fixing permissions on existing directory /home/tarmac/
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 28MB
creating configuration files ... ok
creating template1 database in /home/tarmac/
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating conversions ... ok
creating dictionaries ... ok
setting privileges on built-in objects ... ok
creating information schema ... ok
vacuuming database template1 ... ok
copying template1 to template0 ... ok
copying template1 to postgres ... ok
Success. You can now start the database server using:
/usr/
or
/usr/
waiting for server to start.... done
server started
CREATE ROLE
To set your environment so psql will connect to this DB instance type:
export PGHOST=
## Done. ##
psql -h `pwd`/tmp/db1 -d distinct < bin/schema.sql
CREATE TABLE
CREATE TABLE
CREATE INDEX
./bin/start-
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the -A option the
next time you run initdb.
ERROR: role "client" already exists
NOTICE: CREATE TABLE will create implicit sequence "paths_id_seq" for serial column "paths.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "paths_pkey" for table "paths"
NOTICE: CREATE TABLE / UNIQUE will create implicit index "paths_path_key" for table "paths"
./bin/start-
make: *** [start-redis] Error 127
Ubuntu One Server Tarmac Bot (ubuntuone-server-tarmac) wrote : | # |
There are additional revisions which have not been approved in review. Please seek review and approval of these new revisions.
Lucio Torre (lucio.torre) : | # |
Ubuntu One Server Tarmac Bot (ubuntuone-server-tarmac) wrote : | # |
The attempt to merge lp:~lucio.torre/txstatsd/add-redis-to-distinct-plugin into lp:~txstatsd-dev/txstatsd/distinct-plugin failed. Below is the output from the failed tests.
./bin/start-
## Starting postgres in /home/tarmac/
The files belonging to this database system will be owned by user "tarmac".
This user must also own the server process.
The database cluster will be initialized with locale C.
The default text search configuration will be set to "english".
fixing permissions on existing directory /home/tarmac/
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 28MB
creating configuration files ... ok
creating template1 database in /home/tarmac/
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating conversions ... ok
creating dictionaries ... ok
setting privileges on built-in objects ... ok
creating information schema ... ok
vacuuming database template1 ... ok
copying template1 to template0 ... ok
copying template1 to postgres ... ok
Success. You can now start the database server using:
/usr/
or
/usr/
waiting for server to start.... done
server started
CREATE ROLE
To set your environment so psql will connect to this DB instance type:
export PGHOST=
## Done. ##
psql -h `pwd`/tmp/db1 -d distinct < bin/schema.sql
CREATE TABLE
CREATE TABLE
CREATE INDEX
./bin/start-
trial distinctdb/
=======
[ERROR]: distinctdb.
Traceback (most recent call last):
File "/usr/lib/
module = modinfo.load()
File "/usr/lib/
return self.pathEntry.
File "/usr/lib/
topLevelPackage = _importAndCheck
File "/home/
from twisted.plugins import distinctdbplugin
File "/home/
from txstatsd.itxstatsd import IMetricFactory
exceptions.
-------
FAILED (errors=1)
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the -A option the
next time you run initdb.
ERROR: role "client" alread...
Ubuntu One Server Tarmac Bot (ubuntuone-server-tarmac) wrote : | # |
The attempt to merge lp:~lucio.torre/txstatsd/add-redis-to-distinct-plugin into lp:~txstatsd-dev/txstatsd/distinct-plugin failed. Below is the output from the failed tests.
./bin/start-
## Starting postgres in /home/tarmac/
The files belonging to this database system will be owned by user "tarmac".
This user must also own the server process.
The database cluster will be initialized with locale C.
The default text search configuration will be set to "english".
fixing permissions on existing directory /home/tarmac/
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 28MB
creating configuration files ... ok
creating template1 database in /home/tarmac/
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating conversions ... ok
creating dictionaries ... ok
setting privileges on built-in objects ... ok
creating information schema ... ok
vacuuming database template1 ... ok
copying template1 to template0 ... ok
copying template1 to postgres ... ok
Success. You can now start the database server using:
/usr/
or
/usr/
waiting for server to start.... done
server started
CREATE ROLE
To set your environment so psql will connect to this DB instance type:
export PGHOST=
## Done. ##
psql -h `pwd`/tmp/db1 -d distinct < bin/schema.sql
CREATE TABLE
CREATE TABLE
CREATE INDEX
./bin/start-
trial distinctdb/
=======
[ERROR]: distinctdb.
Traceback (most recent call last):
File "/usr/lib/
module = modinfo.load()
File "/usr/lib/
return self.pathEntry.
File "/usr/lib/
topLevelPackage = _importAndCheck
File "/home/
from twisted.plugins import distinctdbplugin
File "/home/
from txstatsd.itxstatsd import IMetricFactory
exceptions.
-------
FAILED (errors=1)
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the -A option the
next time you run initdb.
ERROR: role "client" alread...
Ubuntu One Server Tarmac Bot (ubuntuone-server-tarmac) wrote : | # |
The attempt to merge lp:~lucio.torre/txstatsd/add-redis-to-distinct-plugin into lp:~txstatsd-dev/txstatsd/distinct-plugin failed. Below is the output from the failed tests.
./bin/start-
## Starting postgres in /home/tarmac/
The files belonging to this database system will be owned by user "tarmac".
This user must also own the server process.
The database cluster will be initialized with locale C.
The default text search configuration will be set to "english".
fixing permissions on existing directory /home/tarmac/
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 28MB
creating configuration files ... ok
creating template1 database in /home/tarmac/
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating conversions ... ok
creating dictionaries ... ok
setting privileges on built-in objects ... ok
creating information schema ... ok
vacuuming database template1 ... ok
copying template1 to template0 ... ok
copying template1 to postgres ... ok
Success. You can now start the database server using:
/usr/
or
/usr/
waiting for server to start.... done
server started
CREATE ROLE
To set your environment so psql will connect to this DB instance type:
export PGHOST=
## Done. ##
psql -h `pwd`/tmp/db1 -d distinct < bin/schema.sql
CREATE TABLE
CREATE TABLE
CREATE INDEX
./bin/start-
trial distinctdb/
distinctdb.
TestDatabase
test_connect ... [OK]
test_
test_
test_
TestDistinctM
test_configure ... [OK]
test_
test_max ... [OK]
test_reports ... [OK]
TestPlugin
test_factory ... [OK]
TestRedis
test_configure ... [ERROR]
test_connect ... [ERROR]
test_load ... [ERROR]
test_usage ... [ERRO...
Ubuntu One Server Tarmac Bot (ubuntuone-server-tarmac) wrote : | # |
The attempt to merge lp:~lucio.torre/txstatsd/add-redis-to-distinct-plugin into lp:~txstatsd-dev/txstatsd/distinct-plugin failed. Below is the output from the failed tests.
./bin/start-
## Starting postgres in /home/tarmac/
The files belonging to this database system will be owned by user "tarmac".
This user must also own the server process.
The database cluster will be initialized with locale C.
The default text search configuration will be set to "english".
fixing permissions on existing directory /home/tarmac/
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 28MB
creating configuration files ... ok
creating template1 database in /home/tarmac/
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating conversions ... ok
creating dictionaries ... ok
setting privileges on built-in objects ... ok
creating information schema ... ok
vacuuming database template1 ... ok
copying template1 to template0 ... ok
copying template1 to postgres ... ok
Success. You can now start the database server using:
/usr/
or
/usr/
waiting for server to start.... done
server started
CREATE ROLE
To set your environment so psql will connect to this DB instance type:
export PGHOST=
## Done. ##
psql -h `pwd`/tmp/db1 -d distinct < bin/schema.sql
CREATE TABLE
CREATE TABLE
CREATE INDEX
./bin/start-
trial distinctdb/
distinctdb.
TestDatabase
test_connect ... [OK]
test_
test_
test_
TestDistinctM
test_configure ... [OK]
test_
test_max ... [OK]
test_reports ... [OK]
TestPlugin
test_factory ... [OK]
TestRedis
test_configure ... [ERROR]
test_connect ... [ERROR]
test_load ... [ERROR]
...
Looks good.