Skip to content

Commit 32fdc72

Browse files
committed
CDK-476 fixed data-oozie log usage that broke when switching to XLog
1 parent dbf34f9 commit 32fdc72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kite-data/kite-data-oozie/src/main/java/org/kitesdk/data/oozie/KiteURIHandler.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ public boolean exists(final URI uri, final Context context) throws URIHandlerExc
110110
return ((Signalable)view).isReady();
111111
}
112112
} catch (IllegalArgumentException ex) {
113-
LOG.error("the URI {} was not a view or dataset", uri);
113+
LOG.error("the URI " + uri + " was not a view or dataset");
114114
} catch (DatasetNotFoundException ex) {
115-
LOG.error("the dataset for the URI {} did not actually exist", uri);
115+
LOG.error("the dataset for the URI "+ uri +" did not actually exist");
116116
} catch (DatasetException e) {
117117
throw new HadoopAccessorException(ErrorCode.E0902, e);
118118
}
@@ -140,7 +140,7 @@ public void validate(final String uri) throws URIHandlerException {
140140
URI uriParsed = URI.create(uri);
141141
String scheme = uriParsed.getScheme();
142142
if(!(URIBuilder.VIEW_SCHEME.equals(scheme) || URIBuilder.DATASET_SCHEME.equals(scheme))) {
143-
LOG.error("Unexpected scheme: view, uri was {}", uri);
143+
LOG.error("Unexpected scheme: view, uri was "+ uri);
144144
XException xException = new XException(ErrorCode.E0904, scheme, uri);
145145
throw new URIHandlerException(xException);
146146
}

0 commit comments

Comments
 (0)