File tree 4 files changed +29
-0
lines changed
java/nl/esciencecenter/xenon/grpc/schedulers
test/java/nl/esciencecenter/xenon/grpc/schedulers/maputils
4 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,23 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
6
6
7
7
## Unreleased
8
8
9
+ ## [ 3.0.0] - 2019-06-14
10
+
11
+ ### Added
12
+
13
+ * start_time and temp_space fields to JobDescription message ([ #43 ] ( https://github.com/xenon-middleware/xenon-grpc/issues/43 ) )
14
+ * [ at] ( https://linux.die.net/man/1/at ) scheduler
15
+
16
+ ### Changed
17
+
18
+ * Replaced tasks+cores+nodes fields in JobDescription message with nodes+processes+thread fields ([ #625 ] ( https://github.com/xenon-middleware/xenon/issues/625 ) ).
19
+ * Require Java 11 or greater, as xenon package has same compatibility
20
+ * Upgraded to Xenon 3.0.0
21
+
22
+ ### Removed
23
+
24
+ * hdfs filesystem
25
+
9
26
## [ 2018-03-14] 2.3.0
10
27
11
28
### Added
Original file line number Diff line number Diff line change @@ -97,6 +97,12 @@ public static JobDescription mapJobDescription(XenonProto.JobDescription d) {
97
97
if (d .getSchedulerArgumentsCount () > 0 ) {
98
98
description .setSchedulerArguments (d .getSchedulerArgumentsList ().toArray (new String [0 ]));
99
99
}
100
+ if (!d .getStartTime ().equals ("" )) {
101
+ description .setStartTime (d .getStartTime ());
102
+ }
103
+ if (d .getTempSpace () != 0 ) {
104
+ description .setTempSpace (d .getTempSpace ());
105
+ }
100
106
return description ;
101
107
}
102
108
Original file line number Diff line number Diff line change @@ -346,6 +346,8 @@ message JobDescription {
346
346
uint32 tasks_per_node = 19 ;
347
347
// In Xenon if true then uses setStartPerTask else uses setStartPerJob to configure how to start executable
348
348
bool start_per_task = 20 ;
349
+ string start_time = 21 ;
350
+ uint32 temp_space = 22 ;
349
351
}
350
352
351
353
message SubmitBatchJobRequest {
Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ public void custom() {
52
52
.setName ("myjobname" )
53
53
.setMaxMemory (4096 )
54
54
.addAllSchedulerArguments (schedulerArgs )
55
+ .setStartTime ("now" )
56
+ .setTempSpace (512 )
55
57
;
56
58
57
59
XenonProto .JobDescription request = builder .build ();
@@ -75,6 +77,8 @@ public void custom() {
75
77
expected .setName ("myjobname" );
76
78
expected .setMaxMemory (4096 );
77
79
expected .setSchedulerArguments ("schedarg1" , "schedarg2" );
80
+ expected .setStartTime ("now" );
81
+ expected .setTempSpace (512 );
78
82
assertEquals (expected , response );
79
83
assertEquals (schedulerArgs , response .getSchedulerArguments ());
80
84
}
You can’t perform that action at this time.
0 commit comments