hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5322) FsPermission is initialized incorrectly in HIVE 5513
Date Thu, 19 Sep 2013 22:20:53 GMT

    [ https://issues.apache.org/jira/browse/HIVE-5322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13772386#comment-13772386
] 

Thejas M Nair commented on HIVE-5322:
-------------------------------------

Committed to trunk and 0.12 branch. THanks [~mwagner] for the contribution and the very quick
turn around!

[~appodictic] Sorry, I saw your comment only after committing the patch. Yes, a unit test
for checking if the permission setting of scratch dir works would be useful. Shall I create
a follow up jira for that and mark this as resolved?


                
> FsPermission is initialized incorrectly in HIVE 5513
> ----------------------------------------------------
>
>                 Key: HIVE-5322
>                 URL: https://issues.apache.org/jira/browse/HIVE-5322
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.12.0, 0.13.0
>            Reporter: Thejas M Nair
>            Assignee: Mark Wagner
>            Priority: Blocker
>             Fix For: 0.12.0, 0.13.0
>
>         Attachments: HIVE-5322.1.patch
>
>
> The  change in HIVE-5313 converts the octal string into short using Short.parseShort(scratchDirPermission)
but Short.parseShort function expects decimal. So "700" gets converted to 700 instead of 448.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message