source: proiecte/HadoopJUnit/hadoop-0.20.1/src/contrib/thriftfs/scripts/start_thrift_server.sh @ 120

Last change on this file since 120 was 120, checked in by (none), 14 years ago

Added the mail files for the Hadoop JUNit Project

  • Property svn:executable set to *
File size: 606 bytes
Line 
1#!/bin/sh
2
3CLASSPATH=
4TOP=../../../..
5
6# the hadoop libraries
7for f in $TOP/build/*.jar ; do
8  CLASSPATH=$CLASSPATH:$f
9done
10
11# the apache libraries
12for f in $TOP/lib/*.jar ; do
13  CLASSPATH=$CLASSPATH:$f
14done
15
16# the thrift libraries
17for f in $TOP/lib/thrift/*.jar ; do
18  CLASSPATH=$CLASSPATH:$f
19done
20
21# the thrift server
22for f in $TOP/build/contrib/thriftfs/*.jar ; do
23  CLASSPATH=$CLASSPATH:$f
24done
25# the thrift hadoop api
26for f in $TOP/src/contrib/thriftfs/lib/*.jar ; do
27  CLASSPATH=$CLASSPATH:$f
28done
29
30java -Dcom.sun.management.jmxremote -cp $CLASSPATH org.apache.hadoop.thriftfs.HadoopThriftServer $*
31
Note: See TracBrowser for help on using the repository browser.