Home Forums HDP on Windows – Installation Smoke Test Failing

Tagged: 

This topic contains 1 reply, has 1 voice, and was last updated by  Carolus Holman 9 months, 4 weeks ago.

  • Creator
    Topic
  • #47935

    Carolus Holman
    Participant

    I have a successful installation of HDP 2.0 for Windows, on Windows Server 2012 Datacenter R2. When I run the Smoke Test I get File Not Found errors. It seems the the Powershell Script is not using the Environment Variables to map to the files.

    Sample output:


    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
    tion
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
    n,Run-HadoopSmokeTest

    gci : Cannot find path 'C:\share\hadoop\mapreduce' because it does not exist.
    At C:\hdp\Run-SmokeTests.ps1:62 char:26
    + $hadoopExamplesJAR = gci
    "$ENV:HADOOP_COMMON_HOME\share\hadoop\mapreduce\had ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~
    + CategoryInfo : ObjectNotFound: (C:\share\hadoop\mapreduce:Strin
    g) [Get-ChildItem], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetCh
    ildItemCommand

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #47936

    Carolus Holman
    Participant

    UPDATE: I started the Hadoop command line (click the command line shortcut on the desktop), at the c:\hdp prompt enter: runas /user:hadoop cmd
    enter the password for the hadoop user.

    Then run: hadoop fs -chmod -R 755 /mapred

    This will allow you to run the first part of the smoke tests. I am still getting errors on the Hive Smoke Tests but I suspect it is related to the same permissions errors. This is not in the quick start guide for installing on a single node.
    Hope this helps other Newbies like me..

    Collapse
Viewing 1 replies (of 1 total)