SHARE
TWEET

Untitled

a guest Oct 5th, 2019 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. docker run --name yb-sample-apps --hostname yb-sample-apps --net yb-net yugabytedb/yb-sample-apps --workload SqlInserts --nodes yb-tserver-n1:5433 --num_threads_write 1 --num_threads_read 4
  2. 0 [main] INFO com.yugabyte.sample.Main  - Starting sample app...
  3. 59 [main] INFO com.yugabyte.sample.common.CmdLineOpts  - Using a randomly generated UUID : 3c9f64c9-c4ec-439b-b9fe-9004472ba881
  4. 65 [main] INFO com.yugabyte.sample.common.CmdLineOpts  - App: SqlInserts
  5. 66 [main] INFO com.yugabyte.sample.common.CmdLineOpts  - Run time (seconds): -1
  6. 66 [main] INFO com.yugabyte.sample.common.CmdLineOpts  - Adding node: yb-tserver-n1:5433
  7. 67 [main] INFO com.yugabyte.sample.common.CmdLineOpts  - Num reader threads: 4, num writer threads: 1
  8. 67 [main] INFO com.yugabyte.sample.common.CmdLineOpts  - Num unique keys to insert: 1000000
  9. 67 [main] INFO com.yugabyte.sample.common.CmdLineOpts  - Num keys to update: -1000001
  10. 67 [main] INFO com.yugabyte.sample.common.CmdLineOpts  - Num keys to read: -1
  11. 67 [main] INFO com.yugabyte.sample.common.CmdLineOpts  - Value size: 0
  12. 67 [main] INFO com.yugabyte.sample.common.CmdLineOpts  - Restrict values to ASCII strings: false
  13. 67 [main] INFO com.yugabyte.sample.common.CmdLineOpts  - Perform sanity check at end of app run: false
  14. 67 [main] INFO com.yugabyte.sample.common.CmdLineOpts  - Table TTL (secs): -1
  15. 67 [main] INFO com.yugabyte.sample.common.CmdLineOpts  - Local reads: false
  16. 67 [main] INFO com.yugabyte.sample.common.CmdLineOpts  - Read only load: false
  17. 6752 [main] INFO com.yugabyte.sample.apps.SqlInserts  - Dropping any table(s) left from previous runs if any
  18. Exception in thread "main" org.postgresql.util.PSQLException: ERROR: Invalid argument: Invalid table definition: Invalid argument (yb/master/catalog_manager.cc:2089): Error creating table postgres.postgresqlkeyvalue on the master: Not enough live tablet servers to create table with replication factor 3. 1 tablet servers are alive.
  19.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
  20.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
  21.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:306)
  22.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  23.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  24.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  25.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  26.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  27.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:266)
  28.     at com.yugabyte.sample.apps.SqlInserts.createTablesIfNeeded(SqlInserts.java:83)
  29.     at com.yugabyte.sample.Main.run(Main.java:166)
  30.     at com.yugabyte.sample.Main.main(Main.java:245)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top