|
|
+
sumit ghosh 2011-12-07, 07:12
+
Mikhail Bautin 2011-12-07, 07:25
+
sumit ghosh 2011-12-07, 09:24
+
Michael Segel 2011-12-07, 10:07
+
sumit ghosh 2011-12-07, 10:18
-
Re: Installing HBaseMikhail Bautin 2011-12-07, 18:24
Hi Sumit,
"#!/usr/bin/env bash" will search for bash on the configured PATH, while #!/usr/bin/bash assumes that the bash binary is in /usr/bin. In any way, bash should probably run fine on AIX, even if you have to compile it from sources. I suggest that you install bash into /bin/bash or /usr/bin/bash, though. Thanks, --Mikhail On Wed, Dec 7, 2011 at 2:18 AM, sumit ghosh <[EMAIL PROTECTED]> wrote: > Hi Michael, > > Thanks for the impact analysis of running HBase on AIX. > > There is no /usr/bin/bash on the system. But I am not clear of the > difference between #!/usr/bin/bash and #!/usr/bin/env bash > > Warm Regards, > Sumit > > > > ________________________________ > From: Michael Segel <[EMAIL PROTECTED]> > To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > Sent: Wednesday, 7 December 2011 3:37 PM > Subject: Re: Installing HBase > > First don't use AIX. > It's nothing against IBM, except that you will find that you are going to > run unsupported unless you run the apache release and IBM is selling you > support and you will end up with a derivative. > > Second, convince a bunch of open source contributors to switch to ksh. > (good luck on that.) > > Third, you could install bash on AIX, good luck with that. > > The point is that either you are going to have to do a lot of extra work, > ending up with a derivative, all on a system which you are trying to learn. > > Note that you could install bash... > However you asked whats the difference between /usr/bin/bash and > /usr/bin/env bash. > Good question. > > Assuming that /usr/bin/bash exists, it would imply that you already have > bash on the system. > > So if you first type in /usr/bin/bash what happens? > > If you get a bash shell prompt, then try and run the script. If it runs, > then you need to change your user shell. > > HTH > -Mike > > Sent from my iPhone > > On Dec 7, 2011, at 3:26 AM, "sumit ghosh" <[EMAIL PROTECTED]> wrote: > > > Hi Mikhail, > > > > I am installing HBase on an AIX machine. It has ksh and sh but no bash. > Hence when it encounters #!/usr/bin/env bash the script gives an error. > bash: A file or directory in the path name does not exist. > > > > How is #!/usr/bin/bash different from #!/usr/bin/env bash > > > > As Harsh says that the scripts wont run - they are not running. In such > a case 14 scripts from HBase, a similar set for Hadoop will need to be > changed and any other related sub-project in future. Are there any more > changes that will be needed? > > > > Thanks, > > Sumit. > > > > > > ________________________________ > > From: Mikhail Bautin <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED]; sumit ghosh <[EMAIL PROTECTED]> > > Sent: Wednesday, 7 December 2011 12:55 PM > > Subject: Re: Installing HBase > > > > > > Hi Sumit, > > > > Could you please provide more details about this environment? What > operating system are you using? HBase is most frequently deployed on Linux, > and many developers run it on Mac OS X locally for testing. It is also > possible to run HBase on Windows using Cygwin ( > http://hbase.apache.org/docs/r0.20.6/cygwin.html) -- Cygwin provides a > UNIX-like environment on Windows, which includes bash. > > > > Thanks, > > --Mikhail > > > > > > On Tue, Dec 6, 2011 at 11:12 PM, sumit ghosh <[EMAIL PROTECTED]> wrote: > > > > Hi, > >> > >> I was trying to run HBase in an environment where there is no bash. > Will it stll work fine? > >> > >> Thanks, > >> Sumit > +
Harsh J 2011-12-07, 08:44
|