Thanks Bruno for your feedbacks. I will update based on your suggestions.
For JAVA_HOME, I extracted my jdk to /usr/lib/jvm/jdk1.6.0_31, and it
happens not to be in your list of detection list:
/usr/lib/jvm/java-6-sun \
/usr/lib/jvm/java-1.6.0-sun-1.6.0.*/jre/ \
/usr/lib/jvm/java-1.6.0-sun-1.6.0.* \
/usr/lib/j2sdk1.6-sun \
/usr/java/jdk1.6* \
/usr/java/jre1.6* \
/Library/Java/Home \
/usr/java/default \
/usr/lib/jvm/default-java \
/usr/lib/jvm/java-openjdk \
/usr/lib/jvm/jre-openjdk \
/usr/lib/jvm/java-1.6.0-openjdk \
/usr/lib/jvm/java-1.6.0-openjdk-* \
/usr/lib/jvm/jre-1.6.0-openjdk*
I am not sure what is the best way in terms of documenting a fool-proof
steps. But for now I will say either one add the JAVA_HOME or keep your
java in a known list of directory (such as on Mac /Library/Java/Home or
Linux /usr/lib/jvm/default-java).
Thanks,
David
On 3/20/12 2:09 PM, "Bruno Mahé" <[email protected]> wrote:
>On 03/20/2012 03:05 PM, Bruno Mahé wrote:
>> On 03/20/2012 11:03 AM, David Liu (gmail dev) wrote:
>>> I have added a build page for
>>> Ubuntu:
>>>https://cwiki.apache.org/confluence/display/BIGTOP/Building+Bigtop+on+Ub
>>>untu
>>>
>>> Hope it is useful for other users.
>>>
>>> David
>> Great page!
>>
>> One note though:
>> When installing the packages, you shouldn't need to manually set
>> JAVA_HOME, unless you put it in a non-standard location.
>> All wrapper scripts will make use of bigtop-utils to auto-detect
>>JAVA_HOME.
>> See
>>
>>https://github.com/apache/bigtop/blob/trunk/bigtop-packages/src/common/bi
>>gtop-utils/bigtop-detect-javahome
>>
>>
>> Thanks,
>> Bruno
>
>Sorry, I forgot to add:
>
>* sudo hadoop namenode -format => you must format the namenode as the
>user hdfs. So you should type "sudo -u hdfs hadoop namenode -format"
>
>* /usr/lib/hadoop/bin/st{art,op}-all.sh scripts are not supported and
>will be removed soon (as in as soon as someone tackles it). Services
>should be started/stopped through the init scripts located in
>/etc/init.d/hadoop-*