# 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. # install repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch repo --name=updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch #trunk repo --name=bigtop --baseurl=http://bigtop01.cloudera.org:8080/job/Bigtop-hadoop-0.23-Repository/label=fedora16/lastSuccessfulBuild/artifact/repo/ --noverifyssl #RCs #repo --name=bigtop --baseurl=http://bigtop01.cloudera.org:8080/job/Bigtop-RCs-Repository/./label=fedora16//lastSuccessfulBuild/artifact/repo/ lang en_US.UTF-8 keyboard us rootpw --plaintext bigtop firewall --disabled authconfig --enableshadow --enablemd5 selinux --disabled timezone --utc America/Los_Angeles xconfig --startxonboot part / --size 4096 --fstype ext4 %packages @base @base-x @core @java @kde-desktop @admin-tools @graphical-internet @hardware-support @fonts @input-methods #@development-tools #@development-libs #@engineering-and-scientific #-gnome-* -verne-backgrounds-gnome -transmission-* -opencv -marble-* -marble -kdegames-* -k3b* -akonadi* -scribus grub-efi grub2 efibootmgr vim-enhanced vim-X11 hadoop hadoop-conf-pseudo hbase hbase-master hbase-doc hbase-regionserver hbase-thrift hive hive-metastore hive-server sqoop sqoop-metastore flume flume-node mahout pig oozie oozie-client whirr zookeeper zookeeper-server %end %post /usr/sbin/adduser --create-home bigtop passwd -d bigtop echo 'install ipv6 /bin/true' >> /etc/modprobe.d/disable-ipv6.conf echo 'bigtop ALL=NOPASSWD: ALL' >> /etc/sudoers cat > /etc/sysconfig/desktop < /home/bigtop/.dmrc < /home/bigtop/.kde/share/config/nepomukserverrc < /home/bigtop/.kde/share/config/apper < /home/bigtop/Desktop/HDFS < /home/bigtop/Desktop/MapReduce < /home/bigtop/Desktop/HBase < /home/bigtop/Desktop/Oozie < /etc/hbase/conf/hbase-site.xml < hbase.cluster.distributed true hbase.zookeeper.quorum localhost hbase.rootdir hdfs://localhost:8020/hbase EOF chown -R bigtop:bigtop /home/bigtop/ systemctl disable firstboot-text.service systemctl disable firstboot-graphical.service /usr/bin/yes Y | su hdfs /bin/bash -c '/usr/bin/hadoop namenode -format' %end