HDP on Windows – Installation Forum

Domain Account

  • #50082
    Dave Warner
    Participant

    It appears that domain accounts as the “hadoop” user are not supported during the installation process. Is it possible to switch the service account to a domain user after installation and are there any plans to allow a domain user from the get-go. Many organizations do not allow local user accounts.

    Thanks in advance.

to create new topics or reply. | New User Registration

  • Author
    Replies
  • #50137
    Vinay Shukla
    Moderator

    Hi Dave,

    HDP on Windows installs as Hadoop user. Are you asking if this user can be changed to Hadoop user in Domain? Have you tried doing it? What steps did you take to migrate the user from local to domain?

    -Vinay

    #50392
    Dave Warner
    Participant

    I was able to install using a domain account (which is issued by a separate group in our organization) by doing the following:

    1. Taking the files located under HadoopInstallFiles (generated during an execution of the msi package).
    2. Revising the HadoopPackages/hdp-2.0.6.0-winpkg/scripts/install.ps1 to not call the create_hadoop_user.ps1 script.
    3. Assigned the domain user the correct rights on the machine (log on as service, etc.).
    4. Creating an installHDP.cmd file that sets the ENV parameters needed and then calls the winpkg.cmd.

    The downside of this approach is that the installation does not appear in registry list of installed programs. However, I was able to install on 5 nodes (and one client) with no difficulty and no issues have arisen.

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.