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

Hive / HCatalog Forum

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

  • #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 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 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.

The forum ‘Hive / HCatalog’ 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.