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 in Apache Kafka by oguzhan
• 120 points

edited Sep 7 by MD 97 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 by MD
• 64,820 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
• 10,950 points
721 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
• 10,950 points
1,329 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 9, 2018 in Apache Kafka by Shubham
• 13,450 points
1,226 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 9, 2018 in Apache Kafka by Shubham
• 13,450 points
1,134 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
• 10,950 points
6,062 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
• 10,950 points
924 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyF ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
38,908 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,320 points
2,274 views