postgresql - Getting "Error parsing arguments for import " while trying to importing tables from postgres to HDFS? -


i using following command import database :

sqoop import --connect 'jdbc:postgresql://0.0.0.0:5432/toptal?ssl=true&sslfactory=org.postgresql.ssl.nonvalidatingfactory' -p \ --username 'capacityprediction_user'\ --table 'raw_hd' \ --target-dir '/home/raw_hd' 

i new hadoop ,i have followed below link https://www.toptal.com/database/hdfs-tutorial-data-migration-from-postgresql

error getting :

17/09/14 05:32:24 error tool.basesqooptool: error parsing arguments import: 17/09/14 05:32:24 error tool.basesqooptool: unrecognized argument: raw_hd 17/09/14 05:32:24 error tool.basesqooptool: unrecognized argument: --target-dir 17/09/14 05:32:24 error tool.basesqooptool: unrecognized argument: /home/raw_hd 


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -