Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8556

Can we replace 'which' with 'type' in compile-proto.sh and compile-test-proto.sh?

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: None
    • Component/s: build
    • Labels:
    • Environment:

      uname -a:
      SunOS xxxxxxxx 5.10 xxxxxxxx sun4u sparc SUNW,SPARC-Enterprise

      javac -version:
      javac 1.6.0_10

      Description

      Maven build is failing as 'which' is always returning 0 on Solaris.
      Can we replace 'which' with 'type' (in pom.xml)?

      I have tested on Solaris and Linux, and seems it's working. However, I can't test it on cygwin.

      Note: This is my first issue. Please point to some resources in case of any mistakes. Thakns in advance!

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              chennareddy Chenna Reddy Alavala
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: