Permalink
Browse files

update dependency

  • Loading branch information...
1 parent 72a6b2a commit 095691d3ae9b2905ca1046638eaf9a94aecc621c @leejianwei leejianwei committed Aug 22, 2012
@@ -1,15 +1,15 @@
Make sure Spring Hadoop Admin is running:
-open new terminal window, and change to "spring-hadoop-admin/service" directory.
-$ ../gradlew jettyRun
+open new terminal window, and change to "spring-hadoop-admin/scalable-service/master" directory.
+$ ../../gradlew jettyRun
Upload one job following Readme in "spring-hadoop-admin" root directory.
1. build:
-$ ../gradelw
+$ ../../gradelw
2. run
-$ java -jar build/libs/spring-hadoop-admin-cli-1.0.0.BUILD-SNAPSHOT.jar
+$ java -jar build/libs/plugin-admin-1.0.0.BUILD-SNAPSHOT.jar
3. set Spring Hadoop Admin service URl:
springHadoopAdmin>service target --url http://localhost:8081/spring-hadoop-admin
@@ -26,16 +26,17 @@ springHadoopAdmin>job launch --jobName {jobName}
to run Dfs shell:
1. run
-$ java -jar build/libs/spring-hadoop-admin-cli-1.0.0.BUILD-SNAPSHOT.jar
+$ java -jar build/libs/plugin-admin-1.0.0.BUILD-SNAPSHOT.jar
2. set HDFS URL
-springHadoopAdmin>hdfs target --url hdfs://localhost:9000
+springHadoopAdmin>cfg fs --namenode hdfs://localhost:9000
springHadoopAdmin>info
3. run commands:
-springHadoopAdmin>dfs --ls
+springHadoopAdmin>fs ls /
+
eclipse:
mvn eclipse:eclipse
File -> Import... -> Existing Project ...
-
+
@@ -12,6 +12,9 @@ dependencies {
compile "org.springframework.data.hadoop.impala:plugin-mapreduce:$impalaVersion"
compile "org.springframework.shell:spring-shell:$springShellVersion"
compile "org.springframework:spring-web:$springVersion"
+ compile "org.slf4j:slf4j-api:1.6.1"
+ compile "org.slf4j:slf4j-log4j12:1.6.1"
+ compile "org.slf4j:jcl-over-slf4j:1.6.1"
}
task copyDependency(type: Copy) {
@@ -0,0 +1,2 @@
+log4j.rootLogger=OFF
+
View
@@ -9,9 +9,9 @@ $ git checkout git@github.com:SpringSource/spring-hadoop-admin.git
# build & run service
-$ cd service
+$ cd scalable-service/master
-$ ../gradlew jettyRun
+$ ../../gradlew jettyRun
# Upload spring hadoop example
@@ -9,7 +9,7 @@ hsqldbVersion=1.8.0.7
commonsLangVersion = 2.4
springHadoopVersion = 1.0.0.BUILD-SNAPSHOT
springAmqpVersion = 1.1.1.RELEASE
-springIntegrationVersion = 2.1.2.RELEASE
+springIntegrationVersion = 2.0.3.RELEASE
slf4jVersion = 1.6.1
@@ -9,7 +9,7 @@ hsqldbVersion=1.8.0.7
commonsLangVersion = 2.4
springHadoopVersion = 1.0.0.BUILD-SNAPSHOT
springAmqpVersion = 1.1.1.RELEASE
-springIntegrationVersion = 2.1.2.RELEASE
+springIntegrationVersion = 2.0.3.RELEASE
slf4jVersion = 1.6.1

0 comments on commit 095691d

Please sign in to comment.