Reply
Contributor
Posts: 87
Registered: ‎08-07-2017

Unable to uninstall hadoop due to failed dependencies

Hi,

 

I am trying to uninstall hadoop manually that is installed by using rpms, but getting failed due to dependencies error.

 

PFB the logs.

 

rpm -e hadoop-2.5.0+cdh5.3.2+813-1.cdh5.3.2.p0.17.el6.x86_64
error: Failed dependencies:
libhadoop.so.1.0.0()(64bit) is needed by (installed) hadoop-hdfs-2.5.0+cdh5.3.2+813-1.cdh5.3.2.p0.17.el6.x86_64
libhadoop.so.1.0.0()(64bit) is needed by (installed) hadoop-yarn-2.5.0+cdh5.3.2+813-1.cdh5.3.2.p0.17.el6.x86_64
hadoop is needed by (installed) parquet-format-2.1.0+cdh5.3.2+8-1.cdh5.3.2.p0.17.el6.noarch
hadoop is needed by (installed) parquet-1.5.0+cdh5.3.2+62-1.cdh5.3.2.p0.17.el6.noarch
hadoop = 2.5.0+cdh5.3.2+813-1.cdh5.3.2.p0.17.el6 is needed by (installed) hadoop-hdfs-2.5.0+cdh5.3.2+813-1.cdh5.3.2.p0.17.el6.x86_64
hadoop = 2.5.0+cdh5.3.2+813-1.cdh5.3.2.p0.17.el6 is needed by (installed) hadoop-yarn-2.5.0+cdh5.3.2+813-1.cdh5.3.2.p0.17.el6.x86_64
hadoop = 2.5.0+cdh5.3.2+813-1.cdh5.3.2.p0.17.el6 is needed by (installed) hadoop-mapreduce-2.5.0+cdh5.3.2+813-1.cdh5.3.2.p0.17.el6.x86_64

 

Please help me to uninstall the hadoop.

 

Thanks,

Priya

Posts: 606
Topics: 1
Kudos: 142
Solutions: 76
Registered: ‎04-22-2014

Re: Unable to uninstall hadoop due to failed dependencies

@cdhhadoop,

 

This appears to be more of an "rpm" usage question than a hadoop issue.  To skip dependeny checking in "rpm -e", use the --nodeps option:

 

# rpm -e hadoop-2.5.0+cdh5.3.2+813-1.cdh5.3.2.p0.17.el6.x86_64 --nodeps

 

Ben

Highlighted
Contributor
Posts: 87
Registered: ‎08-07-2017

Re: Unable to uninstall hadoop due to failed dependencies

Thanks for reply. One more query, do I need to uninstall all the files and directories too after uninstall?

Thanks,
Priya
Announcements