Skip to content
This repository was archived by the owner on Jan 29, 2022. It is now read-only.

Commit 78e43be

Browse files
author
Justin Lee
committed
fix the sensor data sample
1 parent d2e2d3e commit 78e43be

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

Diff for: build.gradle

-1
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,6 @@ def hadoop(jar, className, args) {
441441
environment << hadoopEnv
442442
commandLine line
443443
}
444-
shutdownCluster.execute()
445444
}
446445

447446
apply from: 'gradle/maven-deployment.gradle'

Diff for: clusterConfigs/core-site.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@
1717
<!-- Put site-specific property overrides in this file. -->
1818

1919
<configuration>
20+
<!--
2021
<property>
2122
<name>fs.defaultFS</name>
2223
<value>hdfs://127.0.0.1:8020/</value>
2324
</property>
25+
-->
2426
<property>
2527
<name>fs.default.name</name>
26-
<value>hdfs://127.0.0.1:8020/</value>
28+
<value>hdfs://localhost:8020</value>
2729
</property>
2830
<property>
2931
<name>hadoop.tmp.dir</name>

Diff for: clusterConfigs/hdfs-site.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
<configuration>
2020
<property>
21-
<name>fs.default.name</name>
22-
<value>hdfs://127.0.0.1:8020/</value>
21+
<name>mapred.job.tracker</name>
22+
<value>localhost:8021</value>
2323
</property>
2424
<property>
2525
<name>hadoop.tmp.dir</name>

Diff for: clusterConfigs/mapred-site.xml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@
1616

1717
<!-- Put site-specific property overrides in this file. -->
1818

19-
<configuration><!--
19+
<configuration>
2020
<property>
2121
<name>mapred.job.tracker</name>
22-
<value>127.0.0.1:8021/</value>
22+
<value>localhost:8021</value>
2323
</property>
24+
<!--
2425
<property>
2526
<name>mapred.task.tracker.report.address</name>
2627
<value>127.0.0.1:0</value>

0 commit comments

Comments
 (0)