Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.5.0
    • Component/s: scripts
    • Labels:
      None

      Description

      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.

        Issue Links

          Activity

          Hide
          Hudson added a comment -

          Integrated in Accumulo-Trunk #599 (See https://builds.apache.org/job/Accumulo-Trunk/599/)
          ACCUMULO-432 - Adding readlink (with work around for BSDs lack of -f support... stupid bsd) (Revision 1428040)

          Result = UNSTABLE
          vines :
          Files :

          • /accumulo/trunk/bin/accumulo
          Show
          Hudson added a comment - Integrated in Accumulo-Trunk #599 (See https://builds.apache.org/job/Accumulo-Trunk/599/ ) ACCUMULO-432 - Adding readlink (with work around for BSDs lack of -f support... stupid bsd) (Revision 1428040) Result = UNSTABLE vines : Files : /accumulo/trunk/bin/accumulo
          Hide
          Christopher Tubbs added a comment -

          John- I'm also interested in improving packaging... especially for Fedora and CentOS. So, if you wouldn't mind keeping me abreast, or including me in any brainstorming, I'd be appreciative. Ideally, I'd like to do our packaging so well that we set the standard for packaging and delivering Maven projects on Linux.

          Show
          Christopher Tubbs added a comment - John- I'm also interested in improving packaging... especially for Fedora and CentOS. So, if you wouldn't mind keeping me abreast, or including me in any brainstorming, I'd be appreciative. Ideally, I'd like to do our packaging so well that we set the standard for packaging and delivering Maven projects on Linux.
          Hide
          John Vines added a comment -

          I chalk up the majority of this ticket to my lack of understanding of jdeb. I plan on giving the packaging as a whole more loving in the coming months, so expect improvements.

          As for this ticket specifically, I do have a tested Bourne method for resolving links that works on Darwin and ubuntu. I want to test it a bit more and then work on integrating it into our scripts.

          Show
          John Vines added a comment - I chalk up the majority of this ticket to my lack of understanding of jdeb. I plan on giving the packaging as a whole more loving in the coming months, so expect improvements. As for this ticket specifically, I do have a tested Bourne method for resolving links that works on Darwin and ubuntu. I want to test it a bit more and then work on integrating it into our scripts.
          Hide
          Ed Kohlwey added a comment -

          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.

          Show
          Ed Kohlwey added a comment - 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.

            People

            • Assignee:
              John Vines
              Reporter:
              John Vines
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development