close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_fs.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Jul 19, 2011, 1:45:43 PM (15 years ago)
- Author:
-
jazz
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v25
|
v26
|
|
| 84 | 84 | * http://hadoop.nchc.org.tw/hadoop-doc/api/index.html - Hadoop 0.20.2 javadoc 文件 |
| 85 | 85 | |
| | 86 | == HBase Local Mode == |
| | 87 | |
| | 88 | * 修改 /etc/hosts |
| | 89 | {{{ |
| | 90 | echo "127.0.0.1 localhost $(hostname)" > hosts |
| | 91 | sudo mv hosts /etc/hosts |
| | 92 | }}} |
| | 93 | * 產生 /opt/hbase/conf/hbase-site.xml |
| | 94 | {{{ |
| | 95 | cat > /opt/hbase/conf/hbase-site.xml << EOF |
| | 96 | <?xml version="1.0"?> |
| | 97 | <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> |
| | 98 | <configuration> |
| | 99 | <property> |
| | 100 | <name>hbase.rootdir</name> |
| | 101 | <value>hdfs://localhost:9000/hbase</value> |
| | 102 | </property> |
| | 103 | </configuration> |
| | 104 | EOF |
| | 105 | }}} |