Facing connection issue while running copy in Vertica

PRAGYA SHUKLA

When I am running my COPY script , below error comes: Unable to report error to server:Connection I/O error

This is not just failing but also node goes down with it.

Has anyone ever come across any such issue ? In my copy i am using Fjsonparser. The same script was running fine until today ,today I did 3 reruns all the time query failed and node went down. could there be any data issue ? If yes , what particularly I should be looking for in json that i am trying to copy.

marcothesane

Thanks to your explanation, I can now suggest a remedy:

Take a deviation, by using a flex table , and :

CREATE FLEX TABLE my_flex_test();
COPY my_flex_test FROM '/your/data/directory/your_small_sample_file.json' 
  PARSER fjsonparser(<your_original_parameters>);

This creates a two-column table:

CREATE TABLE my_flex_test (
  __identity__ BIGINT                NOT NULL
, __raw__      LONGVARBINARY(130000) NOT NULL
)
;

Now, you can have Vertica guess types and sizes :

SELECT COMPUTE_FLEXTABLE_KEYS('my_flex_test');

And then (this is a very small example of mine):

SELECT * FROM my_flex_test_keys;
 key_name | frequency | data_type_guess 
----------+-----------+-----------------
 recordid |         2 | Varchar(40)
 fare     |         2 | Numeric(6,3)

Use the data_type_guess suggestions to modify your table columns .

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Facing issue while running Daml scenarios

From Dev

Facing issue while login redirect

From Dev

Facing warning issue while debugging

From Dev

Facing issue while sending "&" in a string

From Dev

facing issue while running docker container from docker-compose.yml file

From Dev

Facing 'NoClassDefFoundError: org/springframework/data/repository/config/BootstrapMode' issue while running the tests

From Dev

Facing urlencoding issue while processing request

From Dev

facing issue while populating/referencing the variable in shell

From Dev

Facing issue while deserializing the http resposne

From Dev

facing issue while formating the JSON Data

From Dev

Facing issue with MFA while adding account to Yodlee

From Dev

Facing issue while installing ruamel.yaml

From Dev

NodeJs facing the issue while using async waterfall

From Dev

Facing issue while installing Cassandra on MacOs

From Dev

Facing issue while calling @viewchild in angular

From Dev

Facing issue while starting Controller in Docker

From Dev

Facing issue while executing the groovy code in JMeter

From Dev

Facing issue while executing the Groovy code

From Dev

Facing an issue while learning logical ML

From Dev

Facing problem in java code while running in terminal

From Dev

Facing Issues While Running Cross Browser Testing

From Dev

Facing ReferenceError while running tests with ScalaJS Bundler

From Dev

Hyperledger fabric 2.0.1 facing issue with connection profile with 4 orderer

From Java

Spring integration : Facing issue while updating the header value again

From Mysql

Facing issue while configuring MySql with apache airflow in Hadoop

From Linux

Facing GCC installation issue while setting up airflow on hadoop cluster

From Mysql

Facing issue while configuring MySql with apache airflow in Hadoop

From Dev

Facing strange issue while executing Oracle Stored procedure

From Dev

Facing an issue while making a lexical analyzer for C++ code in Python

Related Related

  1. 1

    Facing issue while running Daml scenarios

  2. 2

    Facing issue while login redirect

  3. 3

    Facing warning issue while debugging

  4. 4

    Facing issue while sending "&" in a string

  5. 5

    facing issue while running docker container from docker-compose.yml file

  6. 6

    Facing 'NoClassDefFoundError: org/springframework/data/repository/config/BootstrapMode' issue while running the tests

  7. 7

    Facing urlencoding issue while processing request

  8. 8

    facing issue while populating/referencing the variable in shell

  9. 9

    Facing issue while deserializing the http resposne

  10. 10

    facing issue while formating the JSON Data

  11. 11

    Facing issue with MFA while adding account to Yodlee

  12. 12

    Facing issue while installing ruamel.yaml

  13. 13

    NodeJs facing the issue while using async waterfall

  14. 14

    Facing issue while installing Cassandra on MacOs

  15. 15

    Facing issue while calling @viewchild in angular

  16. 16

    Facing issue while starting Controller in Docker

  17. 17

    Facing issue while executing the groovy code in JMeter

  18. 18

    Facing issue while executing the Groovy code

  19. 19

    Facing an issue while learning logical ML

  20. 20

    Facing problem in java code while running in terminal

  21. 21

    Facing Issues While Running Cross Browser Testing

  22. 22

    Facing ReferenceError while running tests with ScalaJS Bundler

  23. 23

    Hyperledger fabric 2.0.1 facing issue with connection profile with 4 orderer

  24. 24

    Spring integration : Facing issue while updating the header value again

  25. 25

    Facing issue while configuring MySql with apache airflow in Hadoop

  26. 26

    Facing GCC installation issue while setting up airflow on hadoop cluster

  27. 27

    Facing issue while configuring MySql with apache airflow in Hadoop

  28. 28

    Facing strange issue while executing Oracle Stored procedure

  29. 29

    Facing an issue while making a lexical analyzer for C++ code in Python

HotTag

Archive