Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oetl.sh hangs after running .json file #8447

Closed
ismaelpernas opened this issue Aug 2, 2018 · 3 comments
Closed

oetl.sh hangs after running .json file #8447

ismaelpernas opened this issue Aug 2, 2018 · 3 comments
Assignees
Labels
Milestone

Comments

@ismaelpernas
Copy link

OrientDB Version: 3.0.4

Java Version: 1.8.0_121

OS: CentOS 6.8

Expected behavior

After running oetl.sh command it should end process and return control.

Actual behavior

when I run an oetl.sh that extracts data from PostgreSQL to OrientDB the command doesn't exit and hangs permanently on the last line.

[vagrant@ms-development bin]$ ./oetl.sh /<PATH_TO_FILE>/Jurisdiction.json
OrientDB etl v.3.0.4 - Veloce (build 4578b51, branch 3.0.x) https://www.orientdb.com
2018-08-01 15:21:31:341 INFO Detected limit of amount of simultaneously open files is 4096, limit of open files for disk cache will be set to 1536 [ONative]
2018-08-01 15:21:31:343 WARNI Value of limit of simultaneously open files is too small, recommended value is 262144 [ONative]dbName = map
2018-08-01 15:21:31:580 INFO BEGIN ETL PROCESSOR [OETLProcessor]
2018-08-01 15:21:31:595 INFO Started execution with 1 worker threads [OETLProcessor]
2018-08-01 15:21:32:118 INFO END ETL PROCESSOR [OETLProcessor]
2018-08-01 15:21:32:119 INFO + extracted 9 records (0 records/sec) - 9 records -> loaded 4 vertices (0 vertices/sec) Total time: 539ms [0 warnings, 0 errors] [OETLProcessor]

We have a process that goes through many .json files one by one. Because of this, our process that executes all the etl .json files is hanging waiting on the first one to finish. Doing the same on 2.2.17 did exit the command execution and was able to continue processing files.

Note: entries were created as expected.

@cloudloveseven
Copy link

@ismaelpernas yes,I get the same question ,when i execute oetl.sh-xxx.json then the process hanging up . Do you have any idea about this issue now?

@ismaelpernas
Copy link
Author

I raised it with @luigidellaquila but I haven't got any update on it unfortunately.

@luigidellaquila, do we have a timeline for it?

@luigidellaquila
Copy link
Member

Hi guys,

sorry for the long silence, I just fixed this problem and pushed the fix on both 3.0.x and develop branches. The snapshots are already available, v 3.0.6 will be released next week with the fix

Thanks

Luigi

@luigidellaquila luigidellaquila self-assigned this Aug 9, 2018
@luigidellaquila luigidellaquila added this to the 3.0.6 milestone Aug 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants