Install git and add the git\bin to the path environment variable. Most of the UNIX/LINUX commands are available in git\bin and from Windows command I can use common Unix shell commands ls -l, rm, grep...
On 12/18/14, Venkat Ramakrishnan <[email protected]> wrote: > Hi Arpit, > > Thanks for responding! > > Thanks for pointing that out. I remember reading in one of the > hadoop or pig wikis that unix-like utilities like CYGWIN are not required > anymore for the > windows installation, so I had skipped it initially. > > Anyway, I have installed both GNUWIN32 and CYGWIN and have > added their bin directory in PATH env variable. Still the same error is > being displayed > that sh.exe cannot be found. > > Note: I cannot find sh.exe in both the bin directories. I did a 'dir /S' > for sh.exe > for both utilities installation path, and I could not find sh.exe anywhere. > I did find 'dash' in CYGWIN though. > > Do I have to tweak hadoop install script somehow to look for dash.exe > instead of sh.exe? > > Thanks, > Venkat. > > > > On Thu, Dec 18, 2014 at 12:10 AM, Arpit Agarwal <[email protected]> > wrote: >> >> Hi Venkat, you will need sh.exe on your path. It is part of the GnuWin32 >> toolset. >> >> See BUILDING.txt in the source tree for details. >> >> On Wed, Dec 17, 2014 at 12:30 AM, Venkat Ramakrishnan < >> [email protected]> wrote: >>> >>> Hello, >>> >>> I am getting an error in 'Project Dist POM', while >>> generating Hadoop 2.6.0 package with Maven 3.2.3. >>> The error says it could not find 'sh'. I am building the >>> package on a windows 7 machine, so I am not sure how to fix this. >>> >>> Logs attached. Any help would be greatly appreciated! >>> >>> Thanks & Best Regards, >>> Venkat Ramakrishnan. >>> >>> >>> >> CONFIDENTIALITY NOTICE >> NOTICE: This message is intended for the use of the individual or entity >> to which it is addressed and may contain information that is >> confidential, >> privileged and exempt from disclosure under applicable law. If the reader >> of this message is not the intended recipient, you are hereby notified >> that >> any printing, copying, dissemination, distribution, disclosure or >> forwarding of this communication is strictly prohibited. If you have >> received this communication in error, please contact the sender >> immediately >> and delete it from your system. Thank You. >
