HDP on Windows – Installation Forum

HDP 1.3 installtion Failed on Windows 2012

  • #33529


    I’m trying to install HDP 1.3 on Windows Server 2012 and I’m getting this error. Could someone tell me what I’m missing there. kr,

    CREATE-USER: Logging to existing log C:\HadoopInstallFiles\HadoopSetupTools\hdp-
    CREATE-USER: Logging to C:\HadoopInstallFiles\HadoopSetupTools\hdp-
    CREATE-USER: HDP_INSTALL_PATH: C:\HadoopInstallFiles\HadoopPackages\hdp-\scripts
    CREATE-USER: HDP_RESOURCES_DIR: C:\HadoopInstallFiles\HadoopPackages\hdp-\resources
    CREATE-USER: UserGroup not provided. Using default UserGroup HadoopUsers.
    CREATE-USER: Setting password for hadoop
    CREATE-USER: Granting SeCreateSymbolicLinkPrivilege
    CREATE-USER: C:\HadoopInstallFiles\HadoopPackages\hdp-\resources\installHelper2.exe -u WIN2012\hadoop +r SeCreateSymbolicLinkPrivilege
    CREATE-USER FAILURE: Failed to grant SeCreateSymbolicLinkPrivilege
    HDP FAILURE: Failed to create Hadoop user
    WINPKG FAILURE: HDP: Reading HDP layout from C:\Users\Admin\Downloads\hdp-\clusterproperties.txt WARNING: Target path doesn’t contains drive identifier, checking skipped WARNING: Target path doesn’t contains drive identifier, checking skipped HDP: Following properties will be exported into the environment HDP: Property Value HDP: ——– —– HDP: OOZIE_DB_NAME oozie HDP: OOZIE_DB_USERNAME oozie HDP: WEBHCAT_HOST WIN2012 HDP: OOZIE_SERVER_HOST WIN2012 HDP: OOZIE_DB_PASSWORD oozie HDP: FLUME_HOSTS WIN2012 HDP: ZOOKEEPER_HOSTS WIN2012 HDP: DB_HOSTNAME WIN2012 HDP: HDP_LOG_DIR c:\hadoop\logs HDP: HIVE_DB_NAME hive HDP: HIVE_DB_USERNAME hive HDP: HIVE_SERVER_HOST WIN2012 HDP: DB_PORT 1527 HDP: DB_FLAVOR derby HDP: HBASE_MASTER WIN2012 HDP: SLAVE_HOSTS …

to create new topics or reply. | New User Registration

  • Author
  • #33598
    Seth Lyubich

    Hi Arcondo,

    Can you please make sure that you running installer in Administrator mode?

    Please let us know if this is helpful.




    I’m following single node installation guide. So I fired Powershell in administrator mode and then I picked up the install command as depicted in the guide.

    is it the right way ?


    Seth Lyubich

    Hi Kr,

    Can you please check file C:\HadoopInstallFiles\HadoopSetupTools\hdp- to see if there is more information why user hadoop could not be created?

    Also, can you please try with command prompt instead by right-clicking icon and selecting “Run as Administrator”? Can you try adding your account to Administrators group?

    The only known issues I know if you don’t have proper privileges, or if you try to install single node cluster on domain controller, where no local users can be created.

    You can check if you have sufficient privileges by checking if you can add symbolic link manually:

    Launch secpol.msc via Start or Start → Run.

    Open Security Settings → Local Policies → User Rights Assignment.

    In the list, find the “Create symbolic links” item, which represents SeCreateSymbolicLinkPrivilege.

    Double-click on the item and test adding yourself or other user to this property.

    Please let me know if this is helpful.




    I tried everything without success.
    So I followed the install and found out where the error is coming from :

    When analyzing the log I saw this :

    C:\HadoopInstallFiles\HadoopPackages\hdp-\resources\installHelper2.exe -u WIN2012\hadoop +r SeCreateSymbolicLinkPrivilege

    Where WIN2012 is refering to the Computer Name. But when I went to Active directory, I saw that Hadoop was created by the script Under my controller domain : AB (AB\Hadoop)

    So I decided to run only the command above by replacing WIN2012 by AB and it was a success.

    question : How I can get rid of the “computer name” from the command above ?

    Thanks for your feedback.


    Hello Hortonworks folks

    For Windows 2012 the Hadoop User creation script is wrong (see my previous post). Would you please correct it or provide a workaround.

    Thanks in advance.

    Seth Lyubich

    Hi Arcondo ,

    I will try to reproduce this. Can you please confirm if you trying to install HDP on the same node as Domain Controller?




    Indeed, I’m trying to install it in the domain controller (single node install). I heard that we cannot install it in domain controller. is it still the case for HDP 1.3 ?


    Seth Lyubich

    Hi Arcondo ,

    HDP installer creates a local Hadoop account with the installation. It is not possible to create local account on the Domain Controller and that is why you are seeing this issue. Most of the time it is not advisable to install any additional software on the Domain Controller. Please let me know if you have a specific use case to do so.

    You can try to create another machine, join it to domain, and try installation again.

    Hope this helps and let me know if this is useful.


    Y U

    Hi All

    Could any one be able to resolve this issue?
    CREATE-USER: C:\HadoopInstallFiles\HadoopPackages\hdp-\resources\installHelper2.exe -u NAMENODE1\hadoop +r SeCreateSymbolicLinkPrivilege

    Our Enivornment
    NameNode – windows 2012 R2
    DataNode1 – windows 2012 R2
    DataNode2 – windows 2012 R2

    domain : hdpcss.namenode1.testdns.com

    Thanks and appreciate your help

    The Welder

    I know I’ve read something about this before… You need to have privilege enough to create symbolic links. I take it you’re not running as administrator when doing this?

    Y U

    Thanks for ur reply
    I’m running installation thru Administrator user and this user is from domain admin group.
    I’ve tried in Virtualbox,VMWare with win 2008 R2 & win2012 R2 but the result is same.
    “failed to grant secreatesymboliclinkprivilege”. this is frustrating

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.