neo4j-etl icon indicating copy to clipboard operation
neo4j-etl copied to clipboard

How do you specify the “—output-mapping-file” path

Open spocyber opened this issue 6 years ago • 7 comments

image

COMMAND: java -cp "C:\Users\FAS01.Neo4jDesktop\graphApps\neo4j-etl-ui/dist/neo4j-etl.jar" org.neo4j.etl.NeoIntegrationCli generate-metadata-mapping --rdbms:url "jdbc:mysql://192.168.249.241:3306/btc?autoReconnect=true&useSSL=false&useCursorFetch=true" --rdbms:password "neo4j" --rdbms:user "root" --schema "btc" --output-mapping-file "undefined/import/mysql_btc_btc_mapping.json"

  • Skipping reading import options from file because file [] doesn't exist.
  • Command failed due to error (FileNotFoundException: undefined\import\mysql_btc_btc_mapping.json (������ ��θ� ã�� �� �����ϴ�)). Rerun with --debug flag for detailed diagnostic information.

The above error occurs when the “Start Mapping” button is pressed. How do you specify the “—output-mapping-file” path? Client OS : Windows 7 Neo4j Server OS : Ubuntu 14.04 mysql Server OS : Ubuntu 14.04

spocyber avatar Sep 28 '18 01:09 spocyber

Hi edward3132, I got exaclty the same issue, did you find a solution ? Thanks

oneplanetliving avatar Feb 18 '19 15:02 oneplanetliving

I am on Ubuntu 16.04, postgres/cocroachDB and have the same issue

vadimio avatar Feb 21 '19 01:02 vadimio

@albertodelazzari could you have a look?

jexp avatar Feb 25 '19 19:02 jexp

I am on Ubuntu 16.04, postgres/cocroachDB and have the same issue

Just to be more precise if someone is going to debug it: os: Ubuntu 16.04, 64 bit. Linux ucd 4.4.0-142-generic #168-Ubuntu neo4j: running in docker with locally mapped folders, version 3.5.3, community edition neo4j-desktop: 1.1.15

Log (replaced user name and password with "xxxxx" for security reasons) COMMAND: java -cp "/home/xxxx/.config/Neo4j Desktop/Application/graphApps/neo4j-etl-ui/dist/neo4j-etl.jar" org.neo4j.etl.NeoIntegrationCli generate-metadata-mapping --rdbms:url "jdbc:postgresql://localhost:26257/everysheep?ssl=false" --rdbms:password "xxxxxxx" --rdbms:user "root" --output-mapping-file "undefined/import/postgresql_everysheep_mapping.json"

  • Skipping reading import options from file because file [] doesn't exist.
  • Command failed due to error (FileNotFoundException: undefined/import/postgresql_everysheep_mapping.json (No such file or directory)). Rerun with --debug flag for detailed diagnostic information.

vadimio avatar Feb 25 '19 21:02 vadimio

Are you using a local or remote Neo4j database?

jexp avatar Feb 26 '19 01:02 jexp

I am running docker image of latest neo4j in a VirtualBox. So, it would be behaving as a remote neo4j

On Mon, Feb 25, 2019 at 5:08 PM Michael Hunger [email protected] wrote:

Are you using a local or remote Neo4j database?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/neo4j-contrib/neo4j-etl/issues/28#issuecomment-467250389, or mute the thread https://github.com/notifications/unsubscribe-auth/AM3I40vjlBb5ei32Jza1weM7BjxBV6cWks5vRIkjgaJpZM4W9t4Q .

vadimio avatar Feb 26 '19 04:02 vadimio

Sorry the ETL tool currently only works with "local" desktop databases, as desktop doesn't provide a local directory for remote db's. We will address that in one of the next releases.

jexp avatar Feb 26 '19 07:02 jexp