ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-937

test -e not available on solaris /bin/sh

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.0, 3.3.1, 3.3.2
    • Fix Version/s: 3.4.0
    • Component/s: scripts
    • Labels:
      None
    • Environment:

      SunOS xxx 5.10 Generic_142901-13 i86pc i386 i86pc Solaris

    • Hadoop Flags:
      Reviewed

      Description

      test -e FILENAME is not support on /bin/sh in solaris. This is used in bin/zkEnv.sh. We can substitute test -f FILENAME. Attaching a patch.

      1. zk_solaris_zkEnv.patch
        0.3 kB
        Erik Hetzner
      2. zk_solaris_zkEnv.patch
        0.3 kB
        Erik Hetzner

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Erik Hetzner
            Reporter:
            Erik Hetzner
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development