<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 閱讀(838) 評論(0)  編輯  收藏 所屬分類: 云計算HBASE

    主站蜘蛛池模板: 久久久www成人免费毛片| 亚洲欧美成aⅴ人在线观看| 亚洲视频在线不卡| 日韩亚洲一区二区三区| 黄网站在线播放视频免费观看| 精品在线观看免费| 日本在线免费播放| 国产亚洲真人做受在线观看| 一个人免费观看视频在线中文| 亚洲 国产 图片| 国产亚洲人成网站在线观看不卡| 有码人妻在线免费看片| 国产婷婷高清在线观看免费| 久久久久亚洲av成人无码电影 | 日韩中文字幕在线免费观看| 亚洲阿v天堂在线| 国产精品亚洲二区在线| 亚洲精品99久久久久中文字幕| 久草免费福利在线| 亚洲免费在线视频| 久久久久久国产a免费观看黄色大片 | 日本免费久久久久久久网站| 亚洲午夜精品久久久久久人妖| 131美女爱做免费毛片| 国产高清免费在线| 人妻18毛片a级毛片免费看| 国产精品亚洲一区二区三区在线| 久久黄色免费网站| 亚洲熟女乱色一区二区三区 | 2020天堂在线亚洲精品专区| 香蕉高清免费永久在线视频| 五月天婷婷免费视频| 日韩亚洲AV无码一区二区不卡| 999国内精品永久免费视频| 337p日本欧洲亚洲大胆人人| 夜夜春亚洲嫩草影院| 性短视频在线观看免费不卡流畅| 日韩亚洲翔田千里在线| 亚洲AV无码乱码国产麻豆 | 国产一卡2卡3卡4卡无卡免费视频 国产一卡二卡3卡四卡免费 | 一个人免费观看视频在线中文 |