You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Ed Kohlwey (JIRA)" <ji...@apache.org> on 2012/09/25 18:48:09 UTC

[jira] [Commented] (ACCUMULO-432) Symlinks to bin/accumulo don't work

    [ 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