The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

HDP on Windows – Installation Forum

Slave node host name quirk and Smoketest failure

  • #33859
    John Bunch

    I discovered a quirk in required machine naming convention that isn’t clear in the installation instructions. This applies to version 1.3.

    If I use the FQDN for all machine names in the clusterproperties.txt file, I get the following Powershell error when running start_remote_hdp_services.cmd:

    Master nodes: start
    1 Master nodes successfully started.
    Worker nodes: start HadoopCB3.FloridaKeys.saje
    Invoke-Command : One or more computer names is not valid. If you are trying to
    pass a URI, use the -ConnectionUri parameter or pass URI objects instead of
    At C:\hdp\hadoop\manage_remote_hdp_services.ps1:126 char:15
    + $results = Invoke-Command -ComputerName $nodes -ScriptBlock {
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (System.String[]:String[]) [Inv
    oke-Command], ArgumentException
    + FullyQualifiedErrorId : PSSessionInvalidComputerName,Microsoft.PowerShel

    0 Worker nodes successfully started.

    Each FQDN in the list of nodes can be successfully resolved, pinged, appears in DNS, and otherwise seemed to be correct.

    If I replace the SLAVE_HOSTS list with computer names (HadoopCB2) rather than FQDN’s ( and re-install hadoop, start_remote_hdp_services.cmd works fine.

    After researching the Invoke-Command Powershell command it appears that either computer names or FQDN’s should work, so this seems odd.

    However, even though start_remote_hdp_services.cmd works, Run-SmokeTests.cmd fails with:

    Hadoop smoke test – wordcount using hadoop.cmd file
    The system cannot find the path specified.
    Run-HadoopSmokeTest : Error copying the input file for the Hadoop smoke test
    At line:1 char:1
    + Run-HadoopSmokeTest
    + ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorExcep
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio

The forum ‘HDP on Windows – Installation’ is closed to new topics and replies.

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.