accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ed Kohlwey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-432) Symlinks to bin/accumulo don't work
Date Tue, 25 Sep 2012 16:48:09 GMT

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

Ed Kohlwey commented on ACCUMULO-432:
-------------------------------------

Supporting symlinks to scripts is difficult, and doing it 100% correctly is physically impossible.
There's some background discussion on this post if you're interested http://mywiki.wooledge.org/BashFAQ/028
. While symlinks work well for binaries, they are bad for shell, particularly bash scripts.

It would be better to have a script for /usr/bin/accumulo (that is part of the data tarball)
that executes /usr/lib/accumulo/bin/accumulo. This is the current approach in Hadoop and it
works well.
                
> Symlinks to bin/accumulo don't work
> -----------------------------------
>
>                 Key: ACCUMULO-432
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-432
>             Project: Accumulo
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 1.4.0
>            Reporter: John Vines
>
> jdeb, which we use for creating our debian files, automatically creates a symlink for
/usr/bin/accumulo. I was unable to find a way to configure this in jdeb. Granted, a symlink
to $ACCUMULO_HOME/bin/accumulo should be made to work, regardless of the state of our debian
packaging.

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