HDP on Windows – Installation Forum

HDP Installation – Windows Server 2012 – bootstrap_uninstall.cmd not found

  • #43442

    Hi,
    I have a Windows server 2012 64 bit machine. I initially installed HDP for Windows 1.3.0 in my machine. When I ran the SmokeTest, the master & regionserver for Hive were not starting. So I uninstalled HDP ( by clicking uninstall from control panel) and removed all the exisitng folders under the hdp_dir ( C:\hdp\hadoop).
    Unfortunately, I also deleted the folders HadoopInstallFiles\HadoopSetupTools and all the files under this folder :(
    After this uninstall, the HDP was still present under Control Panel, So I have removed the reg key for HDP from registry.
    Now when I try to re-install HDP using command line, I am not able to install.
    When checked the log file, it is trying to search for C:\HadoopInstallFiles\HadoopSetupTools\bootstrap_uninstall.cmd and the installation is failing.
    I am assuming when we run the installer .msi, the HadoopInstallFiles & HadoopSetupTools folders will be created. But before going to this step, the installation is failing by searching for that bootstrap_uninstall.cmd.

    Is there a way to skip this step or get the files under HadoopSetupTools ?
    I am really stuck on this.

    Thanks
    Karthick

to create new topics or reply. | New User Registration

  • Author
    Replies
  • #43556
    Seth Lyubich
    Moderator

    Hi Karthick,

    Thank you for trying HDP.

    For HBase issue please see:

    http://hortonworks.com/community/forums/topic/hdp-1-3-flumeagent-and-hbase-services-will-not-start/#post-33021

    some suggestions from post above:

    1) Uninstalled HDP 1.3 from server
    2) Removed all old files from install folders
    3) From my Environmental Variable Path I removed all paths which has like C:\Program files (x86)\SQL
    4) Reinstalled HDP 1.3

    Regarding un-installation issue – can you please make sure that you successfully removed HDP from registry? Can you make sure that you can no longer see it in All Programs in Control Panel?

    Hope this helps.

    Thanks,
    Seth

    #43606

    Hi Seth,

    I have removed the HDP entry from Registry. I searched for the reg key which i removed and it was not found.
    Also, in the control panel under programs, I no longer see the HDP entry.
    Is there any way to get the files under HadoopSetupTools folder ?

    Thanks
    Karthick

    #43642
    Seth Lyubich
    Moderator

    HI Karthick,

    I have not seen this issue before, but you can try to put the files in the folder from other installation. If you don’t have files I can send it to you.

    Thanks,
    Seth

    #43724

    Hi Seth,

    I got the files somehow. Thank you. After placing the files under the HadoopInstallFiles/HadoopSetupTools, I ran the install command again.
    Install again failed saying No Cluster Properties found.
    What I dont understand is why the installer is running the C:\HadoopInstallFiles\HadoopPackages\hdp-1.3.0.0-winpkg\scripts\uninstall.ps1.
    When I looked at this file, under the Main function as a first step it looks for cluster.properties under the HADOOP_NODE_INSTALL_ROOT path.
    So, I created this env variable with C:\hdp\hadoop and placed the cluster properties in this path.
    When I ran again, it started looking for all the installed files.
    So, I guess the HDP is not completely uninstalled or some property is set because the installer seems to think HDP is installed.
    Is there any way to override the installer and make it only install ?

    Also, I looked at the below thread,
    http://hortonworks.com/community/forums/topic/install-not-seeing-cluster-file/
    it says, if the hadoop user is already present then the installation will fail.
    I am not sure if the hadoop user is present. I checked the User accounts and it was not present
    Is there other way to check if hadoop user is present ? and if so how to remove it ?

    Under the HadoopInstallFiles/HadoopPackages we have two folders resources & scripts and I see all the individual scripts and zip files
    Is there any other manual step by step process to install using these individual files ?

    Thanks for your help!!!

    Karthick

    #43873
    Seth Lyubich
    Moderator

    Hi Karthik,

    Please check http://hortonworks.com/community/forums/topic/can-not-uninstall-re-install/ to see if this is helpful.

    Thanks,
    Seth

You must be to reply to this topic. | Create Account

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.