Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Who agreed with this solution

avatar
Rising Star

retrying.. after deleting everything in /dfs by:

 

cd /dfs

rm -r -f *

 

on each host including the CDh manager server...

 

This actually worked!!! thanks Darren, Thanks DIO.. here are the steps when you need to reinstall from a botched delete of hive or zookeeper and the service add gives you a null pointer exception, (see my prior posts).

 

1)  Stop the cluster

2) delete the cluster

3) cd /dfs on each host

4) rm -r -f *

5) using the manager add the cluster

6) select the hosts tab and select alll hosts

7) choose all the defaults and click continue to start firstrun()

 

results:

 

Command Progress

Completed 20 of 20 steps.

 

Waiting for ZooKeeper Service to initialize

Finished waiting

Details

 

Starting ZooKeeper Service

Completed 1/1 steps successfully

Details

 

Checking if the name directories of the NameNode are empty. Formatting HDFS only if empty.

Sucessfully formatted NameNode.

Details

 

Starting HDFS Service

Successfully started HDFS service

Details

 

Creating HDFS /tmp directory

HDFS directory /tmp already exists.

Details

 

Creating MR2 job history directory

Successfully created MR2 job history directory.

Details

 

Creating NodeManager remote application log directory

Successfully created NodeManager remote application log directory.

Details

 

Starting YARN (MR2 Included) Service

Successfully started service

Details

 

Creating Hive Metastore Database

Created Hive Metastore Database.

Details

 

Creating Hive Metastore Database Tables

Created Hive Metastore Database Tables successfully.

Details

 

Creating Hive user directory

Successfully created Hive user directory.

Details

 

Creating Hive warehouse directory

Successfully created Hive warehouse directory.

Details

 

Starting Hive Service

Service started successfully.

Details

 

Creating Oozie database

Oozie database created successfully.

Details

 

Installing Oozie ShareLib in HDFS

Successfully installed Oozie ShareLib

Details

 

Starting Oozie Service

Service started successfully.

Details

 

Creating Sqoop user directory

Successfully created Sqoop user directory.

Details

 

Starting Sqoop Service

Service started successfully.

Details

 

Starting Hue Service

Service started successfully.

Details

 

 

View solution in original post

Who agreed with this solution