On Thu, Mar 22, 2012 at 12:32 PM, David Liu (gmail dev) <[email protected]> wrote: > Hi James, > > The use of /usr/lib/jvm/default-java works as long as the JAVA_HOME is > set. Only tried on Unbuntu though. > I also tried OpenJDK 6 in addition to Sun JDK 6. Installing OpenJDK 6 is > much easier (no need to wget/tar/change defaults). > I will probably file a bug in Hbase, as its jvm detection code doesn't > include /usr/lib/jvm/default-java, along with many others that bigtop's > detection did as Bruno pointed out earlier. > > I tried /etc/init.d/hbase-master start with JAVA_HOME set in > /etc/default/bigtop-utils. It doesn't seem to work. I added env cmd to the > start up script, it cannot find JAVA_HOME (see below). Maybe I am using > the wrong command here to start the services? Can you point me how startup > scripts make use of /etc/default/bigtop-tuils?
This is really weird and concerning. Can you try adding set -x right on the second line after #!/bin/bash in both scripts /etc/init.d/hbase-master and /usr/lib/hbase/bin/hbase and then post the output? Thanks, Roman.
