More edit around getting started and loopback ip

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1413382 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2012-11-25 18:13:57 +00:00
parent 6d03d46845
commit 0579b702ff
2 changed files with 20 additions and 20 deletions

View File

@ -62,12 +62,13 @@ to ensure well-formedness of your document after an edit session.
<title>Basic Prerequisites</title> <title>Basic Prerequisites</title>
<para>This section lists required services and some required system configuration. <para>This section lists required services and some required system configuration.
</para> </para>
<section xml:id="java"> <section xml:id="java">
<title>Java</title> <title>Java</title>
<para>Just like Hadoop, HBase requires at least java 6 from
<para>Just like Hadoop, HBase requires java 6 from <link <link xlink:href="http://www.java.com/download/">Oracle</link>.</para>
xlink:href="http://www.java.com/download/">Oracle</link>.</para>
</section> </section>
<section xml:id="os"> <section xml:id="os">
<title>Operating System</title> <title>Operating System</title>
<section xml:id="ssh"> <section xml:id="ssh">
@ -107,15 +108,7 @@ to ensure well-formedness of your document after an edit session.
</section> </section>
<section xml:id="loopback.ip"> <section xml:id="loopback.ip">
<title>Loopback IP</title> <title>Loopback IP</title>
<para>HBase expects the loopback IP address to be 127.0.0.1. Ubuntu and some other distributions, <para>HBase expects the loopback IP address to be 127.0.0.1. See <xref linkend="loopback.ip"/></para>
for example, will default to 127.0.1.1 and this will cause problems for you.
</para>
<para><filename>/etc/hosts</filename> should look something like this:
<programlisting>
127.0.0.1 localhost
127.0.0.1 ubuntu.ubuntu-domain ubuntu
</programlisting>
</para>
</section> </section>
<section xml:id="ntp"> <section xml:id="ntp">

View File

@ -44,13 +44,20 @@
rows via the HBase <command>shell</command>, and then cleaning rows via the HBase <command>shell</command>, and then cleaning
up and shutting down your standalone HBase instance. The below exercise up and shutting down your standalone HBase instance. The below exercise
should take no more than ten minutes (not including download time).</para> should take no more than ten minutes (not including download time).</para>
<para>Before you start, check you are good on the below prerequisites. <para>Before we proceed, make sure you are good on the below loopback prerequisite.</para>
<orderedlist> <note xml:id="loopback.ip.getting.started">
<listitem><para><xref linkend="java"/></para></listitem> <title>Loopback IP</title>
<listitem><para><xref linkend="ssh"/></para></listitem> <para>HBase expects the loopback IP address to be 127.0.0.1. Ubuntu and some other distributions,
<listitem><para><xref linkend="loopback.ip"/></para></listitem> for example, will default to 127.0.1.1 and this will cause problems for you.
</orderedlist> </para>
</para> <para><filename>/etc/hosts</filename> should look something like this:
<programlisting>
127.0.0.1 localhost
127.0.0.1 ubuntu.ubuntu-domain ubuntu
</programlisting>
</para>
</note>
<section> <section>
<title>Download and unpack the latest stable release.</title> <title>Download and unpack the latest stable release.</title>
@ -112,7 +119,7 @@ starting Master, logging to logs/hbase-user-master-example.org.out</programlisti
<para>All of the above presumes a 1.6 version of Oracle <para>All of the above presumes a 1.6 version of Oracle
<application>java</application> is installed on your machine and <application>java</application> is installed on your machine and
available on your path; i.e. when you type available on your path (See <xref linkend="java" />); i.e. when you type
<application>java</application>, you see output that describes the <application>java</application>, you see output that describes the
options the java program takes (HBase requires java 6). If this is not options the java program takes (HBase requires java 6). If this is not
the case, HBase will not start. Install java, edit the case, HBase will not start. Install java, edit