[esw@bigdatamgr1 ~]$ cat .bash_profile
...
for i in ~/conf/*.sh ; do
if [ -r "$i" ] ; then
. "$i"
fi
done
[esw@bigdatamgr1 ~]$ ll conf/
total 4
-rwxr-xr-x 1 esw biadmin 292 Mar 24 20:48 reset-biginsights-env.sh
使用biadmin停掉原来的jobtracker-tasktracker。
123
[biadmin@bigdatamgr1 IHC]$ ssh `hdfs getconf -confKey mapreduce.jobtracker.address | sed 's/:.*//' ` "sudo -u mapred /data/opt/ibm/biginsights/IHC/sbin/hadoop-daemon.sh stop jobtracker"
[biadmin@bigdatamgr1 biginsights]$ for h in `cat hadoop-conf/slaves ` ; do ssh $h "sudo -u mapred /data/opt/ibm/biginsights/IHC/sbin/hadoop-daemon.sh stop tasktracker" ; done
[biadmin@bigdatamgr1 biginsights]$ bin/start.sh -h
Usage: start.sh <component>...
Start one or more BigInsights components. Start all components if 'all' is
specified. If a component is already started, this command does nothing to it.
For example:
start.sh all
- Starts all components.
start.sh hadoop zookeeper
- Starts hadoop and zookeeper daemons.
OPTIONS:
-ex=<component>
Exclude a component, often used together with 'all'. I.e.
`stop.sh all -ex=console` stops all components but the mgmt console.
-h, --help
Get help information.
反复依赖的包,通过软链来管理
1234567891011
[biadmin@bigdatamgr1 lib]$ ll
total 50336
-rw-r--r-- 1 biadmin biadmin 303042 Jan 30 15:22 avro-1.7.4.jar
lrwxrwxrwx 1 biadmin biadmin 60 Jan 30 15:22 biginsights-gpfs-2.2.0.jar -> /data/opt/ibm/biginsights/IHC/lib/biginsights-gpfs-2.2.0.jar
-rw-r--r-- 1 biadmin biadmin 15322 Jan 30 15:22 findbugs-annotations-1.3.9-1.jar
lrwxrwxrwx 1 biadmin biadmin 48 Jan 30 15:22 guardium-proxy.jar -> /data/opt/ibm/biginsights/lib/guardium-proxy.jar
-rw-r--r-- 1 biadmin biadmin 1795932 Jan 30 15:22 guava-12.0.1.jar
-rw-r--r-- 1 biadmin biadmin 710492 Jan 30 15:22 guice-3.0.jar
-rw-r--r-- 1 biadmin biadmin 65012 Jan 30 15:22 guice-servlet-3.0.jar
lrwxrwxrwx 1 biadmin biadmin 45 Jan 30 15:22 hadoop-core.jar -> /data/opt/ibm/biginsights/IHC/hadoop-core.jar
lrwxrwxrwx 1 biadmin biadmin 76 Jan 30 15:22 hadoop-distcp-2.2.0.jar -> /data/opt/ibm/biginsights/IHC/share/hadoop/tools/lib/hadoop-distcp-2.2.0.jar