Hive / HCatalog Forum
Hcatalog and Hive smoke test failed using HDP2.0 for windows
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.
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.
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