#!/bin/sh
read FileName;
read package;
javac -classpath /home/hadoop/hbase-core.jar:/home/hadoop/hadoop-core.jar -d hbaseclass $FileName.java";
jar cvf `echo $FileName | tr '[A-Z]' '[a-z]'`.jar -C hbaseclass/ .";
hadoop jar `echo $FileName | tr '[A-Z]' '[a-z]'`.jar $package.$FileName";
tr '[A-Z]' '[a-z]' 將大寫轉成小寫



沒有留言:
張貼留言