<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    paulwong

    HADOOP1.0.3+HBASE0.94.1偽單機環境配置實錄

    1.在host中加入master 127.0.0.1 

    2.實現無需密碼登錄ssh 

    3.hadoop配置文件 

    core-site.xml 
       <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

    <!-- Put site-specific property overrides in this file. -->

    <configuration>

    <property>
      <name>hadoop.tmp.dir</name>
      <value>/Users/paul/Documents/PAUL/DOWNLOAD/SOFTWARE/DEVELOP/HADOOP/hadoop-tmp-data</value>
      <description>A base for other temporary directories.</description>
    </property>
     
    <property>
      <name>fs.default.name</name>
      <value>hdfs://master:9000</value>
      <description>The name of the default file system.  A URI whose
      scheme and authority determine the FileSystem implementation.  The
      uri's scheme determines the config property (fs.SCHEME.impl) naming
      the FileSystem implementation class.  The uri's authority is used to
      determine the host, port, etc. for a filesystem.</description>
    </property>

    </configuration>

    hdfs-site.xml 

    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

    <!-- Put site-specific property overrides in this file. -->

    <configuration>


    <property>
      <name>dfs.replication</name>
      <value>1</value>
      <description>Default block replication.
      The actual number of replications can be specified when the file is created.
      The default is used if replication is not specified in create time.
      </description>
    </property>

    <!--
      <property>
        <name>dfs.name.dir</name>
        <value>/Users/paul/Documents/PAUL/DOWNLOAD/SOFTWARE/DEVELOP/HADOOP/hadoop-tmp-data/hdfs-data-name</value>
      </property>

      <property>
        <name>dfs.data.dir</name>
        <value>/Users/paul/Documents/PAUL/DOWNLOAD/SOFTWARE/DEVELOP/HADOOP/hadoop-tmp-data/hdfs-data</value>
      </property>
    -->

    </configuration>

    mapred-site.xml 

    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

    <!-- Put site-specific property overrides in this file. -->

    <configuration>


    <property>
      <name>mapred.job.tracker</name>
      <value>master:9001</value>
      <description>The host and port that the MapReduce job tracker runs
      at. If "local", then jobs are run in-process as a single map
      and reduce task.
      </description>
    </property>

    <property>
    <name>mapred.tasktracker.tasks.maximum</name>
    <value>8</value>
    <description>The maximum number of tasks that will be run simultaneously by a
    a task tracker
    </description>
    </property>

    </configuration>

    masters/slaves 
    master 

    4. 格式化namenode 

    5. 啟動hadoop 

    6. hbase配置文件 

    hbase-site.xml 

    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
    <!--
    /**
     * Copyright 2010 The Apache Software Foundation
     *
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */Users/paul/Documents/PAUL/DOWNLOAD/SOFTWARE/DEVELOP/HADOOP/hadoop-tmp-data
     */

    -->
    <configuration>

      <property>
        <name>hbase.rootdir</name>
        <value>hdfs://master:9000/hbase</value>
      </property>

      <property>
        <name>hbase.cluster.distributed</name>
        <value>true</value>
      </property>

      <property>
        <name>hbase.zookeeper.quorum</name>
        <value>localhost</value><!--單機配這個-->
      </property>

    </configuration>

    7. 啟動hbase

    posted on 2012-10-01 22:15 paulwong 閱讀(837) 評論(0)  編輯  收藏 所屬分類: 云計算HBASE

    主站蜘蛛池模板: 久久久久无码专区亚洲av| 午夜dj免费在线观看| 久久亚洲高清综合| 免费一级毛片在线播放视频免费观看永久 | 久久这里只精品99re免费| 国产乱辈通伦影片在线播放亚洲 | 最近的中文字幕大全免费8| 久久精品国产亚洲av成人| 一个人看的www免费视频在线观看| 亚洲综合色婷婷七月丁香| 东北美女野外bbwbbw免费| 亚洲一区无码中文字幕| 国产精品免费看久久久| 亚洲最大在线观看| 最近的中文字幕大全免费版| 亚洲国产精品日韩av不卡在线| 国产无遮挡吃胸膜奶免费看视频| 免费播放美女一级毛片| 久久亚洲2019中文字幕| 无码人妻久久一区二区三区免费 | 国产精品免费综合一区视频| 乱淫片免费影院观看| 亚洲精品午夜无码专区| 亚洲第一网站免费视频| 亚洲熟女精品中文字幕| 亚洲成av人片天堂网老年人| 青柠影视在线观看免费高清| 亚洲免费人成视频观看| 日本免费人成视频播放| 久久免费香蕉视频| 亚洲成综合人影院在院播放| 最好免费观看韩国+日本 | 2019中文字幕在线电影免费 | 男男gay做爽爽免费视频| 久久精品国产精品亚洲精品| 国产精品免费观看| 日韩精品视频在线观看免费| 久久亚洲AV成人无码电影| 日韩中文字幕在线免费观看| 中文字幕无码日韩专区免费| 亚洲日本VA中文字幕久久道具|