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?

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0-alpha
    • None
    • build
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment