Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-937

test -e not available on solaris /bin/sh

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: