Issues using sqoop command while listing database

0 votes

I was able to successfully create databases, tables and inserted records into it. Now, I am encountering an issue while executing sqoop command to either list the databases/tables or to insert into HDFS using the command. 

$ sqoop -list-databases \
> --connect jdbc:mysql://mysqld \
> --username root -password edureka;
Warning: /usr/lib/hcatalog does not exist! HCatalog jobs will fail.
Please set to the root of your HCatalog installation.
No such sqoop tool: -list-databases. See sqoop
May 23 in Big Data Hadoop by Richard
16 views

Hi @Richard. Please share the output of the jps command

hey @Jimmy, this is the output you asked for:

$ jps
1943 JobHistoryServer
29191 SecondaryNameNode
1887 NodeManager
28896 NameNode
29001 DataNode
1830 ResourceManager
26480 Jps

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Please use the following command.

sqoop list-databases --connect jdbc:mysql://localhost/ -username root -P

It should work

answered May 23 by Raj

Related Questions In Big Data Hadoop

0 votes
1 answer
0 votes
1 answer

How to overwrite HIVE_HOME while using sqoop?

Sqoop by default takes the HIVE_HOME as ...READ MORE

answered May 15 in Big Data Hadoop by Vidya
18 views
0 votes
1 answer

Getting error message on execution of sqoop command to list database

Please use the sqoop list database syntax ...READ MORE

answered May 23 in Big Data Hadoop by Rashmi
12 views
0 votes
1 answer
0 votes
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
• 9,450 points
1,844 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
• 9,450 points
159 views
0 votes
10 answers

hadoop fs -put command?

copy command can be used to copy files ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Sujay
9,139 views
0 votes
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,260 points
656 views
0 votes
1 answer
0 votes
1 answer

How to decrease load on HBase while importing Sqoop?

Sqoop by default serializes all the input ...READ MORE

answered May 16 in Big Data Hadoop by Yogi
15 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.