YARN-3396. Handle URISyntaxException in ResourceLocalizationService. (Contributed by Brahma Reddy Battula)
(cherry picked from commit 3810242062
)
This commit is contained in:
parent
84d8ba4f72
commit
6ea007ba91
|
@ -132,6 +132,8 @@ Release 2.8.0 - UNRELEASED
|
|||
YARN-3363. add localization and container launch time to ContainerMetrics
|
||||
at NM to show these timing information for each active container.
|
||||
(zxu via rkanter)
|
||||
YARN-3396. Handle URISyntaxException in ResourceLocalizationService.
|
||||
(Brahma Reddy Battula via junping_du)
|
||||
|
||||
YARN-2980. Move health check script related functionality to hadoop-common
|
||||
(Varun Saxena via aw)
|
||||
|
|
|
@ -995,7 +995,9 @@ public class ResourceLocalizationService extends CompositeService
|
|||
try {
|
||||
req = new LocalResourceRequest(rsrc);
|
||||
} catch (URISyntaxException e) {
|
||||
// TODO fail? Already translated several times...
|
||||
LOG.error(
|
||||
"Got exception in parsing URL of LocalResource:"
|
||||
+ rsrc.getResource(), e);
|
||||
}
|
||||
LocalizerResourceRequestEvent assoc = scheduled.get(req);
|
||||
if (assoc == null) {
|
||||
|
@ -1069,7 +1071,9 @@ public class ResourceLocalizationService extends CompositeService
|
|||
LOG.error("Inorrect path for PRIVATE localization."
|
||||
+ next.getResource().getFile(), e);
|
||||
} catch (URISyntaxException e) {
|
||||
//TODO fail? Already translated several times...
|
||||
LOG.error(
|
||||
"Got exception in parsing URL of LocalResource:"
|
||||
+ next.getResource(), e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue