Git Product home page Git Product logo

pgcassandra's People

Contributors

wjch-krl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

ajkarella

pgcassandra's Issues

how to pass user/password credentials

Hi
I have problem to use pgCassandra to connect to remote server

postgres=# SELECT * FROM testtab;
ERROR: Error in python: NoHostAvailable
DETAIL: ('Unable to connect to any servers', {'172.17.0.2': AuthenticationFailed('Remote end requires authentication.',), '172.17.0.3': AuthenticationFailed('Remote end requires authentication.',), '172.17.0.4': AuthenticationFailed('Remote end requires authentication.',)})

Tried usermapping but no success.
CREATE USER MAPPING FOR public SERVER cass_serv2 OPTIONS(username 'cassandra', password 'cassandra');

Source is PG9.5 on Ubuntu 14.04
Target is Cassandra 2.2.1 on Ubuntu 14.04

Connection to Cassandra using cassandra2_fdw and CPP Cassandra driver work fine.
Just the multicorn based pgCassandra.CassandraFDW driver has issue..

cheers
Heiko

java.net.SocketException: Too many open files

I am Using pgCassandra to create FDW tables from Cassandra,

My Application is a real-time monitoring system and continues data will insert in Cassandra and the FDW table also will grow based on that.

But While using this which throws the error Too many open files.

While checking in google I got the reason something like "the socket connections are treated like files and they use file descriptor, which is a limited resource".

While we use FDW, every time which is trying to connect with Cassandra using the PORT 9042? or if we create an FDW table and the data will fetch from the FDW with out communicating the Cassandra through the port 9042?

Can you please suggest and solution for this?

PostgreSQL version Update

We updated the PostgreSQL version 9.5.0 to 9.5.1,
We face an issue while querying, we got an error as follows

server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. The connection to the server was lost. Attempting reset: WARNING: terminating connection because of crash of another server process DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory. HINT: In a moment you should be able to reconnect to the database and repeat your command. Failed.

Can you please help.

Creating FDW Server with multiple Tables

I have two tables in Cassandra - activity1 and activity2,

I already created two servers using the following queries

CREATE SERVER server_activity1 FOREIGN DATA WRAPPER multicorn options (
wrapper 'pgCassandra.CassandraFDW',
port '9042',
columnfamily 'activity1',
keyspace 'keyspace',
hosts '192.168.1.1'
);

which is working fine for us, but when I want to connect with the second table here I need to create another server?

CREATE SERVER server_activity2 FOREIGN DATA WRAPPER multicorn options (
wrapper 'pgCassandra.CassandraFDW',
port '9042',
columnfamily 'activity2,
keyspace 'keyspace',
hosts '192.168.1.1'
);

OR Can we use the same server for both the tables (columnfamily)?

Some one pls advice.

use allow filtering

Hi,
I have multiple primary key fields in Cassandra. And i need to apply WHERE condition on one of those filed then i am getting the following error,

code=2200 [Invalid query] message=\"Cannot execute this query as it might involve data filtering and thus may have unpredictable performance. If you want to execute this query despite the performance unpredictability, use ALLOW FILTERING

What will be the possible reason?

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.