ERROR tool BaseSqoopTool Error parsing arguments for import ERROR tool BaseSqoopTool Unrecognized argument -topic

0 votes

I am trying to send data from oracle to the Kafka topic and I want to use Sqoop between oracle and Kafka. there is a sqoop-kafka connector but there is no explanation of how to write sqoop kafka link I am trying to write in this way but I am getting error.

$ sqoop import --connect "jdbc:oracle:thin:@IP:1521/dbname --username user --password pass --table result --topic testing
ERROR tool.BaseSqoopTool: Error parsing arguments for import:
ERROR tool.BaseSqoopTool: Unrecognized argument: -topic
ERROR tool.BaseSqoopTool: Unrecognized argument: test

and also I tried this and I also get an error.

$ sqoop import --connect "jdbc:oracle:thin:@IP:1521/dbname --username user --password pass --table result --broker-list IP --topic testing
Sep 5, 2020 in Apache Kafka by oguzhan
• 120 points

edited Sep 7, 2020 by MD 1,150 views

1 answer to this question.

0 votes

Hi@oguzhan,

I have checked the Sqoop document, but I wasn't able to find --topic argument. Might be this is the reason you got the above error. So remove the argument and try once.

answered Sep 7, 2020 by MD
• 95,460 points

Related Questions In Apache Kafka

0 votes
1 answer

Is there any change in consumer offsets if a new partition(s) is added to a Kafka topic?

Yes, it stays the same. An offset is ...READ MORE

answered Jul 9, 2018 in Apache Kafka by nitinrawat895
• 11,380 points
2,392 views
0 votes
1 answer

Kafka topic not being deleted

By default in Kafka version 0.10, delete.topic.enable ...READ MORE

answered Jul 9, 2018 in Apache Kafka by nitinrawat895
• 11,380 points
3,059 views
0 votes
1 answer

Re-balancing error while reading messages from Kafka.

rebalance.backoff.ms defines the time for which Kafka ...READ MORE

answered Jul 10, 2018 in Apache Kafka by Shubham
• 13,490 points
2,900 views
0 votes
1 answer

How to commit message offsets in Kafka for reliable data pipeline?

You can use auto.commit.enable to allow Kafka ...READ MORE

answered Jul 10, 2018 in Apache Kafka by Shubham
• 13,490 points
3,575 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
11,027 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
2,534 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
108,828 views
–1 vote
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,350 points
4,611 views
+1 vote
14 answers

How can I delete all the messages from a Kafka topic?

To delete all the messages from a Kafka topic.  There are many approach ...READ MORE

answered Jun 19, 2020 in Apache Kafka by PAWAN
• 380 points
229,412 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP