Last change
on this file was
241,
checked in by jazz, 14 years ago
|
- modified hadoop4win-setup.bat
- change order of hadoop4win-init and ant-init
- modified my_packages/ant/bin/ant-init
- fix typo in echo message
- use unzip "-d" to change directory
- modified my_packages/hbase/bin/hbase-init
- setup hbase.tmp.dir and HBASE_PID_DIR
- modified my_packages/hadoop/bin/hadoop4win-init
- use mv and cp instead of symbolic link
- copy example config as pseudo config
- force to leave safe mode since Hadoop 0.20.2
need extra 30 seconds to check.
- add sleep 10 seconds since start-hadoop will
take 10 seconds.
|
-
Property svn:executable set to
*
|
File size:
282 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | if [ ! -f /usr/src/ant-*.zip ]; then |
---|
3 | echo "Ant zip file is not found at /usr/src/ant-*.zip!!" |
---|
4 | exit |
---|
5 | fi |
---|
6 | |
---|
7 | if [ ! -f /opt/apache-ant* ]; then |
---|
8 | unzip /usr/src/ant-*.zip -d /opt |
---|
9 | mv /opt/apache-ant-* /opt/ant |
---|
10 | echo "export PATH=/opt/ant/bin/:\$PATH" >> /etc/profile |
---|
11 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.