Hcatalog and Hive smoke test failed using HDP2.0 for windows

to create new topics or reply. | New User Registration

This topic contains 0 replies, has 1 voice, and was last updated by  Diane Lai 1 year, 1 month ago.

  • Creator
  • #49022

    Diane Lai

    I recently installed HDP2.0 for windows. The installation was successful and when I tried to run the smoketest as a user of hadoop, two service failed which are Hcatalog and Hive. The error message shown below:

    FAILED:Authorization failed:java.security.AccessControlException: action WRITE not permitted on path hdfs://WINDOWS2012:8020/ for user hadoop. Use show grant to get more details. Run-HiveSmokeTest : Hive Smoke Test: FAILED At line:1 char:1 + Run-HiveSmokeTest + ~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Run-HiveSmokeTest

    FAILED: AuthorizationException java.security.AccessControlException: action WRITE not permitted on path hdfs://WINDOWS2012:8020/ for user hadoop Run-HCatalogSmokeTest : HCatalog Smoke Test: FAILED At line:1 char:1 + Run-HCatalogSmokeTest + ~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Run HCatalogSmokeTest

    However, when I run smoketest as a user of administrator, Hcatalog and Hive smoketest will pass the tests but hadoop and pig smoketests will fail. I am thinking it may something related to permission, but I am not sure. Could anybody help me? Thank you very much!!

    PS: I meet a strange thing. When I run the smoketest and made the output to the command line interface, it just show the hadoop test result. However, when I run the smoketest and made the result to a output file, it will show all other services’ test result such as hive, pig…besides the hadoop test result.

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

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.