You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2013/06/29 01:53:20 UTC

[jira] [Updated] (HIVE-4559) hcatalog/webhcat scripts in tar.gz don't have execute permissions set

     [ https://issues.apache.org/jira/browse/HIVE-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eugene Koifman updated HIVE-4559:
---------------------------------

    Attachment: HIVE-4559.patch

HIVE-4559.patch has 2 changes:
1. when copying hcatalog/build tree to dist/hcatalog, set execute bit which ant copy task loses
2. when calling hives 'ant binary' to create .tar.gz, make sure HCat shell scripts have execute bit set.

Tested with ant clean package binary at hive/ level.  All x bits are there.
                
> hcatalog/webhcat scripts in tar.gz don't have execute permissions set
> ---------------------------------------------------------------------
>
>                 Key: HIVE-4559
>                 URL: https://issues.apache.org/jira/browse/HIVE-4559
>             Project: Hive
>          Issue Type: Bug
>          Components: Build Infrastructure, HCatalog
>    Affects Versions: 0.11.0
>            Reporter: Thejas M Nair
>            Assignee: Eugene Koifman
>         Attachments: HIVE-4559.patch
>
>
> After running 'package' target in hive, the sbin/bin files in the package directory created for hcatalog and webhcat don't have execute permissions.
> {code}
> $ ls -l build/dist/hcatalog/bin/
> total 16
> -rw-r--r--  1 thejas  staff  5517 May 14 18:18 hcat
> $ ls -l build/dist/hcatalog/sbin/
> total 64
> -rw-r--r--  1 thejas  staff   4540 May 14 18:18 hcat_server.sh
> -rw-r--r--  1 thejas  staff  10013 May 14 18:18 update-hcatalog-env.sh
> -rw-r--r--  1 thejas  staff   2996 May 14 18:18 webhcat_config.sh
> -rw-r--r--  1 thejas  staff   7136 May 14 18:18 webhcat_server.sh
> {code}

--
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