-
Notifications
You must be signed in to change notification settings - Fork 72
Commit c7ab0cd
authored
No extraneous errors when running the listener (#251)
In build.sbt, we don't set `-Dlog4j.configuration` so the launcher uses the default in src/main/resources. We explicitly override the java options for both `test` and `run`forks.
In IntpHandler.scala, we bind the Spark global variables to `intp`, so `intp` inherits logging and other spark configs from the main java process.
In log4j.properties, we set `log4j.appender.console.target` to print to stdout instead of stderr.
Can't get rid of the `WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable".` without introducing a Hadoop dependency: https://stackoverflow.com/questions/40015416/spark-unable-to-load-native-hadoop-library-for-your-platform. It's fine to use the Java classes, since we don't need HDFS for a local listener anyway.1 parent eb1707f commit c7ab0cd
File tree
4 files changed
+23
-20
lines changed- src
- main
- resources
- scala/edu/berkeley/cs/rise/opaque/rpc
- test/resources
4 files changed
+23
-20
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
94 | - | ||
95 | - | ||
96 | - | ||
94 | + | ||
95 | + | ||
96 | + | ||
97 | 97 |
| |
98 | 98 |
| |
99 | 99 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 | - | ||
4 | + | ||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
|
Lines changed: 18 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 | + | ||
21 | 22 |
| |
22 | 23 |
| |
23 | 24 |
| |
| |||
29 | 30 |
| |
30 | 31 |
| |
31 | 32 |
| |
32 | - | ||
33 | - | ||
33 | + | ||
34 | + | ||
35 | + | ||
34 | 36 |
| |
35 | - | ||
36 | - | ||
37 | + | ||
38 | + | ||
39 | + | ||
37 | 40 |
| |
38 | - | ||
39 | - | ||
41 | + | ||
42 | + | ||
40 | 43 |
| |
41 | 44 |
| |
42 | 45 |
| |
43 | 46 |
| |
44 | 47 |
| |
45 | 48 |
| |
49 | + | ||
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
55 | + | ||
56 | + | ||
46 | 57 |
| |
47 | 58 |
| |
48 | - | ||
49 | - | ||
50 | - | ||
51 | - | ||
52 | - | ||
53 | 59 |
| |
54 | 60 |
| |
55 | 61 |
| |
| |||
82 | 88 |
| |
83 | 89 |
| |
84 | 90 |
| |
85 | - | ||
86 | - | ||
87 | - | ||
88 | - | ||
91 | + | ||
89 | 92 |
| |
90 | 93 |
| |
91 | 94 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 | - | ||
4 | + | ||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
|
0 commit comments