[
https://issues.apache.org/jira/browse/OOZIE-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15549726#comment-15549726
]
Rohini Palaniswamy commented on OOZIE-2613:
-------------------------------------------
bq. The issue was that table/partition get create with the current system user
and our testcase was using the 'test' user and they were failing due to
permission issue.
Most likely has to do with the fact that the directories are created with
same permission as the parent. For eg: table directory will be created with
same permissions as database directory and partition directory with same
permissions as table. HCatStorer for example, does chmod/chgrp during commit
phase to ensure that. I assume same is happening here. If you change the owner
of the database directory location in the MiniHCatServer.createDatabase()
method to the test user then it should work without issues.
> Upgrade hive version from 0.13.1 to 1.2.0
> -----------------------------------------
>
> Key: OOZIE-2613
> URL: https://issues.apache.org/jira/browse/OOZIE-2613
> Project: Oozie
> Issue Type: Bug
> Components: core
> Reporter: Abhishek Bafna
> Assignee: Abhishek Bafna
> Priority: Blocker
> Fix For: 4.3.0
>
> Attachments: OOZIE-2613-00.patch, OOZIE-2613-01.patch,
> OOZIE-2613-02.patch, OOZIE-2613-03.patch, OOZIE-2613-05.patch,
> OOZIE-2613-06.patch, OOZIE-2613-07.patch, OOZIE-2613-08.patch,
> OOZIE-2613-09.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)